Part Number: TM4C1294KCPDT
My customer want to use TM4C1294KCPDT internal EEPROM to replace external Flash. They want to know if there is any issue to use it? anything that they need to pay attention to?
Thank you for suggestion.
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.
Part Number: TM4C1294KCPDT
My customer want to use TM4C1294KCPDT internal EEPROM to replace external Flash. They want to know if there is any issue to use it? anything that they need to pay attention to?
Thank you for suggestion.
Hi Lexy,
Depending on the silicon revision your customer has, there is different errata. Please see below. For details please refer to http://www.ti.com/lit/er/spmz850g/spmz850g.pdf. Other than the known errata, there is no additional issue.
Below is the snippet of EEprom example that you can also find in the TivaWare peripheral driver library user's guide.
uint32_t ui32EEPROMInit;
uint32_t pui32Data[2];
uint32_t pui32Read[2];
//
// Enable the EEPROM module.
//
SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0);
//
// Wait for the EEPROM module to be ready.
//
while(!SysCtlPeripheralReady(SYSCTL_PERIPH_EEPROM0))
{
}
//
// Wait for the EEPROM Initialization to complete
//
ui32EEPROMInit = EEPROMInit();
//
// Check if the EEPROM Initialization returned an error
// and inform the application
//
if(ui32EEPROMInit != EEPROM_INIT_OK)
{
while(1)
{
}
}
//
// Program some data into the EEPROM at address 0x400.
//
pui32Data[0] = 0x12345678;
pui32Data[1] = 0x56789abc;
EEPROMProgram(pui32Data, 0x400, sizeof(pui32Data));
//
// Read it back.
//
EEPROMRead(pui32Read, 0x400, sizeof(pui32Read));
128