TI中文支持网
TI专业的中文技术问题搜集分享网站

BQ40Z50-R1: 数据读取不稳定,会偶尔出现异常值

Part Number:BQ40Z50-R1Other Parts Discussed in Thread:BQ40Z50, BQSTUDIO

使用STM32F103,基于软件I2C与BQ40Z50进行通信,在通信过程中,可以读到正常的数据,但是总会偶尔有异常的值出现,通信时序方面也改过好多种延时了,包括bqstudio的时序。现在的问题就是都可以读到正常值,但就是会偶尔出现异常值,大小基本接近相应寄存器的最大值,然后通过逻辑分析仪可以抓到几种异常跳变,应该是随机出现的,不知道为什么

然后下面示波器的波形,是读SOH的

发送都没问题,就是读取,,可以看到示波器里面蓝色部分是SDA,接受时由从机控制,明显畸变,电压也变低了一些。

Star Xu:

您好,正在询问更了解这款芯片的TI工程师,稍后回复。

,

Star Xu:

您好,What is the clock frequency being used? Also what is the pull-up strength for the bus? Can you also confirm if the abnormal value is being read both by the host and the logic analyzer? Sometimes the analyzer will have additional filters which will not be what BQStudio/host reads

,

smith dylan:

Thanks for your reply, at first, the clock frequnency is about 76kHz, the pull-up resistance is 4.7K, and I also confirm thoes abnormal values are all appearing both by the host and the analyzer at the same time, otherwise, I imitate the timing sequence which I catched by logic analyzer, implemented the base command and 0x44 command, in other words, the timing sequence I used should be ok, the bq40z50 is also ok since the data showed by the bqstudio is ok, so only the link maybe someting wrong?

,

Star Xu:

您好,已经在E2E英文论坛发帖,请继续关注。

e2e.ti.com/…/bq40z50-r1-bq40z50-r1-i2c-read-date-abnormal-randomly

,

smith dylan:

我在换了硬件I2C后,读取就正常了

,

Star Xu:

您好,很高兴您的问题已经解决,感谢分享经验。

赞(0)
未经允许不得转载:TI中文支持网 » BQ40Z50-R1: 数据读取不稳定,会偶尔出现异常值
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1