![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 662](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827662.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
662 of 1441
NXP Semiconductors
UM10503
Chapter 25: LPC43xx/LPC43Sxx USB0 Host/Device/OTG controller
25.6.7.2 Host mode
This 32-bit register contains the beginning address of the Periodic Frame List in the
system memory. The host controller driver (HCD) loads this register prior to starting the
schedule execution by the Host Controller. The memory structure referenced by this
physical memory pointer is assumed to be 4 kB aligned. The contents of this register are
combined with the Frame Index Register (FRINDEX) to enable the Host Controller to step
through the Periodic Frame List in sequence.
25.6.8 Endpoint List Address register (ENDPOINTLISTADDR - device) and
Asynchronous List Address (ASYNCLISTADDR - host) registers
25.6.8.1 Device mode
In device mode, this register contains the address of the top of the endpoint list in system
memory. Bits[10:0] of this register cannot be modified by the system software and will
always return a zero when read. The memory structure referenced by this physical
memory pointer is assumed 64 byte aligned. The entire device endpoint list must be
aligned on a 2 kB boundary.
Table 479. USB Device Address register in device mode (DEVICEADDR - address 0x4000 6154) bit description
Bit
Symbol
Value Description
Reset
value
Access
23:0
-
Reserved
0
-
24
USBADRA
Device address advance
0
Any write to USBADR are instantaneous.
1
When the user writes a one to this bit at the same time or before USBADR
is written, the write to USBADR fields is staged and held in a hidden
register. After an IN occurs on endpoint 0 and is acknowledged, USBADR
will be loaded from the holding register.
Hardware will automatically clear this bit on the following conditions:
•
IN is ACKed to endpoint 0. USBADR is updated from the staging
register.
•
OUT/SETUP occurs on endpoint 0. USBADR is
not
updated.
•
Device reset occurs. USBADR is set to 0.
Remark:
After the status phase of the SET_ADDRESS descriptor, the
DCD has 2 ms to program the USBADR field. This mechanism will ensure
this specification is met when the DCD can not write the device address
within 2 ms from the SET_ADDRESS status phase. If the DCD writes the
USBADR with USBADRA=1 after the SET_ADDRESS data phase (before
the prime of the status phase), the USBADR will be programmed instantly
at the correct time and meet the 2 ms USB requirement.
31:25
USBADR
USB device address
0
R/W
Table 480. USB Periodic List Base register in host mode (PERIODICLISTBASE - address 0x4000 6154) bit
description
Bit
Symbol
Description
Reset
value
Access
11:0
-
Reserved
-
-
31:12
PERBASE31_12
Base Address (Low)
These bits correspond to the memory address signals 31:12.
-
R/W