isp1161bm NXP Semiconductors, isp1161bm Datasheet - Page 33

no-image

isp1161bm

Manufacturer Part Number
isp1161bm
Description
Isp1161 Full-speed Universal Serial Bus Single-chip Host And Device Controller
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ISP1161BM
Manufacturer:
NXP
Quantity:
10 000
Philips Semiconductors
9397 750 09567
Product data
Fig 29. PIO access to Internal FIFO buffer RAM.
Host bus I/F
A0
3FFH
000H
001H
ITL0 buffer RAM
(8-bit width)
Following is an example of a C program that shows how to write data into the ATL
buffer RAM. The total number of data bytes to be transferred is 80 (decimal) which
will be set into the HcTransferCounter register as 50H. The data consists of four types
of PTD data:
In all PTD’s, we assign device address 5 and endpoint 1. ActualBytes is always
zero (0). TotalBytes equals the number of payload data bytes.
Table 6
However, if communication with a peripheral USB device is desired, the device should
be connected to the downstream port and pass enumeration.
1. The first PTD header (IN) is 8 bytes, followed by 16 bytes of space reserved for
2. The second PTD header (IN) is also 8 bytes, followed by 8 bytes of space
3. The third PTD header (OUT) is 8 bytes, followed by 16 bytes of payload data with
4. The fourth PTD header (OUT) is also 8 bytes, followed by 8 bytes of payload data
1
0
its payload data
reserved for its payload data
values beginning from 0H to FH incrementing by 1
with values beginning from 0H to EH incrementing by 2.
shows the results after running this program.
data port
command port
40H/C0H
41H/C1H
22H/A2H
24H/A4H
2CH
Rev. 02 — 13 December 2002
3FFH
000H
001H
Control registers
TransferCounter
ATLBufferPort
ITLBufferPort
(16-bit width)
BufferStatus
ITL1 buffer RAM
PInterrupt
(8-bit width)
Full-speed USB single-chip host and device controller
Command register
Commands
7FFH
000H
001H
T
ATL buffer RAM
toggle
(8-bit width)
=
internal EOT
EOT
2
© Koninklijke Philips Electronics N.V. 2002. All rights reserved.
increments by 2
automatically
1
Pointer
0
MGT951
SOF
BufferStatus
ISP1161
33 of 137

Related parts for isp1161bm