Page 1 of 1

How to connect/use a EEPROM via I2C

Posted: Mon May 29, 2023 4:40 pm
by nounours18200
Hello,

I would like to use an external EEPROM with a STM32 Bluepill, and in order to save the pins to be used, I imagine (maybe i am wrong) to use an EEPROM with a I2C interface, such like this one:
https://www.mouser.fr/ProductDetail/Mic ... B0pA%3D%3D
having this datasheet: https://www.mouser.fr/datasheet/2/268/2 ... 576990.pdf

Although I have used the I2C bus very often, I don't understand how to connect it to a I2C bus, because the datasheet says that the A0,A1 and A2 ins are not internally connected (???): so what will be its I2C address ?

of course its address is mandatory to write (or read) anything to (or from) it...

Edit:
Maybe I had jumped to a very particular model, because it seems that other models can have their I2C adress defined through A0,A1 and A2, like this one: https://www.mouser.fr/datasheet/2/268/2 ... 006793.pdf

Thank you

Re: How to connect/use a EEPROM via I2C

Posted: Tue May 30, 2023 3:07 pm
by nounours18200
This is simple by looking at other models such as the 24AA024H: it is very easy to understand how it works.

I suspect that the first model I mentioned in my question should be a very particular one...

So problem is solved.