
CS5954AM
ADVANCE
INFORMATION
Document #: 38-08025 Rev. **
Page 11 of 44
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.[5]
D15-D11
Reserved
set to all zeros.
D10-D0
S10-S0
SOF ID number of last SOF received.
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.[6]
D15-D7
Reserved
set to all zeros.
D6-D0
A6-A0
USB address of device after assignment by host.
4.5.4
USB Command Done Register (0xC086: Write-only)
This is the USB Command Done Register. It is only used by the control point (endpoint 0).[7]
D15–D1
Reserved
set to all zeros
D0
E
set E = 0 for successful command completion
set E = 1 for error command completion.
4.6
USB Endpoint 0 Control and Status Register (0xC090: R/W)
See the USB Endpoint 3 control and status register for more information.
4.7
USB Endpoint 1 Control and Status Register (0xC092: R/W)
See the USB Endpoint 3 control and status register for more information.
4.8
USB Endpoint 2 Control and Status Register (0xC094: R/W)
See the USB Endpoint 3 control and status register for more information.
4.9
USB Endpoint 3 Control and Status Register (0xC096: R/W)
4.9.1
General Description for All Endpoints from Endpoint 0 to Endpoint 3
The CS5954AM controller supports four endpoints. Endpoint 0 is the default pipe and is used to initialize and control the peripheral
device. It also provides access to the peripheral device’s configuration information, and supports control transfers. Endpoints 1,
2, and 3 support interrupt transfers, bulk transfers up to 64 Bytes/packet, or Isochronous transfers up to 1024 Bytes/packet size.
4.9.2
USB Endpoint Control (for Writing)
Each of the endpoint control registers, when written, have the following functions assigned.
Notes:
5.
The CS5954AM BIOS uses this register to detect USB activity for the internal idle task.
6.
The CS5954AM BIOS modifies this register upon receiving the SET_ADDRESS from the host. (See [Ref. 3] Universal Serial Bus Specification v2.0 sec. 9 for
more information.)
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
0
0
S10
S9S8S7S6
S5S4S3S2S1S0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
0
000000
00
A6
A5
A4
A3
A2
A1
A0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
0
000000
000000
00
E
Bit Position
Bit Name
Function
D0
ARM
Allows enabled transfers when set to “1.” Cleared to “0” when transfer is complete.
D1
Enable
When set to “1” it allows transfers to this endpoint. When set to “0” USB transactions are ignored.
If enable = “1” and Arm = “0” the endpoint will return NAK to USB transmissions.
D2
DIR
When set to “1” it transmits to Host (IN). When “0” receive from Host (OUT).
D3
ISO
When set to “1” it allows Isochronous mode for this endpoint.
D4
Stall
When set to “1” it sends Stall in response to next request on this endpoint.
D5
Zero Length
When set to “1” it sends a zero length packet.
D6–D15
Not Defined
Set to logic “0”s.