
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
794 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
DMA registers . . . . . . . . . . . . . . . . . . . . . . . . 205
USB UDCA Head register (USBUDCAH - 0x5000
C280) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
USB DMA Interrupt Enable register
(USBDMAIntEn - 0x5000 C294) . . . . . . . . . 209
USB End of Transfer Interrupt Status register
(USBEoTIntSt - 0x5000 C2A0) . . . . . . . . . . 209
USB End of Transfer Interrupt Clear register
(USBEoTIntClr - 0x5000 C2A4). . . . . . . . . . 210
USB End of Transfer Interrupt Set register
(USBEoTIntSet - 0x5000 C2A8) . . . . . . . . . 210
USB New DD Request Interrupt Status register
(USBNDDRIntSt - 0x5000 C2AC) . . . . . . . . 210
USB New DD Request Interrupt Clear register
(USBNDDRIntClr - 0x5000 C2B0) . . . . . . . . 211
USB New DD Request Interrupt Set register
(USBNDDRIntSet - 0x5000 C2B4) . . . . . . . 211
USB System Error Interrupt Status register
(USBSysErrIntSt - 0x5000 C2B8) . . . . . . . . . 211
USB System Error Interrupt Clear register
(USBSysErrIntClr - 0x5000 C2BC) . . . . . . . . 211
USB System Error Interrupt Set register
(USBSysErrIntSet - 0x5000 C2C0) . . . . . . . 212
Interrupt handling . . . . . . . . . . . . . . . . . . . . . 212
Serial interface engine command description . .
215
Set Address (Command: 0xD0, Data: write 1 byte)
216
Set Mode (Command: 0xF3, Data: write 1 byte) .
217
Select Endpoint/Clear Interrupt (Command:
0x40 - 0x5F, Data: read 1 byte) . . . . . . . . . . 222
Validate Buffer (Command: 0xFA, Data: none) . .
223
USB device controller initialization . . . . . . . 224
Slave mode operation. . . . . . . . . . . . . . . . . . 225
Interrupt generation . . . . . . . . . . . . . . . . . . . 225
Data transfer for OUT endpoints . . . . . . . . . 225
Data transfer for IN endpoints . . . . . . . . . . . 226
DMA operation. . . . . . . . . . . . . . . . . . . . . . . . 226
Transfer terminology . . . . . . . . . . . . . . . . . . 226
USB device communication area. . . . . . . . . 227
Triggering the DMA engine . . . . . . . . . . . . . 227
The DMA descriptor . . . . . . . . . . . . . . . . . . . 228
Next_DD_pointer . . . . . . . . . . . . . . . . . . . . . 229
DMA_mode . . . . . . . . . . . . . . . . . . . . . . . . . 229
Next_DD_valid . . . . . . . . . . . . . . . . . . . . . . . 229
Isochronous_endpoint . . . . . . . . . . . . . . . . . 229
Max_packet_size . . . . . . . . . . . . . . . . . . . . . 229
DMA_buffer_length . . . . . . . . . . . . . . . . . . . 230
DMA_buffer_start_addr . . . . . . . . . . . . . . . . 230
DD_retired . . . . . . . . . . . . . . . . . . . . . . . . . . 230
DD_status . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Packet_valid. . . . . . . . . . . . . . . . . . . . . . . . . 230
LS_byte_extracted . . . . . . . . . . . . . . . . . . . . 231
MS_byte_extracted . . . . . . . . . . . . . . . . . . . 231
Present_DMA_count . . . . . . . . . . . . . . . . . . 231
Message_length_position . . . . . . . . . . . . . . 231
Isochronous_packetsize_memory_address. 231
Non-isochronous endpoint operation . . . . . . 231