
CS5954AM
ADVANCE
INFORMATION
Document #: 38-08025 Rev. **
Page 10 of 44
4.5
USB Interface
The CS5954AM has a built-in transceiver that meets USB specification v2.0. The transceiver connects directly to the physical
layer of the USB engine. It is capable of transmitting or receiving serial data at the full speed USB maximum data rate of
12 Mbits/sec. The 16-bit processor has the ability to set up pointers and block sizes in buffer memory for USB transactions.
The CS5954AM 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.
Communication 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 v2.0. sec 5.3.1.)
The CS5954AM also includes the CS5954AM 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 CS5954AM BIOS
greatly simplifies the firmware/software development cycle.
4.5.1
USB Global Control and Status Register (0xC080: R/W)
The USB Global Control and Status Register allows high-level control. The Global Control and 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
• Suspend state should be entered if there is no activity after 3 mS (UA).
• The US and UA bits are automatically cleared after they are read by the CS5954AM processor.
• D15–D4 are the reserved bits, should be written with zeros.
• The CS5954AM BIOS will set the UE = 1 upon reset.
Note:
4.
Bit C2 =1 must be set from configuration address (0xC006). See section 4.10.1 for CPU control speed.
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
0
000000
00000
UA
US
UR
UE
XOUT
XIN
Rf
1M
Rs
2.7K
X1
12 MHz, series, 20-pF load
Cout
22 pF
Cin
22 pF
Figure 4-2. 12-MHz Crystal Circuit[4]