![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 669](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827669.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
669 of 1441
NXP Semiconductors
UM10503
Chapter 25: LPC43xx/LPC43Sxx USB0 Host/Device/OTG controller
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 0111 to 1111 are not valid.
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
20
-
-
Not used in device mode. This bit is always 0 in device mode.
0
-
21
-
-
Not used in device mode. This bit is always 0 in device mode.
0
-
22
-
Not used in device mode. This bit is always 0 in device mode.
0
-
23
PHCD
PHY low power suspend - clock disable (PLPSCD)
In device mode, The PHY can be put into Low Power Suspend – Clock
Disable when the device is not running (USBCMD Run/Stop = 0) or the
host has signaled suspend (PORTSC SUSPEND = 1). Low power suspend
will be cleared automatically when the host has signaled resume. Before
forcing a resume from the device, the device controller driver must clear
this bit.
0
R/W
0
Writing a 0 enables the PHY clock. Reading a 0 indicates the status of the
PHY clock (enabled).
1
Writing a 1 disables the PHY clock. Reading a 1 indicates the status of the
PHY clock (disabled).
24
PFSC
Port force full speed connect
0
R/W
0
Port connects at any speed.
1
Writing this bit to a 1 will force the port to only connect at full speed. It
disables the chirp sequence that allows the port to identify itself as
High-speed. This is useful for testing FS configurations with a HS host, hub
or device.
25
-
-
Reserved
27:26 PSPD
Port speed
This register field indicates the speed at which the port is operating.
0
RO
0x0
Full-speed
0x1
invalid in device mode
0x2
High-speed
31:28 -
-
Reserved
-
-
Table 489. Port Status and Control register in device mode (PORTSC1_D - address 0x4000 6184) bit description
Bit
Symbol
Value
Description
Reset
value
Access