0
votes

I've SAME51N19 controller, I'm using sercom 1 for I2C communication from PIN A16=PAD0 SDA & A17=PAD1 SCL. SAME51N19 facing Issues while transferring the data on address 0b0101001=0x29. Also, checking on oscilloscope not getting good. Attaching the oscilloscope image. I'm using I2C on standard mode. As master generates the clock and slave use the same, I think we don't need to set clock as slave or in slave controller. DefaultSharedI2CClockFrequency = 400000; Please help me to solve the issue. Checked the connections SDA-SDA & SCL-SCL oscilloscope screen shot

1
Standard mode is 100kHz, not 400kHz. Also, your scope trace looks quite aliased. Are you able to turn the timebase down (sampling rate up) and measure the frequency? - Tom V
yes. I can do that. Can be this issue is causing due to pulses are not reaching enough voltage for pulse 1? I've set channels on 5V. You can see some of the pulses from channel 2 is just reaching upto 3V? - Saurabh Sakhare

1 Answers

0
votes

Solved the issue by correcting the Transfer functions in code. It was just coding error. Thank you.