Is it possible to configure DSPI-DMA mode such way that allows to automaticaly transfer several KB data array from a memory location outside over SPI bus ?
So, when SPI TX FIFO would be full, DMA will stall and wait till an empty entry in FIFO after word shifting out would be available to continue DMA operation.
Thanks.
[We are sorry for delayed answer, this question was originally placed in box which was not monitored by our team]
Hi,
Yes you can achieve such functionality with DMA.
When FIFO is not full SPI will request DMA transfer.
Example code can be found here:
https://community.freescale.com/message/535094#comment-535094
Peter