English
Language : 

SA1110 Datasheet, PDF (251/406 Pages) Intel Corporation – Intel StrongARM SA-1110 Microprocessor
Peripheral Control Module
11.8.8.2
11.8.8.3
11.8.8.4
11.8.8.5
11.8.8.6
Receive Packet Complete (RPC)
The receive packet complete bit gets set by the UDC when an OUT packet has been received.
When this bit is set the RIR bit in the UDC status/interrupt register will be set if receive interrupts
are enabled. This bit can be used to validate the other status/error bits in the endpoint 1
control/status register. The RPC bit gets cleared by writing a one to it. The UDC will issue NAK
handshakes to all OUT tokens while this bit is set.
Receive Packet Error (RPE)
The receive packet error bit will be set if a CRC, bit stuffing, DATA toggle mismatch, or FIFO
overrun error occurs. It is only valid if the RPC bit (1) is set and gets cleared when the RPC bit gets
cleared.
Sent Stall (SST)
The sent stall bit is set by the UDC when it must abort the current transfer by issuing a STALL
handshake due to a protocol violation (the host sends more data than the maximum packet size).
The CPU clears this bit by writing a one to it.
Force Stall (FST)
The force stall bit can be set by the UDC to force the UDC to issue a STALL handshake to all OUT
tokens. STALL handshakes will continue to be sent until the CPU clears this bit. The sent stall bit
(3) will be set when the STALL state is actually entered (this may be delayed if the UDC is active
when the FST bit is set), and the STALL state will not be exited until both the FST and SST bits are
cleared.
When the host sends a command, such as ClearFeature(HALT), the UDC is required to reinitialize
its data toggle flag back to DATA0. In order to reinitialize this internal flag, software must:
1. Set the FST bit and wait for it to set.
2. Clear the FST bit and wait for it to clear.
3. Clear the SST bit and wait for it to clear.
Receive FIFO Not Empty (RNE)
The receive FIFO not empty bit indicates that there is unread data in the receive FIFO. This bit
must be polled when the RPC bit is set to determine if there is any data in the FIFO that DMA did
not read. The receive FIFO must continue to be read until this bit clears or data will be lost.
When the host sends a command, such as ClearFeature(HALT), the UDC is required to reinitialize
its data toggle flag back to DATA0. In order to reinitialize this internal flag, software must set the
FST bit, and wait for it to set, then clear the FST bit and wait for it to clear, and then clear the SST
bit and wait for it to clear.
SA-1110 Developer’s Manual
11-71