Problem to write I2C SAMC

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys, I am having problems to write and consequently read anything to/from I2C master at SERCOM3 (I know this SERCOM is compatible with I2C).

 

I have followed all the instructions on AT03250: SAM D/R/L/C I2C Master Mode (SERCOM I2C) Driver, but my microcontroller (ATSAMC21E18A) does not send any byte (I have also checked with an oscilloscope).

 

Have anybody worked with this micro? Does anyone have a sample code working? Do I have to multiplex any pin?

If needed I can also put my code here.

 

Thank you all, Felipe.

Regards!
FS.

Last Edited: Mon. Aug 21, 2017 - 10:08 PM