Download UM10362

Transcript
D
D
R
R
R
R
R
D
D
D
A
A
A
A
A
FT
FT
FT
UM10362
FT
FT
D
R
R
FT
FT
FT
FT
Chapter 8: LPC314x High-speed USB On-The-Go (OTG) controller
A
A
A
A
R
R
D
D
D
NXP Semiconductors
D
R
R
A
FT
FT
FT
A
A
R
R
D
D
D
D
D
D
R
A
D
Description
Access
Reset value
FRINDEX[2:0]
Current micro frame number
R/W
N/A
N:3
FRINDEX[N:3]
Frame list current index
R/W
N/A
31:(N+1)
-
Reserved
FT
FT
A
A
R
Symbol
2:0
R
D
Bit
F
FT
FT
A
A
R
R
Table 111. USB frame index register (FRINDEX - address 0x1900 014C) bit description - host
mode
D
D
R
A
FT
D
N/A
R
A
Table 112. Number of bits used for the frame list index
USBCMD USBCMD USBCMD Frame list size
bit 15
bit 3
bit 2
N
0
0
0
1024 elements (4096 bytes). Default value.
12
0
0
1
512 elements (2048 bytes)
11
0
1
0
256 elements (1024 bytes)
10
0
1
1
128 elements (512 bytes)
9
1
0
0
64 elements (256 bytes)
8
1
0
1
32 elements (128 bytes)
7
1
1
0
16 elements (64 bytes)
6
1
1
1
8 elements (32 bytes)
5
4.2.5 Device address (DEVICEADDR - device) and Periodic List Base
(PERIODICLISTBASE- host) registers
4.2.5.1
Device mode
The upper seven bits of this register represent the device address. After any controller
reset or a USB reset, the device address is set to the default address (0). The default
address will match all incoming addresses. Software shall reprogram the address after
receiving a SET_ADDRESS descriptor.
The USBADRA bit is used to accelerate the SET_ADDRESS sequence by allowing the
DCD to preset the USBADR register bits before the status phase of the SET_ADDRESS
descriptor.
UM10362_0
User manual
© NXP B.V. 2009. All rights reserved.
Rev. 00.02 — 9 September 2009
127 of 577