uss820d-db ETC-unknow, uss820d-db Datasheet - Page 22

no-image

uss820d-db

Manufacturer Part Number
uss820d-db
Description
Uss-820d Device Controller
Manufacturer
ETC-unknow
Datasheet
USB Device Controller
Register Interface
Table 19. Endpoint Transmit Status Register (TXSTAT)—Address: 0CH; Default: 0000 0000B
This register contains the current endpoint status of the transmit FIFO specified by EPINDEX. This register is
endpoint indexed.
* For normal operation, this bit should not be modified by the user except as required by the implementation of USB standard commands, such
† Only writable if TXNAKE = 1.
22
as SET_CONFIGURATION, SET_INTERFACE, and CLEAR_FEATURE [stall]. The SIE handles all sequence bit tracking required by normal
USB traffic, as documented in the USB specification, Section 8.6.
TXSEQ
R/W*
Bit 7
Bit
7
6
5
4
TXFLUSH Transmit FIFO Packet Flushed (Read Only). Updated at each SOF. When set, this
TXDSAM
TXNAKE
TXDSAM
Symbol
TXSEQ
Bit 6
R/W
(continued)
Transmitter Current Sequence Bit (Read, Conditional Write).* This bit is trans-
mitted in the next PID and toggled on a valid ACK handshake. This bit is toggled by
hardware on a valid SETUP token. This bit can be written by firmware if the TXSOVW
bit is set when written together with the next TXSEQ value.
Transmit Data-Set-Available Mode. If set, a NAK response to an IN token causes
the corresponding RXAV/TXAV bit in the DSAV register to set, and the DSA output pin
to assert (if enabled by MCSR.BDFEAT), rather than the standard condition (transmit
data set empty). This only occurs on NAKs caused by TXFIF = 00. This bit must not
be set for isochronous endpoints. When reset to 0 (along with MCSR.FEAT,
MCSR.BDFEAT, and TXSTAT.TXNAKE), the device will behave like revision B.
Transmit NAK Mode Enable. If set, a NAK response to an IN token causes the
TXVOID bit and the corresponding bits in the SBI/SBI1 register to set, causing an
IRQN interrupt (if enabled). This only occurs on NAKs caused by TXFIF = 00. This bit
must not be set for isochronous endpoints. When set this bit also changes the
meaning and usage of the TXSTAT.TXVOID bit. When reset to 0 (along with
MCSR.FEAT, MCSR.BDFEAT, and TXSTAT.TXDSAM), the device will behave like
revision B.
bit indicates that hardware flushed a stale isochronous data packet from the transmit
FIFO at SOF.
Behavior when MCSR.FEAT = 0:
Behavior when MCSR.FEAT = 1:
TXNAKE
To guard against a missed IN token in isochronous mode, if, with TXFIF[1:0] = 11,
no IN token is received for the current endpoint, hardware automatically flushes
the oldest packet and decrements the TXFIF[1:0] value. This flush does not occur
if there is only one data set present (TXFIF = 01/10).
A firmware data set write causes a TXFIF bit to set. For isochronous endpoints,
this data set does not become visible to the host until the next SOF. The data set is
intended to be read out during that frame. If that read does not occur (possibly due
to a lost IN packet), that data set is flushed at the next SOF, setting TXFLUSH. If
firmware writes two data sets during a single frame (TXFIF must have equalled 00
at the start of that frame), the first, older data set written is flushed at the subse-
quent SOF, setting TXFLUSH.
Bit 5
R/W
TXFLUSH
Bit 4
R
TXSOVW
Function/Description
Bit 3
W*
TXVOID
R/W
Bit 2
TXERR
Bit 1
Agere Systems Inc.
R
June 2001
TXACK
Bit 0

Related parts for uss820d-db