Figure 671. Usb Peripheral Block Diagram - ST STM32G4 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

Universal serial bus full-speed device interface (USB)
45.4
USB functional description
Figure 671
USB PHY
Suspend
timer
Packet
buffer
interface
APB interface
The USB peripheral provides an USB-compliant connection between the host PC and the
function implemented by the microcontroller. Data transfer between the host PC and the
system memory occurs through a dedicated packet buffer memory accessed directly by the
USB peripheral. This dedicated memory size is 1024 bytes, and up to 16 mono-directional
or 8 bidirectional endpoints can be used. The USB peripheral interfaces with the USB host,
detecting token packets, handling data transmission/reception, and processing handshake
packets as required by the USB standard. Transaction formatting is performed by the
hardware, including CRC generation and checking.
Each endpoint is associated with a buffer description block indicating where the
endpoint-related memory area is located, how large it is or how many bytes must be
transmitted. When a token for a valid function/endpoint pair is recognized by the USB
peripheral, the related data transfer (if required and if the endpoint is configured) takes
2010/2126
shows the block diagram of the USB peripheral.

Figure 671. USB peripheral block diagram

Embedded
pull-up
transceiver
RX-TX
Control
S.I.E.
Arbiter
APB wrapper
PCLK
DP
DM
NOE
Analog
BCD
Clock
recovery
Endpoint
selection
Endpoint
registers
Packet
Register
Register
buffer
mapper
mapper
memory
APB bus
RM0440 Rev 4
USB clock
(48 MHz)
PCLK
Control
registers and logic
Interrupt
registers and logic
Endpoint
registers
Interrupt
mapper
IRQs to NVIC
RM0440
MSv32120V2

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF