This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVM430-F6779: How to use the external eeprom memory of the EVM430 F6779

Part Number: EVM430-F6779

hello
I am programming on the EVM430 F6779 and I would like to use the external eeprom memory that it has built-in.
The steps I took were these:

1. activate the use of external eeprom memory

2.change the pins for use, since in hardware they indicate elsewhere, I don't know if it will be okay, but it still doesn't work with the indication of the initial configuration of the pins

3. I have seen that the example slaa577 has in its code a library named iiceeprom.c where it shows the development of functions:
1._ extern int iicEEPROM_read(uint16_t addr, void *dat, int len);
2._ extern int iicEEPROM_write(uint16_t addr, void *dat, int len);
3._ extern int iicEEPROM_init(void);
Where these functions are in the emeter-toolkit.h header in which I can call the main code called emeter-main.c; but the problem is that I don't know how to use them, since, when reading the data written in the uart, it tells me 0; That is why I ask for help to show me an easy example of how to use these functions or another way to save a variable, when the energy is removed it does not lose its value and when it is energized it continues operating with the value stored in memory external eeprom.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is how I use it when calling it in the main header of emeter-main.c.

Here I transfer the values by uart

This is what it shows me when receiving the data via uart

where it is observed that the data is not written to the memory, since the read data comes out null.

Please, I need your help to move forward, any information is important to the topic; Take care and thank you very much for reading.

**Attention** This is a public forum