Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/10/00 07:48
Read: times


 
#2166 - RE: I2C EEProm Discussion
> Do you include a validation token
> such as a CRC or Cksum when writing
> records to an I2C EEProm device?

Steve is right, if hardware works good, there is no need for such validation. Collision detection would be enough (ie, you should verify every SCL and SDA state after trying to deassert them).

Since I usually don't do that (software verification makes data transfer incredibly slow), I had sometimes problems without software validation. For example, if SDA is shorted to the ground, you always get an ACK. All bits read from I2C will appear as zeroes. Then, if you use simple checksum, it will be always true :( Only CRC16 helped to solve this.

--
Tomas

List of 4 messages in thread
TopicAuthorDate
I2C EEProm Discussion            01/01/70 00:00      
RE: I2C EEProm Discussion            01/01/70 00:00      
RE: I2C EEProm Discussion            01/01/70 00:00      
RE: I2C EEProm Discussion            01/01/70 00:00      

Back to Subject List