
UM10375
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 3 — 14 June 2011
153 of 368
NXP Semiconductors
UM10375
Chapter 10: LPC13xx USB device controller
For example, follow these steps:
1. USBCtrl = 0x01
2. delay(0) -- generate 1 clock cycle delay
3. pkt_length = USBTxPLen or USBRxPlen
10.10.4 Miscellaneous registers
10.10.4.1 USB Device FIQ Select register (USBDevFIQSel - 0x4002 002C)
When a bit is set ‘1’, the corresponding interrupt will be routed to the high priority interrupt
line. Setting all bits to ‘1’ at the same time is not allowed. If the software attempts to set all
the bits to ‘1’, none of them will be routed to the high priority interrupt line.
10.11 Serial interface engine command description
The functions and registers of the Serial Interface Engine (SIE) are accessed using
commands, which consist of a command code followed by optional data bytes (read or
write action). The USBCmdCode (
) and USBCmdData (
) registers are
used for these accesses.
A complete access consists of two phases:
Table 174. USB Device FIQ Select register (USBDevFIQSel - address 0x4002 002C) bit
description
Bit
Symbol
Value
Description
Reset
value
0
FRAME
This interrupt comes from a 1 KHz free running clock
resynchronized on the incoming SoF tokens. This is to
be used for isochronous packet transfer.
0
0
FRAME interrupt will be routed to the low-priority
interrupt line IRQ.
1
FRAME interrupt will be routed to the high-priority
interrupt line FIQ.
1
BULKOUT
Interrupt routing for bulk out endpoints
Remark:
For logical endpoint 3 (physical endpoints 6
and 7) only.
0
0
BULKOUT interrupt will be routed to the low-priority
interrupt line IRQ.
1
BULKOUT interrupt will be routed to the high-priority
interrupt line FIQ.
2
BULKIN
Interrupt routing for bulk in endpoints
Remark:
For logical endpoint 3 (physical endpoints 6
and 7) only.
0
0
BULKIN interrupt will be routed to the low-priority
interrupt line IRQ.
1
BULKIN interrupt will be routed to the high-priority
interrupt line FIQ.
31:3
-
-
Reserved
-