I am having a few problems reading and writing to the internal EEPROM of my Tiva C Launchpad (EK-TM4C123GXL)
I have tried both driverlib and CMSIS but with no success.
From the debugger it seems the eeprom offset register increments by 2 with every clock cycle.
I did a search and could only find a small mention of it in this post http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/206262.aspx
As soon as I enable the EEPROM clock the offset start incrementing.
I want the EEPROM read and writes to be blocking these are the steps I take:
- Set the Main clock to 80Mhz ( this is confirmed working with the UART )
- Enable EEPROM Clock
- Delay 2us
- Wait for EEPROM Peripheral Ready
- Wait for EEDONE to become clear
- Delay 500us
- Set EEPROM Block
- Set EEPROM offest
- Read or Write to the read-write register
There must be something that I am missing