Universal serial bus full-speed host/device interface (USB)
Bit 13 LCK: Locked
– Device mode
Bits 12:11 LSOF[1:0]: Lost SOF
– Device mode
Bits 10:0 FN[10:0]: Frame number
USB Device address (USB_DADDR)
Address offset: 0x4C
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 EF: Enable function
Bits 6:0 ADD[6:0]: Device address
– Device mode
– Host mode
1290/1390
This bit is set by the hardware when at least two consecutive SOF packets have been
received after the end of an USB reset condition or after the end of an USB resume
sequence. Once locked, the frame timer remains in this state until an USB reset or USB
suspend event occurs.
These bits are written by the hardware when an ESOF interrupt is generated, counting the
number of consecutive SOF packets lost. At the reception of an SOF packet, these bits are
cleared.
This bit field contains the 11-bits frame number contained in the last received SOF packet.
The frame number is incremented for every frame sent by the host and it is useful for
isochronous transfers. This bit field is updated on the generation of an SOF interrupt.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
This bit is set by the software to enable the USB Device. The address of this device is
contained in the following ADD[6:0] bits. If this bit is at 0 no transactions are handled,
irrespective of the settings of USB_CHEPnR registers.
These bits contain the USB function address assigned by the host PC during the
enumeration process. Both this field and the endpoint/channel address (EA) field in the
associated USB_CHEPnR register must match with the information contained in a USB
token in order to handle a transaction to the required endpoint.
These bits contain the address transmitted with the LPM transaction
24
23
22
Res.
Res.
Res.
8
7
6
Res.
EF
rw
rw
RM0444 Rev 5
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
ADD[6:0]
rw
rw
rw
rw
RM0444
17
16
Res.
Res.
1
0
rw
rw
Need help?
Do you have a question about the STM32G0 1 Series and is the answer not in the manual?
Questions and answers