Quantcast
Viewing all articles
Browse latest Browse all 35901

BQ34Z100 I2C SDA line sometimes changes state to high between reading byte in incremental read.

I read in a loop the MFG name from addr 0x6e..0x78 for test with clock 10kHz. Sometimes the read data where wrong at different positions. If this appear all the left bytes to read are 0xFF. I recognized that the SDA line goes high between two bytes reading without a clock pulse or spike if this happen. The next byte after the unexpected SDA change to high is random an all the left where 0xFF. I search long time about stable signals, timings, diffenrent speeds, take care about the clock stretching. I have no more idee why this appear. That appears in single read mode also, but it is harder to detect. Reading the mfg Name in this example is only to get knowing data to compare. The device is NOT a -G1 Version. Reading a 06 on FW_Version! Sometimes the reading works for hundreds of valid data before failure.


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>