isp1581 NXP Semiconductors, isp1581 Datasheet - Page 24

no-image

isp1581

Manufacturer Part Number
isp1581
Description
Isp1581 Hi-speed Universal Serial Bus Peripheral Controller
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
isp1581BD
Manufacturer:
PHILIPS
Quantity:
465
Part Number:
isp1581BD
Manufacturer:
ST-Ericsson Inc
Quantity:
10 000
Part Number:
isp1581BD
Manufacturer:
ST
0
Part Number:
isp1581BD
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
isp1581BD-S
Manufacturer:
ST-Ericsson Inc
Quantity:
10 000
Part Number:
isp1581BD-T
Manufacturer:
ST-Ericsson Inc
Quantity:
10 000
Philips Semiconductors
9397 750 13462
Product data
9.3.3 Data Port register (address: 20H)
Table 18:
This 2-byte register provides direct access for a microcontroller to the FIFO of the
indexed endpoint. In case of an 8-bit bus the upper byte is not used. The bit allocation
is shown in
Device to host (IN endpoint): After each write action an internal counter is
auto-incremented (by 2 for a 16-bit access, by 1 for an 8-bit access) to the next
location in the TX FIFO. When all bytes have been written (FIFO byte count =
endpoint MaxPacketSize), the buffer is validated automatically. The data packet will
then be sent on the next IN token. When it is necessary to validate the endpoint
whose byte count is less than the MaxPacketSize, it can be done via the control
function register (bit VENDP).
Host to device (OUT endpoint): After each read action an internal counter is
auto-decremented (by 2 for a 16-bit access, by 1 for an 8-bit access) to the next
location in the RX FIFO. When all bytes have been read, the buffer contents are
cleared automatically. A new data packet can then be received on the next OUT
token. The buffer contents can also be cleared via the Control Function register (bit
CLBUF), when it is necessary to forcefully clear the contents.
Bit
7 to 5
4
3
2
1
0
Control Function register: bit description
Symbol
-
CLBUF
VENDP
-
STATUS
STALL
Table
Rev. 06 — 23 December 2004
19.
Description
reserved.
Clear Buffer: A logic 1 clears the RX buffer of the indexed
endpoint; the TX buffer is not affected. The RX buffer is cleared
automatically once the endpoint is read completely. This bit is
set only when it is necessary to forcefully clear the buffer.
Validate Endpoint: A logic 1 validates the data in the TX FIFO
of an IN endpoint for sending on the next IN token. In general,
the endpoint is validated automatically when its FIFO byte count
has reached the endpoint MaxPacketSize. This bit is set only
when it is necessary to validate the endpoint with the FIFO byte
count which is below the Endpoint MaxPacketSize.
reserved
Status Acknowledge: This bit controls the generation of ACK
or NAK during the status stage of a SETUP transfer. It is
automatically cleared upon completion of the status stage and
upon receiving a SETUP token:
0 — sends NAK
1 — sends empty packet following IN token (host-to-device) or
ACK following OUT token (device-to-host).
Stall Endpoint: A logic 1 stalls the indexed endpoint. This bit is
not applicable for isochronous transfers.
Note: ‘Stalling’ a data endpoint will confuse the Data Toggle bit
about the stalled endpoint because the internal logic picks up
from where it is stalled. Therefore, the Data Toggle bit must be
reset by disabling and re-enabling the corresponding endpoint
(by setting the bit ‘ENABLE’ to 0 or 1 in the endpoint type
register) to reset the PID.
Hi-Speed USB peripheral controller
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
ISP1581
24 of 79

Related parts for isp1581