Content originally posted in LPCWare by equinox on Mon Jul 30 06:07:49 MST 2012
Hi -
I am running into difficulty using DMA with the SPIFI interface as the source or destination peripheral. The LMP43xx user manual seems to imply that this is possible, by setting the DMA channel configuration source or destination peripheral to 0, but in practice this doesn't seem to work. Also, the code in the DMA driver (lpc43xx_gpdma.c/.h) does not seem to support SPIFI, suggesting that maybe this isn't possible.
Is the user manual misleading, or am I misreading it? Of course, I can configure the SPIFI and use a memory-to-memory DMA transfer to read from the address range mapped to SPIFI, but it's not possible to write to SPIFI using this mechanism, which is a major problem.
Thanks for your help.