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.

EPI Initialization for 64 KB SRAM - EK_TM4C129EXL

HI.

I have a 64KB SRAM interface to the EPI port that I want to initialize.

However, the data do not read the write and occur terminating execution

I wrote the code (see figure below)

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

#define SRAM_START 0xA0000000
#define SRAM_SIZE 0xFFFF

void Init_SRAM(void)
{
SysCtlPeripheralEnable(SYSCTL_PERIPH_EPI0);
EPIModeSet(EPI0_BASE,EPI_MODE_HB16);
EPIConfigHB16Set(EPI0_BASE, EPI_HB16_MODE_ADDEMUX | EPI_HB16_WRWAIT_0 | EPI_HB16_RDWAIT_0 | EPI_HB16_WORD_ACCESS | EPI_HB16_CSCFG_CS, 0);
EPIDividerSet(EPI0_BASE,0X1);
EPIAddressMapSet(EPI0_BASE, (EPI_ADDR_RAM_SIZE_256MB | EPI_ADDR_RAM_BASE_6));
}
---------------------------------------------------------------------------------------------------------------------------------------
thank you.
Park.