
Universal serial bus full-speed device interface (USB)
RM0008
628/1096
Doc ID 13902 Rev 12
23.5.4
USB register map
The table below provides the USB register map and reset values.
Table 176.
Definition of allocated buffer memory
Value of
NUM_BLOCK[4:0]
Memory allocated
when BL_SIZE=0
Memory allocated
when BL_SIZE=1
0 (‘00000)
Not allowed
32 bytes
1 (‘00001)
2 bytes
64 bytes
2 (‘00010)
4 bytes
96 bytes
3 (‘00011)
6 bytes
128 bytes
...
...
...
15 (‘01111)
30 bytes
512 bytes
16 (‘10000)
32 bytes
N/A
17 (‘10001)
34 bytes
N/A
18 (‘10010)
36 bytes
N/A
...
...
...
30 (‘11110)
60 bytes
N/A
31 (‘11111)
62 bytes
N/A
Table 177.
USB register map and reset values
Offset
Register
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
0x00
USB_EP0R
Reserved
C
T
R_RX
DT
OG_RX
STAT_
RX
[1:0]
SETUP
EP
TYPE
[1:0]
EP_
KI
N
D
CTR_TX
DT
OG_
T
X
STAT_
TX
[1:0]
EA[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x04
USB_EP1R
Reserved
C
T
R_RX
DT
OG_RX
STAT_
RX
[1:0]
SETUP
EP
TYPE
[1:0]
EP_
KI
ND
CTR_TX
DT
OG_TX
STAT_
TX
[1:0]
EA[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x08
USB_EP2R
Reserved
CT
R_RX
DT
OG_RX
STAT_
RX
[1:0]
SETUP
EP
TYPE
[1:0]
EP_
KI
ND
CTR_TX
DT
OG_TX
STAT_
TX
[1:0]
EA[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0C
USB_EP3R
Reserved
CT
R_
R
X
DT
OG_RX
STAT_
RX
[1:0]
SETUP
EP
TYPE
[1:0]
EP
_KI
N
D
CTR_TX
DT
OG_TX
STAT_
TX
[1:0]
EA[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x10
USB_EP4R
Reserved
CT
R_
R
X
DT
OG_RX
STAT_
RX
[1:0]
SE
TUP
EP
TYPE
[1:0]
EP
_KI
N
D
CTR_TX
DT
OG_TX
STAT_
TX
[1:0]
EA[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x14
USB_EP5R
Reserved
CT
R_
R
X
DT
OG_RX
STAT_
RX
[1:0]
SE
TUP
EP
TYPE
[1:0]
EP
_KI
N
D
CTR_TX
DT
OG_TX
STAT_
TX
[1:0]
EA[3:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0