Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I think I've got a problem with the new EEPROM 3.0 API. I used the old EEPROM API in other projects without problems:
For writing a Byte I used: EEPROM_ByteWrite(someByte , 0x00,0x02); for reading a Byte I used: someByte = CY_GET_REG8(CYDEV_EE_BASE + 0x02);
That worked well and everything was good.
Now I tried to use the new API:
For writing a Byte I'm using: EEPROM_WriteByte(someByte ,3); for reading a Byte I'm using: someByte = EEPROM_ReadByte(3);
Sometimes this works, sometimes not...
Do I use the new EERPOM API correct? Is that correct to not use the CYDEV_EE_BASE anymore? By the way, I'm using also I2C in my Project, I have no problem with that until I'm using the EEPROM. Or are there any timing issues between I2C and EEPROM access?