Hello,
I want to send data from an external SD-RAM, which is connected to the EPI interface, into the SPI FIFO buffer.
Now you can access the SDRAM directly by its address range if it is addressed correctly via the EPI API and the linker file.
But if you do a non-blocking read on the SDRAM, it will be done via DMA according to the datasheet.
If I want to transfer data from SDRAM via DMA into the SPI buffer and enter the address range of the SDRAM as source in the function "MAP_uDMAChannelTransferSet", would it work? Because here the DMA unit is used twice at the same time.
MAP_uDMAChannelTransferSet(UDMA_CHANNEL_SSI1TX | UDMA_PRI_SELECT,
UDMA_MODE_BASIC, (void *)(pointerToExtSDRAM),
(void *)(SSI1_BASE + SSI_O_DR),
ui16transferByteCount);
The important point is, that this operation should be non-blocking so the core is not stalled, otherwise it is useless.
with regards
Ali Naseri