Hello Amit,
I want to use 8 data line and 4 address lines with EPI.
I want 1 CS ,1 RD , 1 WR line. ALE not required. No MUX 8 fix data and 4 address
I have enabled EPI as follow ->>>
SysCtlPeripheralEnable(SYSCTL_PERIPH_EPI0); //Enable the peripheral
GPIOPinConfigure(GPIO_PK0_EPI0S0); // 8 DATA
GPIOPinConfigure(GPIO_PK1_EPI0S1);
. // 4 ADDRESS
.
.
.
.
GPIOPinConfigure(GPIO_PB3_EPI0S28); //RDn
GPIOPinConfigure(GPIO_PP2_EPI0S29); //WRn
GPIOPinConfigure(GPIO_PP3_EPI0S30); //CSn
GPIOPinTypeEPI(GPIO_PORTB_BASE, EPI_PORTB_PINS); // SIMILLARY I HAVE CONFIGURED ALL PINS (8 data line and 4 address 1cs 1rdn 1wrn)
EPIModeSet(EPI0_BASE, EPI_MODE_HB8);
EPIDividerSet(EPI0_BASE, 118); // 1MhZ . controller speed 120Mhz
EPIConfigHB16Set(EPI0_BASE, (EPI_HB8_MODE_ADDEMUX | EPI_HB8_WRWAIT_2 | EPI_HB8_RDWAIT_2 | EPI_HB8_CSCFG_CS ), 0); //epio30 as cs
Is there need to configure WRn RDn as differntly. If no need i want to read and write data with generating address. Which function should i use. Please tell me with any example.
Regards,
Sagar