LPC1227 DMA with peripheral

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1227 DMA with peripheral

1,224 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Vakaras on Sat Jun 11 08:31:03 MST 2011
Hello,

    LPC1227 (122x) supports micro DMA. And according to datasheet, DMA can be used with peripheral including GPIO. But there are no any other information, how to use it, what handshaking pins should be connected, etc.
  My task - to send and receive 8-bit data via PORT0[0..7]. Are there any diagrams how to synchronyze the transface? Any code examples?
  In my case, CPU will always be master.

Thanks in advance for any info.
0 Kudos
Reply
1 Reply

1,207 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kendwyer on Sat Jun 11 16:07:06 MST 2011
Check the Install directory for DMA examples, something like:
C:\nxp\lpcxpresso_3.6.xxxx\Examples\NXP\LPC1000\LPC12xx
The DMA destination address needs to point to the GPIO port you want to transfer to..
0 Kudos
Reply