Gemalto is now part of the Thales Group, find out more.

You are here

PLS 62-W EEPROM (AT24C08) with Interface I2cBusConnection | Thales IoT Developer Community

April 9, 2019 - 3:21am, 2226 views

I'm having a hard time using the I2c Bus Connection interface to write and read data to the EEPROM AT24C08. As shown in the java document, for you to perform a write operation, you must send the command below to perform data writing.

Byte write EEPROM
structure :

[Start|A0|addrress high|adress low|data in|Stop]

My messagem = <AA0000006>

"<" ->
Start Transfer Message
"A" -> 8 bit ID
"A0" -> EEPROM slave ID = 1010-0000 ->
data write **** according to datasheet
"00" -> Most significan bit = adress high
"00" -> least significant bit = address low
"06" -> Data in
">" -> Stop

I get the (+) transmission OK, but the data is not recorded
and I can not read a byte

EEPROM structure :

[Start |A0|address high|address low|restart|A1|Dataout|Stop]