1552 views|6 replies

3222

Posts

0

Resources
The OP
 

Comparison of IIC data and logic diagram between the reference prototype and your own product [Copy link]

I grabbed the IIC data and logic diagram of my own product and the IIC data and logic diagram of the reference prototype. I found that my product is writing and reading, writing and reading... while the reference prototype only writes a 0X00 address at the beginning, and then all read operations until the data transmission is completed, and there is a 0X7A+NAK package. I feel that the reference prototype is more concise. I wonder if each has its pros and cons?

参考样机IIC逻辑图.png (102.51 KB, downloads: 0)

参考样机IIC逻辑图.png

参考样机IIC数据.png (51.88 KB, downloads: 0)

参考样机IIC数据.png

自己产品IIC逻辑图.png (97.93 KB, downloads: 0)

自己产品IIC逻辑图.png

自己产品IIC数据.png (65.9 KB, downloads: 0)

自己产品IIC数据.png
This post is from stm32/stm8

Latest reply

This problem is obvious. Continuous reading is to improve bus efficiency. Just pay attention to the starting address and page size.   Details Published on 2020-12-18 13:41
 

1972

Posts

0

Resources
2
 

If it supports continuous reading of multiple bytes, then the reference prototype will naturally have no problem processing, and it will be efficient and less prone to errors.

This post is from stm32/stm8

Comments

Yes, I found that my product IIC data has more than 600 rows...  Details Published on 2020-12-17 13:50
 
 

2w

Posts

341

Resources
3
 

One is the unit s catch

One is to use the unit

ms抓,这样对比有甚意义

This post is from stm32/stm8

Comments

Mistake. Mistake. What I want to ask is whether reading and writing can set protocols and rules at will?  Details Published on 2020-12-17 13:49
 
 

1942

Posts

2

Resources
4
 

Multi-byte is of course better, it can save a lot of time.

This post is from stm32/stm8
 
 
 

3222

Posts

0

Resources
5
 
qwqwqw2088 发表于 2020-12-17 12:46 一个用是单位s抓 一个是用单位 ms抓,这样对比有甚意义

Mistake. Mistake. What I want to ask is whether reading and writing can set protocols and rules at will?

This post is from stm32/stm8
 
 
 

3222

Posts

0

Resources
6
 
bobde163 posted on 2020-12-17 11:50 If it supports continuous reading of multiple bytes, then the processing of the reference prototype will naturally have no problem at all, and it is highly efficient and less prone to errors

Yes, I found that my product IIC data has more than 600 rows...

This post is from stm32/stm8
 
 
 

31

Posts

0

Resources
7
 

This problem is obvious. Continuous reading is to improve bus efficiency. Just pay attention to the starting address and page size.

This post is from stm32/stm8
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list