Download Print this page

Srp Dual Role Device - ST STM32F413 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

USB on-the-go full-speed (OTG_FS)
33.5.3

SRP dual role device

The SRP capable bit in the global USB configuration register (SRPCAP bit in
OTG_GUSBCFG) enables the OTG_FS core to switch off the generation of V
device to save power. Note that the A-device is always in charge of driving V
of the host or peripheral role of the OTG_FS.
The SRP A/B-device program model is described in detail in
programming
33.6
USB peripheral
This section gives the functional description of the OTG_FS in the USB peripheral mode.
The OTG_FS works as an USB peripheral in the following circumstances:
OTG B-Peripheral
OTG A-Peripheral
B-device
Peripheral only (see
Note:
To build a bus-powered device implementation in case of the B-device or peripheral-only
configuration, an external regulator has to be added, that generates the V
from V
BUS
1102/1284
model.
OTG B-device default state if B-side of USB cable is plugged in
OTG A-device state after the HNP switches the OTG_FS to its peripheral role
If the ID line is present, functional and connected to the B-side of the USB cable,
and the HNP-capable bit in the Global USB Configuration register (HNPCAP bit in
OTG_GUSBCFG) is cleared.
Figure 382: USB_FS peripheral-only
The force device mode bit (FDMOD) in the
configuration register (OTG_GUSBCFG)
work as an USB peripheral-only. In this case, the ID line is ignored even if it is
present on the USB connector.
.
DocID029473 Rev 3
Section 33.16: OTG_FS
connection)
Section 33.15.4: OTG USB
is set to 1, forcing the OTG_FS core to
RM0430
for the A-
BUS
regardless
BUS
chip-supply
DD

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f423