Table 263. Otg_Fs Register Map And Reset Values - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

USB on-the-go full-speed (OTG_FS)
Bit 5 ENL1GTG: Enable Sleep clock gating
Bit 4 PHYSUSP: PHY Suspended
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 GATEHCLK: Gate HCLK
Bit 0 STPPCLK: Stop PHY clock
OTG_FS
43.15.54
The table below gives the USB OTG register map and reset values.
Offset
Register
OTG_
GOTGCTL
0x000
Reset value
OTG_
GOTGINT
0x004
Reset value
OTG_
GAHBCFG
0x008
Reset value
OTG_
GUSBCFG
0x00C
Reset value
OTG_
GRSTCTL
0x010
Reset value
1
1586/1693
When this bit is set, core internal clock gating is enabled in Sleep state if the core cannot
assert utmi_l1_suspend_n. When this bit is not set, the PHY clock is not gated in Sleep
state.
Indicates that the PHY has been Suspended. This bit is updated once the PHY is
Suspended after the application has set the STPPCLK bit.
The application sets this bit to gate HCLK to modules other than the AHB Slave and Master
and wakeup logic when the USB is suspended or the session is not valid. The application
clears this bit when the USB is resumed or a new session starts.
The application sets this bit to stop the PHY clock when the USB is suspended, the session
is not valid, or the device is disconnected. The application clears this bit when the USB is
resumed or a new session starts.
register map

Table 263. OTG_FS register map and reset values

0
0
0
0
0
0
1
0
0
0
0
DocID024597 Rev 3
0
0
0
0
0
0
0
0
0
0
0
0
TRDT
0
1
0
1
0
0
1
TXFNUM
0
0
0
0
0
0
RM0351
0
0
0
0
0
0
0
TOCAL
0
0
0
0
0
0
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF