
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008
791 of 792
NXP Semiconductors
UM10237
Chapter 36: LPC24XX Supplementary information
Programming the GPDMA. . . . . . . . . . . . . . . 718
Enabling the GPDMA . . . . . . . . . . . . . . . . . . 718
Disabling the GPDMA. . . . . . . . . . . . . . . . . . 718
Enabling a DMA channel . . . . . . . . . . . . . . . 719
Disabling a DMA channel . . . . . . . . . . . . . . . 719
Setup a new DMA transfer . . . . . . . . . . . . . . 719
Halting a DMA transfer . . . . . . . . . . . . . . . . . 719
Programming a DMA channel. . . . . . . . . . . . 720
Register description . . . . . . . . . . . . . . . . . . . 720
General GPDMA registers . . . . . . . . . . . . . . 721
Interrupt Terminal Count Status Register
(DMACIntTCStatus - 0xFFE0 4004) . . . . . . . 722
Interrupt Terminal Count Clear Register
(DMACIntClear - 0xFFE0 4008) . . . . . . . . . . 722
Interrupt Error Status Register
(DMACIntErrorStatus - 0xFFE0 400C) . . . . . 722
Raw Interrupt Terminal Count Status Register
(DMACRawIntTCStatus - 0xFFE0 4014) . . . 723
Raw Error Interrupt Status Register
(DMACRawIntErrorStatus - 0xFFE0 4018). . 723
Software Burst Request Register
(DMACSoftBReq - 0xFFE0 4020). . . . . . . . . 724
Software Single Request Register
(DMACSoftSReq - 0xFFE0 4024). . . . . . . . . 725
Software Last Burst Request Register
(DMACSoftLBreq - 0xFFE0 4028) . . . . . . . . 725
Software Last Single Request Register
(DMACSoftLSReq - 0xFFE0 402C) . . . . . . . 725
Synchronization Register (DMACSync -
0xFFE0 4034) . . . . . . . . . . . . . . . . . . . . . . . 726
Channel registers. . . . . . . . . . . . . . . . . . . . . 727
Protection and Access Information . . . . . . . 730
Lock control . . . . . . . . . . . . . . . . . . . . . . . . . 732
Flow control and transfer type . . . . . . . . . . . 733
Address generation . . . . . . . . . . . . . . . . . . . 733
Scatter/Gather . . . . . . . . . . . . . . . . . . . . . . . . 733
Linked List Items . . . . . . . . . . . . . . . . . . . . . 733
Programming the GPDMA for scatter/gather DMA
734
Example of scatter/gather DMA . . . . . . . . . . 734
Interrupt requests . . . . . . . . . . . . . . . . . . . . . 735
Hardware interrupt sequence flow . . . . . . . . 736
Interrupt polling sequence flow . . . . . . . . . . 736
GPDMA data flow . . . . . . . . . . . . . . . . . . . . . 736
Peripheral-to-peripheral DMA flow. . . . . . . . 737
Memory-to-memory DMA flow . . . . . . . . . . . 738
Flow control. . . . . . . . . . . . . . . . . . . . . . . . . . 739
Chapter 33: LPC24XX EmbeddedICE
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 740
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 741
JTAG function select. . . . . . . . . . . . . . . . . . . 742
Register description . . . . . . . . . . . . . . . . . . . 742
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 742
Chapter 34: LPC24XX Embedded Trace Module (ETM)
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 744
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 744
ETM configuration . . . . . . . . . . . . . . . . . . . . 744
Pin description . . . . . . . . . . . . . . . . . . . . . . . 745
Register description . . . . . . . . . . . . . . . . . . . 745
Reset state of multiplexed pins . . . . . . . . . . 746
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 747
Chapter 35: LPC24XX RealMonitor
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 748
Description . . . . . . . . . . . . . . . . . . . . . . . . . . 748