Hi!
I'm working with SPI - master mode and DMA.
I configured the following:
- DMAW in CH0CONF
- DMAR in CH0CONF
- Configured the relevant DMA channels and XBAR
What I see (using scope) that there are a delay's between WORDs transmitted.
Is there a way to use DMA and FIFO? I see in register "XFERLEVEL" that the DMA can get event in case the FIFO is almost empty:
AEL bit 0-7 : Buffer Almost Empty This register holds the programmable almost empty level value used to determine almost empty buffer condition If the user wants an interrupt or a DMA write request to be issued during a transmit operation when the data buffer is able to receive n bytes, then the buffer MCSPI_MODULCTRL[AEL] must be set with n-1"
I also see that "DMAW " description "DMA Write request The DMA Write request line is asserted when The channel is enabled and the transmitter register of the channel is empty The DMA Write request line is deasserted on load completion of the transmitter register of the channel"
Is there any way to eliminate the delay between words ?
Thanks
Carmel