EasyManua.ls Logo

NXP Semiconductors LPC1768 - Chapter 13: Lpc176 X;5 X USB OTG; How to Read this Chapter; Basic Configuration; Introduction

NXP Semiconductors LPC1768
841 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013 274 of 841
13.1 How to read this chapter
The USB OTG controller is available in the LPC1768, LPC1766, LPC1765, LPC1758,
LPC1756, and LPC1754. On these devices, the USB controller can be configured for
device, Host, or OTG operation.
13.2 Basic configuration
The USB controller is configured using the following registers:
1. Power: In the PCONP register (Table 46
), set bit PCUSB.
Remark: On reset, the USB block is disabled (PCUSB = 0).
2. Clock: The USB clock can generated using the dedicated USB PLL (PLL1) or with the
Main PLL (PLL0). See Section 4.6.1
.
3. Pins: Select USB pins and their modes in PINSEL0 to PINSEL5 and PINMODE0 to
PINMODE5 (Section 8.5
).
4. Wake-up: Activity on the USB bus port can wake up the microcontroller from
Power-down mode (see Section 13.10.2
and Section 4.8.8).
5. Interrupts: Interrupts are enabled in the NVIC using the appropriate Interrupt Set
Enable register.
6. Initialization: see Section 13.11
.
13.3 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 that is part of the USB block is intended to control an external OTG transceiver,
and is not the same as the I
2
C peripherals described in Section 19.1.
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.
13.4 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.
UM10360
Chapter 13: LPC176x/5x USB OTG
Rev. 3 — 19 December 2013 User manual

Table of Contents

Other manuals for NXP Semiconductors LPC1768

Related product manuals