lpcware

DMA through GPIO or SPI for 30Mhz bit- stream

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by giladkapel on Fri Apr 10 04:27:41 MST 2015
Hi,

I would like to continuously transfer (just send, no receive, no feedback) array of bytes to one of the pins.
I though of using SPI as I read that there are problems with GPDMA and since the MCU runs at 180Mhz, fastest SPI should be 45Mhz  (I just need 30Mhz)
Once the transfer is finished, I would like to execute a callback function and restart the transfer for a different array of bytes.

1. Can the LPC1830 do this?
2. Is there any simple example out there for DMA on SPI?

Thanks for your help

Gilad.

Outcomes