English
Language : 

UPSD3422_06 Datasheet, PDF (143/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
25 USB interface
USB interface
uPSD34xx devices provide a full speed USB (Universal Serial Bus) device interface. The
serial interface engine (SIE) provides the interface between the CPU and the USB (see
Figure 49).
Note: 1 For a list of known limitations of USB interface for uPSD34xx devices, please refer to
Section 34: Important notes on page 287.
2 Please make sure you have the latest 3400 USB firmware.
The USB module supports the following features:
● USB 2.0 compliant to full-speed mode (12 Mbps)
● 3.3V USB transceiver
● Five endpoints including Control endpoint 0
– Each endpoint includes two 64 byte FIFOs, one for IN and one for OUT
transactions
– Endpoints 1 through 4 support Interrupt and Bulk transfers
● USB Bus Suspend detection and Resume generation
● PLL Multiplier to generate the 48 MHz as required for USB support.
● Interrupts for various USB bus conditions.
● Performs NRZI encoding and decoding, bit stuffing, CRC generation and checking, and
serial/parallel data conversion
● Double buffering (using FIFO pairing) for efficient data transfer in Bulk transfer
● Busy bit-based FIFO status monitoring
● FIFOs accessible via XDATA space
The analog front-end of the USB module is an on-chip USB transceiver. It is designed to
allow voltage levels equal to VDD from the standard logic to interface with the physical layer
of the USB. It is capable of receiving and transmitting serial data at full speed (12 Mb/s).
The SIE is the digital-front-end of the USB block. This module recovers the 12MHz clock,
detects the USB sync word, and handles all low-level USB protocols and error checking.
The bit-clock recovery circuit recovers the clock from the incoming USB data stream and is
able to track jitter and frequency drift according to the USB specifications.
The SIE also translates the electrical USB signals into bytes or signals. When there is a
USB device address match, the USB data is directed to an endpoint’s FIFO for OUT
transactions and read from an endpoint’s FIFO for IN transactions. Control transfers are
supported on Endpoint0 and interrupt and bulk data transfers are supported on Endpoints1
through 4. The device’s USB address and the enabling of the endpoints are programmable
using the SIE’s SFRs.
Important note: The USB SIE requires a 48MHz clock to operate properly. A PLL is included
in the uPSD34xx that must be programmed appropriately based on the input clock to
provide a 48MHz clock to the SIE (see Section 14.2.2: USB_CLK on page 60 to set up the
PLL).
143/293