How to connect/use a EEPROM via I2C
Posted: Mon May 29, 2023 4:40 pm
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
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