RM0444 Rev 5 1263/1390
RM0444 Universal serial bus full-speed host/device interface (USB)
1307
37.4 USB functional description
Figure 401 shows the block diagram of the USB peripheral.
Figure 401. USB peripheral block diagram
General description and Device mode functionality
The USB peripheral provides a USB-compliant connection between the function
implemented by the microcontroller and an external USB function which could be a host PC
but also a USB Device. Data transfer between the external USB host or device and the
system memory occurs through a dedicated packet buffer memory accessed directly by the
USB peripheral. This dedicated memory size is 2048 bytes, and up to 16 mono-directional
or 8 bidirectional endpoints can be used. The USB peripheral interfaces with the external
USB Host or Device, 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.
MSv66262V2
Control
S.I.E.
DP
USB PHY
Register
mapper
APB interface
PCLK APB bus IRQs to NVIC
Arbiter
Packet buffer
memory
Register
mapper
Control
registers and logic
Interrupt
registers and logic
Endpoint/channel
registers
Endpoint/channel
registers
Endpoint/
channel
selection
Clock recoveryRX-TX
Suspend timer
Packet buffer
interface
Analog
transceiver
DM
Interrupt
mapper
APB wrapper
BCD
Embedded
pull-up
NOE
USB clock (48 MHz)
PCLK
Host frame
scheduler