HS_USB 2.0 device
RM0082
490/844
Doc ID 018672 Rev 1
Figure 49.
UDC-AHB subsystem memory map
23.8.3 Register
description
23.8.4
Device configuration register
The Device configuration is a RW register which allows to configure the USB 2.0 device.
Reserved
RxFIFO
TxFIFO
UDC Subsystem
with AHB CSRs
UDC CSRs
32 bit wide
Address range
Mamory map
(Processor view point)
Implemented as
RAM
0xE100_0000
0xE100_07FF
0xE100_0800
0xE100_0800
+
RxFIFO depth
0xE110_0000
0xE110_04FC
0xE110_0500
0xE110_07FC
Table 400.
Device configuration register bit assignments
Bit
Name
Reset value Description
[31:19]
Reserved
-
Read: undefined. Write: should be zero.
[18]
SET_DESC
1'h0
Set descriptor requests support.
This bit states how the USB device replies to set Descriptor
request, according to encoding:
1‘b0 = A STALL handshake is sent back to the USB Host.
1‘b1 = The SETUP packet passes to the application.
[17]
CSR_PRG
1'h0
Dynamic UDC register programming support.
Setting this bit, the application is able to dynamically
program the UDC CSRs whenever an interrupt is received
for either a set configuration or a set interface request.
In this case, the USB device returns a NAK handshake
during the status in stage of both the set configuration and
set interface requests until the application sets the
CSR_DONE bit of the
Device control register on page 492
.