Hi,
I use LPC3131. I'm trying to perform DMA write of a 512 bytes buffer to a peripherial (MCI : memory card interface) that has a 32 bytes FIFO.
Obviously if I try to relaunch a new DMA transfer , from the DMA interrupt, at the end of the first 32 bytes transfer, it doesn't work (interrupt inside interrupt isn't good).
So I try to use the DMA configuration called WRITE_SLAVE_NR : flow control for each write is used, checking for the status of that specific slave-FIFO pin.
I don't understand by reading the LPC3131 datasheet if the DMA transfer is totally stopped when the slave FIFO is full or if DMA will continue when slave FIFO is empty again.
Maybe I should use the FIFO interrupt generated by the MCI block itself to perform flow control.
Does someone has an advise ?
Best regards