UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
221 of 523
11.1 How to read this chapter
The USB block is available on all LPC11U3x/2x/1x parts.
11.2 Basic configuration
•
Pins: Configure the USB pins in the IOCON register block.
•
In the SYSAHBCLKCTRL register, enable the clock to the USB controller register
interface by setting bit 14 and to the USB RAM by setting bit 27 (see
).
•
Power: Enable the power to the USB PHY and to the USB PLL, if used, in the
PDRUNCFG register (
•
Configure the USB main clock (see
•
Configure the USB wake-up signal (see
) if needed.
11.3 Features
•
USB2.0 full-speed device controller.
•
Supports 10 physical (5 logical) endpoints including one control endpoint.
•
Single and double-buffering supported.
•
Each non-control endpoint supports bulk, interrupt, or isochronous endpoint types.
•
Supports wake-up from Deep-sleep mode on USB activity and remote wake-up.
•
Supports SoftConnect.
•
Link Power Management (LPM) supported.
11.4 General description
The Universal Serial Bus (USB) is a four-wire bus that supports communication between a
host and one or more (up to 127) peripherals. The host controller allocates the USB
bandwidth to attached devices through a token-based protocol. The bus supports hot
plugging and dynamic configuration of the devices. All transactions are initiated by the
host controller.
The host schedules transactions in 1 ms frames. Each frame contains a Start-Of-Frame
(SOF) marker and transactions that transfer data to or from device endpoints. Each device
can have a maximum of 16 logical or 32 physical endpoints. The LPC11U3x/2x/1x device
controller supports up to 10 physical endpoints. There are four types of transfers defined
for the endpoints. Control transfers are used to configure the device.
Interrupt transfers are used for periodic data transfer. Bulk transfers are used when the
latency of transfer is not critical. Isochronous transfers have guaranteed delivery time but
no error correction.
UM10462
Chapter 11: LPC11U3x/2x/1x USB2.0 device controller
Rev. 5.5 — 21 December 2016
User manual