This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: I2c Read problem

Part Number: TMS320F28379D

Hello,

I am having trouble in reading via I2c. I want to read 4 bytes from address 0x19.

The sequence is follows:

1)write to bytes of data to address 0x19

2)read 4 bytes of data from address 0x19

So after i read last byte the data remain low and i am not able to send to stop condition. Is there any way to send to stop command? please see image:

the code for reading is very simple. I dont know what is wrong with my code: can you tell me if I am missing something: