English
Language : 

LM3S5G31 Datasheet, PDF (896/1223 Pages) Texas Instruments – Stellaris LM3S5G31 Microcontroller
Universal Serial Bus (USB) Controller
18 Universal Serial Bus (USB) Controller
18.1
The Stellaris® USB controller operates as a full-speed function controller during point-to-point
communications with USB Host functions. The controller complies with the USB 2.0 standard, which
includes SUSPEND and RESUME signaling. 32 endpoints including two hard-wired for control
transfers (one endpoint for IN and one endpoint for OUT) plus 30 endpoints defined by firmware
along with a dynamic sizable FIFO support multiple packet queueing. µDMA access to the FIFO
allows minimal interference from system software. Software-controlled connect and disconnect
allows flexibility during USB device startup.
The Stellaris USB module has the following features:
■ Complies with USB-IF certification standards
■ USB 2.0 full-speed (12 Mbps) operation with integrated PHY
■ 4 transfer types: Control, Interrupt, Bulk, and Isochronous
■ 32 endpoints
– 1 dedicated control IN endpoint and 1 dedicated control OUT endpoint
– 15 configurable IN endpoints and 15 configurable OUT endpoints
■ 4 KB dedicated endpoint memory: one endpoint may be defined for double-buffered 1023-byte
isochronous packet size
■ Efficient transfers using Micro Direct Memory Access Controller (µDMA)
– Separate channels for transmit and receive for up to three IN endpoints and three OUT
endpoints
– Channel requests asserted when FIFO contains required amount of data
Block Diagram
Figure 18-1. USB Module Block Diagram
Endpoint Control
EP0 – 31
Control
Transmit
Receive
USB PHY
USB Data Lines
D+ and D-
USB FS/LS
PHY
UTM
Synchronization
Data Sync
Timers
Packet
Encode/Decode
Packet Encode
Packet Decode
CRC Gen/Check
FIFO RAM
Controller
Rx
Rx
Buff
Buff
Tx
Tx
Buff
Buff
Cycle Control
DMA
Requests
CPU Interface
Interrupt
Control
EP Reg.
Decoder
Common
Regs
Cycle
Control
Interrupts
AHB bus –
Slave mode
FIFO
Decoder
896
July 03, 2014
Texas Instruments-Production Data