Chapter 15: lpc24xx usb otg controller, Basic configuration, Introduction – NXP Semiconductors LPC24XX UM10237 User Manual

Page 394: Features, Architecture

Advertising
background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

394 of 792

1.

Basic configuration

The USB controller is configured using the following registers:

1. Power: In the PCONP register (

Table 4–63

), set bit PCUSB.

Remark: On reset, the USB block is disabled (PCUSB = 0).

2. Clock: see

Table 4–54

.

3. Pins: Select USB pins and their modes in PINSEL0 to PINSEL5 and PINMODE0 to

PINMODE5 (

Section 9–5

).

4. Wakeup: Use the INTWAKE register (

Table 4–62

) to enable activity on the USB bus

port to wakeup the microcontroller from Power-down mode (see

Section 15–9.2

).

5. Interrupts: See

Section 15–7.16

. Interrupts are enabled in the VIC using the

VICIntEnable register (

Section 7–3.4

).

6. Initialization: see

Section 15–10

.

2.

Introduction

This chapter describes the OTG and I

2

C portions of the USB 2.0 OTG dual role device

controller which integrates the (OHCI) host controller, device controller, and I

2

C. The I

2

C

interface (Master only) controls an external OTG transceiver.

USB OTG (On-The-Go) is a supplement to the USB 2.0 specification that augments the
capability of existing mobile devices and USB peripherals by adding host functionality for
connection to USB peripherals. The specification and more information on USB OTG can
be found on the USB Implementers Forum web site.

3.

Features

Fully compliant with On-The-Go supplement to the USB 2.0 Specification, Revision
1.0a
.

Hardware support for Host Negotiation Protocol (HNP).

Includes a programmable timer required for HNP and SRP.

Supports any OTG transceiver compliant with the OTG Transceiver Specification
(CEA-2011), Rev. 1.0
.

4.

Architecture

The architecture of the USB OTG controller is shown below in the block diagram.

The host, device, OTG, and I2C controllers can be programmed through the register
interface. The OTG controller enables dynamic switching between host and device roles
through the HNP protocol. One port may be connected to an external OTG transceiver to

UM10237

Chapter 15: LPC24XX USB OTG controller

Rev. 04 — 26 August 2009

User manual

Advertising