Hi All,
I am working on an EVM430-F6779 using the MSP430...
I am trying to write and read back from the EEPROM using I2C.
The functions are pre-written, so I know are correct but I am unsure of how to use them/ what to look for.
Anyone with any advice on to why this isn't working?
Cheers
JSwale
I am working on an EVM430-F6779 using the MSP430...
I am trying to write and read back from the EEPROM using I2C.
The functions are pre-written, so I know are correct but I am unsure of how to use them/ what to look for.
C:
int iicEEPROM_write(uint16_t addr, void *dat, int len)
int iicEEPROM_read(uint16_t addr, void *dat, int len)
//my attempts
uint16_t dat = 0xFF;
iicEEPROM_write(0xA0, &dat, sizeof(dat));
iicEEPROM_read(0xA0, &dat, sizeof(dat));
Cheers
JSwale