English
Language : 

JDP2S01T Datasheet, PDF (40/150 Pages) Toshiba Semiconductor – UHF~VHF Band RF Attenuator Applications
Philips Semiconductors
ISP1362
Single-chip USB OTG controller
The USB states are reflected in the HostControllerFunctionalState (HCFS) field of the
HcControl register. The HCD is allowed to perform only the USB state transitions
shown in Figure 21.
12.2 USB traffic generation
USB traffic can be generated only when the ISP1362 USB HC is under the
USBOperational state. Therefore, the HCD must set the ISP1362 USB HC into the
USBOperational state. This is done by setting the HCFS field of the HcControl
register before generating USB traffic.
A brief flow of USB traffic generation is described as follows:
1. Reset the ISP1362 by using the RESET pin or the software reset.
2. Set the physical size of the ATL, interrupt, ISTL0 and ISTL1 buffers.
3. Write the 32-bit hexadecimal value 0x800000FD to the HcInterruptEnable
register. This will enable all the interrupt events in the register to trigger the
hardware interrupt (see Section 15.1.5).
4. Write the 16-bit hexadecimal value 0x002D to the HcHardwareConfiguration
register. This will set up the HC to level triggered and active HIGH interrupt
setting (see Section 15.4.1).
5. Write 0x05000B02 to HcRhDescriptorA and 0x00000000 to HcRhDescriptorB.
6. Write the 16-bit hexadecimal value 0x0680 to the HcControl register to set the
ISP1362 into the Operation mode (see Section 15.1.2).
7. Read the HcRhPortStatus[1] and HcRhPortStatus[2] registers. These registers
contain the 32-bit hexadecimal value 0x00010100 (see Section 15.3.4).
8. Connect a full-speed device to one of the downstream ports or use a 1.5 kΩ
resistor to pull up the DP line (to emulate a full-speed device).
9. Read the HcRhPortStatus[1] and HcRhPortStatus[2] registers. The hexadecimal
value of one of the registers must change to 0x00010101 indicating that a device
connection has been detected.
10. Write the 32-bit hexadecimal value 0x00000102 into either HcRhPortStatus[1] or
HcRhPortStatus[2] depending on the port that is being used.
11. Read the HcRhPortStatus[1] and HcRhPortStatus[2] registers. Depending on
which port the USB device is connected to, one of the registers should contain
the hexadecimal value 0x00010103.
SOF packets should be visible on DP and DM now.
The HcFmNumber register contains the current frame number, which is updated
every milliseconds.
Remark: The generation of SOF is completely performed by the ISP1362 hardware.
In this state of operation, if a PTD is written to the buffer memory, it would be
processed and sent.
9397 750 12337
Product data
Rev. 03 — 06 January 2004
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
40 of 150