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.
Hi,
I am using TM4C1230E6PM microcontroller, I want to save unsigned long number (4 Byte) information in memory, when power goes its will save this variable data in memory and when its Power ON, can retain this 4 byte value.
What is the best way and where to its memorize this data on chip memory
As per data sheet 3 option, Kindly confirm which is most suitable for 4 Byte Data
■ 32 KB single-cycle SRAM
■ 128 KB Flash memory
■ 2KB EEPROM
also share C code for the READ and WRITE operation for this ON chip memory
Thanks in Advance
Hello Nitesh,
The EEPROM is probably your best option but it might depend on your silicon revision and use case.
Please review this FAQ and the device errata to assess if EEPROM will work in your system and with the device you will be using: https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1035508/faq-what-does-the-7-or-7r-the-end-of-tm4c123x-part-numbers-signify
Here is some code for read and write of EEPROM: https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1101451/tm4c123gh6pm-tm4c123gh6pm/4082196#4082196
Best Regards,
Ralph Jacobi