
USB on-the-go full-speed (OTG_FS)
RM0008
850/1096
Doc ID 13902 Rev 12
OTG_FS general core configuration register (OTG_FS_GCCFG)
Address offset: 0x038
Reset value: 0x0000 0000
Bits 30:24
NPTXQTOP:
Top of the non-periodic transmit request queue
Entry in the non-periodic Tx request queue that is currently being processed by the MAC.
Bits [30:27]: Channel/endpoint number
Bits [26:25]:
–
00: IN/OUT token
–
01: Zero-length transmit packet (device IN/host OUT)
–
11: Channel halt command
Bit [24]: Terminate (last entry for selected channel/endpoint)
Bits 23:16
NPTQXSAV:
Non-periodic transmit request queue space available
Indicates the amount of free space available in the non-periodic transmit request queue. This
queue holds both IN and OUT requests in host mode. Device mode has only IN requests.
00: Non-periodic transmit request queue is full
01: dx1 location available
10: dx2 locations available
bxn
: dx
n
locations available (0
≤
n
≤
dx8)
Others: Reserved
Bits 15:0
NPTXFSAV:
Non-periodic TxFIFO space available
Indicates the amount of free space available in the non-periodic TxFIFO.
Values are in terms of 32-bit words.
00: Non-periodic TxFIFO is full
01: dx1 word available
10: dx2 words available
0xn: dx
n
words available (where 0
≤
n
≤
dx256)
Others: Reserved
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
SO
FO
U
T
E
N
V
B
U
SB
SEN
V
B
U
SA
SEN
Re
s
e
rv
ed
.P
W
R
D
W
N
Reserved
rw
rw
rw
rw
Bits 31:21 Reserved
Bit 20
SOFOUTEN:
SOF output enable
0: SOF pulse not available on PAD
1: SOF pulse available on PAD
Bit 19
VBUSBSEN:
Enable the V
BUS
sensing “B” device
0: V
BUS
sensing “B” disabled
1: V
BUS
sensing “B” enabled
Bit 18
VBUSASEN:
Enable the V
BUS
sensing “A” device
0: V
BUS
sensing “A” disabled
1: V
BUS
sensing “A” enabled