
Specification
NET2270 USB Interface Controller
______________________________________________________________________________
NetChip Technology, Inc., 2003
335 Pioneer Way, Mountain View, California 94041
TEL (650) 526-1490
FAX (650) 526-1494
http://www.netchip.com
Rev 3.6, April 17, 2003
61
Bits
Description
Read
Write
Default
Value
7
Buffer Full.
This bit is set when the endpoint packet buffer is full for an IN
endpoint, the currently selected buffer has a count of MaxPkt bytes, or no buffer is
available to the local side for writing (no space to write). For an OUT endpoint,
there is a buffer available on the local side, and there are MaxPkt bytes available to
read (entire packet is available for reading).
Yes
No
0
6
Buffer Empty. For an IN endpoint, a buffer is available to the local side for writing
up to MaxPkt bytes. This bit is set when the endpoint buffer is empty. For an OUT
endpoint, the currently selected buffer has a count of 0, or no buffer is available on
the local side (nothing to read).
Yes
No
1
5
NAK OUT Packets. This bit is set when a short data packet is received from the
host by this endpoint, and the NAK OUT Packets Mode bit of the EP_RSPSET
register is set. Writing a 1 clears this status bit. If this bit is set and another OUT
token is received, a NAK is returned to the host if another OUT packet is sent to this
endpoint. This bit can also be controlled by the EP_RSPCLR and EP_RSPSET
registers.
Yes
Yes/CLR
0
4
Short Packet Transferred Interrupt. This bit is set when the length of the last
packet was less than the Maximum Packet Size (EP_MAXPKT). Writing a 1 clears
this bit.
Yes
Yes/CLR
0
3
Data Packet Received Interrupt. This bit is set when a data packet is received from
the host by this endpoint. Writing a 1 clears this bit.
Yes
Yes/CLR
0
2
Data Packet Transmitted Interrupt. This bit is set when a data packet is
transmitted from the endpoint to the host. Writing a 1 clears this bit.
Yes
Yes/CLR
0
1
Data OUT Token Interrupt. This bit is set when a Data OUT token has been
received from the host.
This bit is also set by PING tokens (in high-speed
only). Writing a 1 clears this bit.
Yes
Yes/CLR
0
0
Data IN Token Interrupt. This bit is set when a Data IN token has been received
from the host. Writing a 1 clears this bit.
Yes
Yes/CLR
0
8.6.3 (Address 07h; EP_STAT1) -- Endpoint Status Register (high byte)
Bits
Description
Read
Write
Default
Value
7
Buffer Flush. Writing a 1 to this bit causes the packet buffer to be flushed and the
corresponding EP_AVAIL register to be cleared. This bit is self-clearing. This bit
should always be written after an endpoint configuration (direction, address, etc.) has
been changed. This bit should not be asserted during a split-mode DMA if Page
Select is selecting another endpoint.
0
Yes/Flush
0
6
Reserved.
0
No
0
5
USB STALL Sent. The last USB packet could not be accepted or provided because
the endpoint was stalled, and was acknowledged with a STALL. Writing a 1 clears
this bit.
Yes
Yes/CLR
0
4
USB IN NAK Sent. The last USB IN packet could not be provided, and was
acknowledged with a NAK. Writing a 1 clears this bit.
Yes
Yes/CLR
0
3
USB IN ACK Rcvd. The last USB IN data packet transferred was successfully
acknowledged with an ACK from the host. Writing a 1 clears this bit.
Yes
Yes/CLR
0
2
USB OUT NAK Sent. The last USB OUT data packet could not be accepted, and
was acknowledged with a NAK to the host. Writing a 1 clears this bit.
Yes
Yes/CLR
0
1
USB OUT ACK Sent. The last USB OUT data packet transferred was successfully
acknowledged with an ACK to the host. Writing a 1 clears this bit.
Yes
Yes/CLR
0
0
Timeout. For an IN endpoint, the last USB packet transmitted was not
acknowledged by the Host PC, indicating a bus error. The Host PC will expect the
same packet to be retransmitted in response to the next IN token. For an OUT
endpoint, the last USB packet received had a CRC or bit-stuffing error, and was not
acknowledged by the NET2270. The Host PC will retransmit the packet. Writing a 1
clears this bit.
Yes
Yes/CLR
0