How to read AT24C32 EEPROM if it uses 8 bit address but in Wire.h 7 bit ?
Wire EEPROM address bit 8 to earth for 0xxxxxxx or to 5v for 1xxxxxxxx.
G
The EEPROM has a 7-bit address on the I2C bus, used to address (or select) the actual chip you want to talk to.
The actual memory inside the EEPROM is addressed using 8 bits. The address is usually passed as one/several of the data bytes when you talk to the chip.
See pages 11 & 12 of the Microchip doc you linked to in your post.
I guess that the address can be hard wired by A0..2 pins from 0x50 to 0x57.
The I2C DEVICE ADDRESS is seven bits. The Data is EIGHT. Within the device address additional locations can be specified as DATA
thank you all
could please explain how to use requestFrom() ?
an example (how to read data block) if possible
You should write some data before reading. At which address do you want to deposit what data?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.