cancel
Showing results for 
Search instead for 
Did you mean: 

Need I2C Code base with 1 Fast Mode

Hi Team,

We are using the I2C Bus to read the Eeprom Data. We configured with 100Khz speed with DMA to transfer the data.

After initialization of I2C and DMA it is working fine and able to Read and write the data with different speeds.

If we read the data at run time, we are getting different data, without any Error in communication. We are unable to Figure out the root cause. We are suspecting the DMA communication only. Same DMA channel no one is using in the code.

Can anyone guide us what is the root cause for this one.

Regards,

Srinivas

2 REPLIES 2
TDK
Guru

Not much info here. Use a logic analyzer to see what's happening on the line and isolate blame to one side or the other.

> We are suspecting the DMA communication only.

Why? Just a blind guess? Don't guess, verify. Be systematic.

If you feel a post has answered your question, please click "Accept as Solution".
Foued_KH
ST Employee

Hello @User16669512935851271792​,

Could you please share more info : like which Board/MCU, Code.. .

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.