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:
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?