![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 647](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827647.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
647 of 1441
NXP Semiconductors
UM10503
Chapter 25: LPC43xx/LPC43Sxx USB0 Host/Device/OTG controller
The following registers and register bits are used for OTG operations. The values of these
register bits are independent of the controller mode and are not affected by a write to the
RESET bit in the USBCMD register.
•
All identification registers
•
All device/host capabilities registers
•
All bits of the OTGSC register (
)
•
The following bits of the PORTSC register (
–
PTS (parallel interface select)
–
STS (serial transceiver select)
–
PTW (parallel transceiver width)
–
PHCD (PHY low power suspend)
–
WKOC, WKDC, WKCN (wake signals)
–
PIC[1:0] (port indicators)
–
PP (port power)
25.6.2 Device/host capability registers
The SBUSCFG register controls the burst length used by the USB0 controller.
Remark:
The recommended value for AHBBRST is 0x7. Changing the AHBBRST field
while an AMBA AHB transaction is in progress will yield undefined results! One possible
way of ensuring that no undefined results occur is to set the Run/Stop (RS) bit to zero in
the USBCMD register, after the HCHALTED is detected in USBSTS.
Fig 67. USB controller modes
IDLE
MODE = 00
DEVICE
MODE = 10
HOST
MODE = 11
Hardware reset or
USBCMD RST bit = 1
write 10 to USBMODE
write 11 to USBMODE