AnsweredAssumed Answered

AN4652 I2C Problem

Question asked by jmag99 on Mar 6, 2013
Latest reply on Oct 18, 2013 by Sebastian Holmgren

I am having a problem where this I2C driver will re-start and send 0xFF after a successful write.  The read functions work fine.  I believe the problem is on this line in the ISR for the master:

 

// ack

if((io_info_ptr->index == io_info_ptr->data_len) && (io_info_ptr->index_repeat_start == REPEAT_INDEX_TX))

 

The TX function always sets index_repeat_start to REPEAT_INDEX_TX.  So once the data is sent out, it re-starts instead of stopping.

 

Has anyone else run into this?

 

 

How do we know if we have the latest version of the driver?

Outcomes