UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
232 of 362
NXP Semiconductors
UM10208
Chapter 17: LPC2800 USB Device
8.27 USB Test Mode Register (USBTMode - 0x8004 1084)
The Test Mode Register is not used in normal USB operation, but is described for users
who want to write self-test code.
Don’t set both FORCEHS and FORCEFS. Only set one bit among PRBS, KSTATE,
JSTATE, and SE0NAK at a time.
14
P7RX
When this bit is 0, as it is after either Reset, an enabled RX
interrupt from OUT endpoint 7 sets request 0 to the interrupt
controller. If this bit is 1, it sets request 1.
0
0
15
P7TX
When this bit is 0, as it is after either Reset, an enabled TX
interrupt from IN endpoint 7 sets request 0 to the interrupt
controller. If this bit is 1, it sets request 1.
0
0
31:16 -
Reserved, software should not write ones to reserved bits. The
values read from reserved bits is not defined.
-
-
Table 256. USB Endpoint Interrupt Priority Register (USBEIntP - 0x8004 10A8)
Bit
Symbol Description
Master
Reset
value
Bus
Reset
value
Table 257. USB Test Mode Register (USBTMode - 0x8004 1084)
Bit
Symbol
Description
Master
Reset
value
Bus
Reset
value
0
SE0NAK
A 1 in this bit sets the D+ and D- lines to a HS Quiescent
state. In this mode, the USB controller only responds to a
valid IN token, and always responds with a NAK.
0
0
1
JSTATE
A 1 in this bit sets the D+ and D- lines to J state.
0
0
2
KSTATE
A 1 in this bit sets the D+ and D- lines to K state.
0
0
3
PRBS
A 1 in this bit makes the USB controller send a test pattern.
Set up the pattern in control endpoint 0 IN buffer (endpoint
index 01) before setting this bit.
0
0
4
FORCEFS A 1 in this bit forces the physical layer to Full Speed mode,
and disables the chirp detection logic.
0
NC
6:5
-
Reserved, software should not write ones to reserved bits.
The values read from reserved bits is not defined.
-
-
7
FORCEHS A 1 in this bit forces the physical layer to High Speed mode,
and disables the chirp detection logic.
0
NC
31:8
-
Reserved, software should not write ones to reserved bits.
The values read from reserved bits is not defined.
-
-