ISP1362EE/01 PHILIPS [NXP Semiconductors], ISP1362EE/01 Datasheet - Page 45

no-image

ISP1362EE/01

Manufacturer Part Number
ISP1362EE/01
Description
Single-chip Universal Serial Bus On-The-Go controller
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ISP1362EE/01
Manufacturer:
KAWASAKI
Quantity:
1 200
Part Number:
ISP1362EE/01
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Philips Semiconductors
9397 750 12337
Product data
12.5.1 Sending a USB device request (Get Descriptor)
This section provides an example on how a USB transfer descriptor ‘Get Descriptor’
(commonly used in device enumeration) is used to illustrate the ISP1362 PTD
application. To perform this example, make sure the ISP1362 is in the Operational
state, and then connect a USB device (for example, a USB mouse) to a port.
Remark: For details on the USB device request, refer to Chapter 9 of Universal Serial
Bus Specification Rev. 2.0.
Step 1:
0xFFFE and 0x0001, respectively.
Step 2:
sample code. This sample code places information into the correct bit location within
the 8 bytes of the PTD structure.
ActualBytes (10 bits) = 0x00
CompletionCode (4 bits) = 0x0F
Active (1 bit) = 1
Toggle (1 bit) = 0
MaxPacketSize (10 bits) = 8
EndpointNumber (4 bits) = 0
Speed (1 bit) = 0 (full-speed; use 1 for low-speed)
DirToken (2 bits) = 0 (setup token)
TotalBytes (10 bits) = 8
CompletedPTD
0xF800, 0x0008, 0x0008, 0x0000
Step 3:
request the HC wants to send. For example, for Get Descriptor, the payload is
0x0680, 0x0100, 0x0000, 0x0012.
Step 4:
This array is then copied into the ATL buffer area.
Table 12:
Step 5:
buffer is now full and ready to be processed. The ATL_Active bit of the
HcBufferStatus register must be set to logic 1 to inform the HC that the data in the
Offset
Data
placed in the ATL RAM at the same time. A paired PTD is designed specially for
high performance of a single endpoint. They are identified by hardware by using
the ‘Paired’ bit in the PTD.
Possible to send up to a maximum of 18 USB bulk packets in 1 ms frame
(1.152 Mbyte/s) by using the paired PTD feature.
Provides the status of every transfer endpoints (PTD) by monitoring the
HcATLDoneMap of the ISP1362. This register provides information on which PTD
transfers are complete.
Sets the IRQ after the user-specified number of transfers is done.
Skips any PTD that is wasting bandwidth by using HcATLSkipMap.
Set the HcATLBlockSize, HcATLSkip and HcATLLast registers to 0x0008,
A PTD is then constructed based on the information given in the following
This array is then appended with an 8-byte payload that specifies the type of
The 16 bytes of data is now a complete PTD with an accompanying payload.
After copying data into the ATL buffer, the HC must be notified that the ATL
ATL buffer area
0
0xF800 0x0008
Rev. 03 — 06 January 2004
1
2
0x0008
3
0x0000
Table 12
4
0x0680
Single-chip USB OTG controller
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
shows the ATL buffer area.
5
0x0100
ISP1362
6
0x0000
7
0x0012
45 of 150

Related parts for ISP1362EE/01