Page 1 of 1

I2C EEPROM?

Posted: Sun Jan 31, 2021 6:16 am
by mdrobnak
I'm trying to get the ST M24M02 I2C 2Mbit EEPROM working. I'm 99% certain I have it soldered OK. It looks like it puts out some data when clocked and SDA is not actually connected. I definitely see data flowing on SDA from the board side. The code is giving me an Acknoledge error, I'm guessing it's expecting some sort of ACK within a timeout.

Anyone have a good primer on I2C, or using EEPROMs like this?

-Matt

Re: I2C EEPROM?

Posted: Sun Jan 31, 2021 11:08 am
by johu
Just found some I2C sensor example, maybe it helps ?
https://github.com/libopencm3/libopencm ... s75_sensor