Skip to main content
User16669512935851271792
Associate III
December 8, 2022
Question

Need I2C Code base with 1 Fast Mode

  • December 8, 2022
  • 2 replies
  • 1031 views

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

This topic has been closed for replies.

2 replies

TDK
December 9, 2022

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
December 22, 2022

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.