Intel IXP42X Personal Computer User Manual


 
Intel
®
IXP42X product line and IXC1100 control plane processors—Universal Serial Bus (USB)
v1.1 Device Controller
Intel
®
IXP42X Product Line of Network Processors and IXC1100 Control Plane Processor
DM September 2006
498 Order Number: 252480-006US
18.5.9 UDC Endpoint 7 Control/Status Register (UDCCS7)
The UDC Endpoint 7 Control/Status Register contains seven bits that are used to
operate endpoint 7, a Bulk OUT endpoint.
18.5.9.1 Receive FIFO Service (RFS)
The receive FIFO service bit is set if the receive FIFO has one complete data packet in it
and the packet has been error checked by the UDC. A complete packet may be 64
bytes, a short packet, or a zero packet.
This bit is not cleared until all data has been read from both buffers.
18.5.9.2 Receive Packet Complete (RPC)
The receive packet complete bit is set by the UDC when an OUT packet is received.
When this bit is set, the IR7 bit in the appropriate UDC status/interrupt register is set
— if receive interrupts are enabled.
This bit can be used to validate the other status/error bits in the Endpoint 7 Control/
Status Register. The UDCCS7 [RPC] bit is cleared by writing a 1 to it. The UDC issues
NAK handshakes to all OUT tokens while this bit is set and both buffers have unread
data.
18.5.9.3 Bit 2 Reserved
Bit 2 is reserved for future use.
18.5.9.4 Bit 3 Reserved
Bit 3 is reserved for future use.
18.5.9.5 Sent Stall (SST)
The sent stall bit is set by the UDC in response to FST successfully forcing a user-
induced STALL on the USB bus. This bit is not set if the UDC detects a protocol violation
from the host PC when a STALL handshake is returned automatically. In either event,
the Intel XScale
®
processor does not intervene and the UDC clears the STALL status
when the host sends a CLEAR_FEATURE command.
Any valid data in the FIFO remains valid and the software must unload it. The end-point
operation continues normally and does not send another STALL condition, even if the
UDCCS7[SST] bit is set.
To allow the software to continue to send the STALL condition on the USB bus, the
UDCCS7[FST] bit must be set again.
The Intel XScale
®
processor writes a 1 to the sent stall bit to clear it.
18.5.9.6 Force Stall (FST)
The Intel XScale
®
processor can set the force stall bit to force the UDC to issue a STALL
handshake to all OUT tokens. STALL handshakes continue to be sent until the Intel
XScale
®
processor clears this bit by sending a Clear Feature command.
The UDCCS7[SST] bit is set when the STALL state is actually entered, but this may be
delayed if the UDC is active when the UDCCS7[FST] bit is set. The UDCCS7[FST] bit is
automatically cleared when the UDCCS7[SST] bit is set.