
SL11R
Document #: 38-08006 Rev. **
Page 18 of 85
4.5
USB Interface
The SL11R has a built-in transceiver that meets the USB specification v1.1. The transceiver connects directly to the physical layer
of the USB engine. It is capable of transmitting or receiving serial data at the USB maximum data rate of 12 Mbits/sec. The SL11R
has four USB DMA engines for four USB endpoints. Each of the USB DMA engines is independently responsible for its respective
USB transaction. The 16-bit processor has the ability to set up pointers and block sizes in buffer memory for USB transactions.
The SL11R Controller contains a number of Registers that provide overall control and status functions for USB transactions. The
first set of registers is for control and status functions, while the second group is dedicated to specific endpoint functions. Com-
munication and data flow on the USB is implemented using endpoints. These uniquely identifiable entities are the terminals of
communication flow between a USB host and USB devices. Each USB device is composed of a collection of independently
operating endpoints. Each endpoint has a unique identifier: the endpoint number. (See USB specification v1.1. Sec 5.3.1)
The SL11R also includes the SL11R BIOS that provides a set of subroutines via interrupt calls for all USB interface functions
required to communicate with a USB host (refer to [Ref. 1] SL11R_BIOS for more information). The SL11R BIOS greatly simplifies
the firmware/software development cycle.
4.5.1
USB Global Control & Status Register (0xC080: R/W)
The USB Global Control & Status Register allows high-level control and provides status of the USB-DMA engines. The Global
Control & Status register bits are defined as follows:
D15-D4
Reserved
D0
UE
USB Enable = ’1’, Overall USB enable/disable bit
D1
UR
USB Reset
= ’1’, USB received Reset command
D2
US
USB SOF
= ’1’, USB received SOF command
D3
UA
USB Activity = ’1’, Activity Seen
Notes:
• Suspend state should be entered if there is no activity after 3mS (UA).
• The US and UA bits are automatically cleared after they are read by the SL11R processor.
• D15-D4 are the reserved bits, should be written with zeros.
• The SL11R BIOS will set the UE=1 upon reset.
4.5.2
USB Frame Number Register (0xC082: Read Only)
The Frame Number Register contains the 11-bit ID Number of the last SOF received by the device from the USB Host.
D15-D11
Reserved
set to all zeros.
D10-D0
S10-S0
SOF ID Number of last SOF Received
Note:
• The SL11R BIOS uses this register to detect USB activity for the internal idle task.
4.5.3
USB Address Register (0xC084: R/W)
Address Register holds the USB address of the device assigned by the Host - initialized to address 0x0000 upon Power up.
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
000000000000
UA
US
UR
UE
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
00000
S10
S9
S8
S7
S6
S5
S4
S3
S2
S1
S0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
000000000
A6
A5
A4
A3
A2
A1
A0