UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
534 of 1269
NXP Semiconductors
UM10503
Chapter 23: LPC43xx USB0 Host/Device/OTG controller
12
PP
-
Port power control
Host/OTG controller requires port power control switches. This bit
represents the current setting of the switch (0=off, 1=on). When power is
not available on a port (i.e. PP equals a 0), the port is non-functional and
will not report attaches, detaches, etc.
When an over-current condition is detected on a powered port and PPC is
a one, the PP bit in each affected port may be transitioned by the host
controller driver from a one to a zero (removing power from the port).
0
R/W
0
Port power off.
1
Port power on.
13
-
-
Reserved
0
-
15:14 PIC1_0
Port indicator control
Writing to this field effects the value of the pins USB0_IND1 and
USB0_IND0.
00
R/W
0x0
Port indicators are off.
0x1
Amber
0x2
Green
0x3
Undefined
19:16 PTC3_0
Port test control
Any value other than 0000 indicates that the port is operating in test mode.
The FORCE_ENABLE_FS and FORCE ENABLE_LS are extensions to the
test mode support specified in the EHCI specification. Writing the PTC field
to any of the FORCE_ENABLE_{HS/FS/LS} values will force the port into
the connected and enabled state at the selected speed. Writing the PTC
field back to TEST_MODE_DISABLE will allow the port state machines to
progress normally from that point. Values 0x8 to 0xF are reserved.
0000
R/W
0x0
TEST_MODE_DISABLE
0x1
J_STATE
0x2
K_STATE
0x3
SE0 (host)/NAK (device)
0x4
Packet
0x5
FORCE_ENABLE_HS
0x6
FORCE_ENABLE_FS
0x7
FORCE_ENABLE_LS
20
WKCN
Wake on connect enable (WKCNNT_E)
This bit is 0 if PP (Port Power bit) is 0
0
R/W
0
Disables the port to wake up on device connects.
1
Writing this bit to a one enables the port to be sensitive to device connects
as wake-up events.
21
WKDC
Wake on disconnect enable (WKDSCNNT_E)
This bit is 0 if PP (Port Power bit) is 0.
0
R/W
0
Disables the port to wake up on device disconnects.
1
Writing this bit to a one enables the port to be sensitive to device
disconnects as wake-up events.
Table 420. Port Status and Control register in host mode (PORTSC1_H - address 0x4000 6184) bit description
Bit
Symbol
Value
Description
Reset
value
Access