Hello,
I'm using Host bus 16 mux mode with ALE and connected 3 devices with Chipselect including FPGA,SRAM and a parallel flash. I have configured the EPI peripheral as below snippet. But to send and receive from each Chip select
I'm currently using epi_sdram_basic_MSP_EXP432E401Y_nortos_ccs as reference.
In the below snippet, the SDRAM initialization sequence bit is polled for wakeup. But when we have 3 devices, how to poll initialization sequence bit for all the devices?
/* Wait for the SDRAM wake-up to complete by polling the SDRAM
* initialization sequence bit. This bit is true when the SDRAM interface
* is going through the initialization and false when the SDRAM interface
* it is not in a wake-up period. */
while(EPI0->STAT & EPI_STAT_INITSEQ)
{
}
Also,Can you please share any example VHDL code that's available for EPI ?