Part Number Hot Search : 
36230 2SC48 015388 STCF01 TDA1670A 76613 46V32M8 MC74LCX1
Product Description
Full Text Search
 

To Download ISP1160 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 ISP1160
Embedded Universal Serial Bus Host Controller
Rev. 03 -- 27 February 2003 Product data
1. General description
The ISP1160 is an embedded Universal Serial Bus (USB) Host Controller (HC) that complies with Universal Serial Bus Specification Rev. 2.0, supporting data transfer at full-speed (12 Mbit/s) and low-speed (1.5 Mbit/s). The ISP1160 provides two downstream ports. Each downstream port has its own overcurrent (OC) detection input pin and power supply switching control output pin. The downstream ports for the HC can be connected with any USB compliant USB devices and USB hubs that have USB upstream ports. The ISP1160 is well suited for embedded systems and portable devices that require a USB host. The ISP1160 brings high flexibility to the systems that have it built-in. For example, a system that has the ISP1160 built-in allows it to be connected to a device that has a USB upstream port, such as a USB printer, USB camera, USB keyboard, USB mouse, among others.
2. Features
s s s s s Complies with Universal Serial Bus Specification Rev. 2.0 Supports data transfer at full-speed (12 Mbit/s) and low-speed (1.5 Mbit/s) Adapted from Open Host Controller Interface Specification for USB Release 1.0a Selectable one or two downstream ports for HC High-speed parallel interface to most of the generic microprocessors and Reduced Instruction Set Computer (RISC) processors such as: x Hitachi(R) SuperHTM SH-3 and SH-4 x MIPS-basedTM RISC x ARM7TM, ARM9TM, StrongARM(R) Maximum data transfer rate of 15 Mbyte/s between microprocessor and HC Supports single-cycle and burst mode DMA operations Built-in FIFO buffer RAM for HC (4 kbytes) Endpoints with double buffering to increase throughput and ease real-time data transfer Isochronous (ISO) transactions 6 MHz crystal oscillator with integrated PLL for low EMI Built-in software selectable internal 15 k pull-down resistors for HC downstream ports Dedicated pins for suspend sensing output and wake-up control input for flexible applications Operation at either +5 V or +3.3 V power supply voltage Operating temperature range from -40 to +85 C Available in two LQFP64 packages (SOT314-2 and SOT414-1).
s s s s s s s s s s
Philips Semiconductors
ISP1160
Embedded USB Host Controller
3. Applications
s s s s s s s s Personal Digital Assistant (PDA) Digital camera Third-generation (3-G) phone Set-Top Box (STB) Information Appliance (IA) Photo printer MP3 jukebox Game console.
4. Ordering information
Table 1: Ordering information Package Name ISP1160BD ISP1160BM LQFP64 LQFP64 Description plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm plastic low profile quad flat package; 64 leads; body 7 x 7 x 1.4 mm Version SOT314-2 SOT414-1 Type number
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
2 of 89
xxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x xxxxxxxxxxxxxx xxxxxxxxxx xxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxx xxxxx x x
Product data Rev. 03 -- 27 February 2003
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved. 9397 750 10765
5. Block diagram
Philips Semiconductors
H_WAKEUP H_SUSPEND NDP_SEL
40 42 33 ALT RAM ITL0 (PING RAM) 2 to 7, 9 to 14, 16, 17, 63, 64 22 21 23 59 27 34 25 29 ITL1 (PONG RAM) POWER SWITCHING OVERCURRENT DETECTION 46 47 54 55 H_PSW1 H_PSW2 H_OC1 H_OC2
16 D0 to D15 RD CS WR A0 DACK EOT DREQ INT
ISP1160
50 MICROPROCESSOR BUS INTERFACE USB TRANSCEIVER PHILIPS SLAVE HOST CONTROLLER USB TRANSCEIVER 51 52 53 H_DM1 H_DP1 H_DM2 H_DP2 USB bus downstream ports
RESET
32
4x 15 k
POWER-ON RESET
internal reset
CLOCK RECOVERY
VCC
56
VOLTAGE REGULATOR 1, 8, 15, 18, 35, 45, 62 7
3.3 V
internal supply
PLL CLOCK RECOVERY
GND
Embedded USB Host Controller
57
58
24
19 XTAL2
44
43 XTAL1
20, 26, 30, 31, 36, 38, 41, 61
DGND
AGND
Vreg(3.3)
8 n.c.
004aaa059
Vhold1 Vhold2
6 MHz
ISP1160
3 of 89
Fig 1. Block diagram.
Philips Semiconductors
ISP1160
Embedded USB Host Controller
6. Pinning information
6.1 Pinning
49 TEST_LOW
60 LOW_PW
58 Vreg(3.3)
52 H_DM2
DGND 1 D2 2 D3 3 D4 4 D5 5 D6 6 D7 7 DGND 8 D8 9 D9 10 D10 11 D11 12 D12 13 D13 14 DGND 15 D14 16 n.c. 20 CS 21 RD 22 WR 23 Vhold2 24 DREQ 25 n.c. 26 DACK 27 TEST_HIGH 28 INT 29 n.c. 30 n.c. 31 RESET 32 D15 17 DGND 18 Vhold1 19
50 H_DM1
55 H_OC2
54 H_OC1
53 H_DP2
51 H_DP1
62 DGND
57 AGND
56 VCC
61 n.c.
64 D1
63 D0
59 A0
48 TEST_LOW 47 H_PSW2 46 H_PSW1 45 DGND 44 XTAL2 43 XTAL1 42 H_SUSPEND
ISP1160BD ISP1160BM
41 n.c. 40 H_WAKEUP 39 TEST_LOW 38 n.c. 37 TEST_LOW 36 n.c. 35 DGND 34 EOT 33 NDP_SEL
004aaa060
Fig 2. Pin configuration LQFP64.
6.2 Pin description
Table 2: Symbol[1] DGND D2 D3 D4 Pin description for LQFP64 Pin 1 2 3 4 Type I/O I/O I/O Description digital ground bit 2 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 3 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 4 of bidirectional data; slew-rate controlled; TTL input; three-state output
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
4 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Pin description for LQFP64...continued Pin 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Type I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O Description bit 5 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 6 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 7 of bidirectional data; slew-rate controlled; TTL input; three-state output digital ground bit 8 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 9 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 10 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 11 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 12 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 13 of bidirectional data; slew-rate controlled; TTL input; three-state output digital ground bit 14 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 15 of bidirectional data; slew-rate controlled; TTL input; three-state output digital ground voltage holding pin 1; this pin is internally connected to the Vreg(3.3) and Vhold2 pins. When pin VCC is connected to 5 V, this pin will output 3.3 V and therefore, it must not be connected to 5 V. When pin VCC is connected to 3.3 V, this pin can either be connected to 3.3 V or left unconnected. In all cases, this pin must be decoupled to DGND. not connected; leave this pin open chip select input read strobe input write strobe input voltage holding pin 2; this pin is internally connected to the Vreg(3.3) and Vhold1 pins. When pin VCC is connected to 5 V, this pin will output 3.3 V and therefore, it must not be connected to 5 V. When pin VCC is connected to 3.3 V, this pin can either be connected to 3.3 V or left unconnected. In all cases, this pin must be decoupled to DGND. HC's DMA request output (programmable polarity); signals to the DMA controller that the ISP1160 wants to start a DMA transfer; see Section 10.4.1 not connected; leave this pin open
Table 2: Symbol[1] D5 D6 D7 DGND D8 D9 D10 D11 D12 D13 DGND D14 D15 DGND Vhold1
n.c. CS RD WR Vhold2
20 21 22 23 24
I I I -
DREQ
25
O
n.c.
26
-
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
5 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Pin description for LQFP64...continued Pin 27 28 29 30 31 32 33 Type I O O I I Description HC's DMA acknowledge input; when not in use, this pin must be connected to VCC via an external 10 k resistor this pin must be connected to VCC HC's interrupt output; programmable level, edge triggered and polarity; see Section 10.4.1 not connected; leave this pin open not connected; leave this pin open reset input (Schmitt trigger); a LOW level produces an asynchronous reset (internal pull-up resistor) number of downstream ports: 0 -- select 1 downstream port 1 -- select 2 downstream ports only changes the value of the NDP field in the HcRhDescriptorA register; both ports will always be enabled (internal pull-up resistor)
Table 2: Symbol[1] DACK
TEST_HIGH INT n.c. n.c. RESET NDP_SEL
EOT
34
I
DMA master device to inform the ISP1160 of end of DMA transfer; active level is programmable; when not in use, this pin must be connected to VCC via an external 10 k resistor; see Section 10.4.1 digital ground not connected; leave this pin open this pin must be connected to DGND not connected; leave this pin open this pin must be connected to DGND HC's wake-up input; generates a remote wake-up from `suspend' state (active HIGH); when not in use, this pin must be connected to DGND via an external 10 k resistor (internal pull-up resistor) not connected; leave this pin open HC's suspend state indicator output; active HIGH crystal input; connected directly to a 6 MHz crystal; when it is connected to an external clock oscillator, leave pin XTAL2 open crystal output; connected directly to a 6 MHz crystal; when pin XTAL1 is connected to an external clock oscillator, leave this pin open digital ground power switching control output for downstream port 1; open-drain output power switching control output for downstream port 2; open-drain output this pin must be connected to DGND via an external 100 k resistor this pin must be connected to DGND via an external 100 k resistor
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
DGND n.c. TEST_LOW n.c. TEST_LOW H_WAKEUP
35 36 37 38 39 40
O I
n.c. H_SUSPEND XTAL1
41 42 43
O I
XTAL2
44
O
DGND H_PSW1 H_PSW2 TEST_LOW TEST_LOW
45 46 47 48 49
O O -
9397 750 10765
Product data
Rev. 03 -- 27 February 2003
6 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Pin description for LQFP64...continued Pin 50 51 52 53 54 55 56 Type AI/O AI/O AI/O AI/O I I Description USB D- data line for HC's downstream port 1 USB D+ data line for HC's downstream port 1 USB D- data line for HC's downstream port 2; when not in use, leave this pin open USB D+ data line for HC's downstream port 2; when not in use, leave this pin open overcurrent sensing input for HC's downstream port 1 overcurrent sensing input for HC's downstream port 2 digital power supply voltage input (3.0 to 3.6 V or 4.75 to 5.25 V). This pin has been connected to the internal 3.3 V regulator input. When connected to 5 V, the internal regulator will output 3.3 V to pins Vreg(3.3), Vhold1 and Vhold2. When connected to 3.3 V, it will bypass the internal regulator. analog ground internal 3.3 V regulator output; when pin VCC is connected to 5 V, this pin outputs 3.3 V. When pin VCC is connected to 3.3 V, this pin should also be connected to 3.3 V. address input; selects command (A0 = 1) or data (A0 = 0) if low-current consumption (range of s) is needed during suspend, connect this pin to address A1; otherwise, connect to DGND not connected; leave this pin open digital ground bit 0 of bidirectional data; slew-rate controlled; TTL input; three-state output bit 1 of bidirectional data; slew-rate controlled; TTL input; three-state output
Table 2: Symbol[1] H_DM1 H_DP1 H_DM2 H_DP2 H_OC1 H_OC2 VCC
AGND Vreg(3.3)
57 58
-
A0 LOW_PW
59 60
I I
n.c. DGND D0 D1
61 62 63 64
I/O I/O
[1]
Symbol names with an overscore (e.g. NAME) represent active LOW signals.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
7 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
7. Functional description
7.1 PLL clock multiplier
A 6 to 48 MHz clock multiplier Phase-Locked Loop (PLL) is integrated on-chip. This allows for the use of a low-cost 6 MHz crystal, which also minimizes EMI. No external components are required for the operation of the PLL.
7.2 Bit clock recovery
The bit clock recovery circuit recovers the clock from the incoming USB data stream by using a 4 times over-sampling principle. It is able to track jitter and frequency drift as specified in Universal Serial Bus Specification Rev. 2.0.
7.3 Analog transceivers
Two sets of transceivers are embedded in the chip for downstream ports with USB connector type A. The integrated transceivers are compliant with the Universal Serial Bus Specification Rev. 2.0. These transceivers interface directly with the USB connectors and cables through external termination resistors.
7.4 Philips Serial Interface Engine (SIE)
The Philips SIE implements the full USB protocol layer. It is completely hardwired for speed and needs no firmware intervention. The functions of this block include: synchronization pattern recognition, parallel/serial conversion, bit (de)stuffing, CRC checking/generation, Packet IDentifier (PID) verification/generation, address recognition and handshake evaluation/generation.
8. Microprocessor bus interface
8.1 Programmed I/O (PIO) addressing mode
A generic PIO interface is defined for speed and ease-of-use. It also allows direct interfacing to most microcontrollers. To a microcontroller, the ISP1160 appears as a memory device with a 16-bit data bus and uses the A0 address line to access internal control registers and FIFO buffer RAM. Therefore, the ISP1160 occupies only two I/O ports or two memory locations of a microprocessor. External microprocessors can read or write the ISP1160's internal control registers and FIFO buffer RAM through the Programmed I/O (PIO) operating mode. Figure 3 shows the Programmed I/O interface between a microprocessor and the ISP1160.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
8 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
P bus I/F D [15:0] D [15:0]
RD MICROPROCESSOR WR CS A1 IRQ1
RD WR CS A0 INT ISP1160
004aaa061
Fig 3. Programmed I/O interface between a microprocessor and the ISP1160.
8.2 DMA mode
The ISP1160 also provides the DMA mode for external microprocessors to access its internal FIFO buffer RAM. Data can be transferred by the DMA operation between a microprocessor's system memory and the ISP1160's internal FIFO buffer RAM. Note: the DMA operation must be controlled by the external microprocessor system's DMA controller (Master). Figure 4 shows the DMA interface between a microprocessor system and the ISP1160. The ISP1160 provides a DMA channel controlled by DREQ for DACK signals for the DMA transfer between a microprocessor's system memory and the ISP1160 HC's internal FIFO buffer RAM. The EOT signal is an external end-of-transfer signal used to terminate the DMA transfer. Some microprocessors may not have this signal. In this case, the ISP1160 provides an internal EOT signal to terminate the DMA transfer as well. Setting the HcDMAConfiguration register (21H - Read, A1H - Write) enables the ISP1160's HC internal DMA counter for the DMA transfer. When the DMA counter reaches the value set in the HcTransferCounter (22H - Read, A2H - Write) register to be used as the byte count of the DMA transfer, the internal EOT signal will be generated to terminate the DMA transfer.
P bus I/F D [15:0] D [15:0]
RD MICROPROCESSOR WR DACK1 DREQ1
RD WR ISP1160 DACK DREQ
EOT
EOT
004aaa062
Fig 4. DMA interface between a microprocessor and the ISP1160.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
9 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
8.3 Microprocessor read/write the ISP1160's internal control registers by PIO mode
8.3.1 I/O port addressing Table 3 shows the ISP1160's I/O port addressing. Complete decoding of the I/O port address should include the chip select signal CS and the address line A0. However, the direction of access of I/O ports is controlled by the RD and WR signals. When RD is LOW, the microprocessor reads data from the ISP1160's data port. When WR is LOW, the microprocessor writes a command to the command port, or writes data to the data port.
Table 3: Port 0 1 I/O port addressing CS 0 0 [A0] (Bin) 0 1 Access R/W W Data bus width (bits) 16 16 Description HC data port HC command port
Figure 5 illustrates how an external microprocessor accesses the ISP1160's internal control registers.
CMD/DATA SWITCH 1 Host bus I/F data port 0 A0 Commands command port
. . .
Control registers
Command register
004aaa075
When A0 = 0, microprocessor accesses the data port. When A0 = 1, microprocessor accesses the command port.
Fig 5. Access to internal control registers.
8.3.2
Register access phases The ISP1160's register structure is a command-data register pair structure. A complete register access cycle comprises a command phase followed by a data phase. The command (also known as the index of a register) points the ISP1160 to the next register to be accessed. A command is 8 bits long. On a microprocessor's 16-bit data bus, a command occupies the lower byte, with the upper byte filled with zeros. Figure 6 shows a complete 16-bit register access cycle for the ISP1160. The microprocessor writes a command code to the command port, and then reads from or writes the data word to the data port. Take the example of a microprocessor attempting to read a chip's ID, which is saved in the HC's HcChipID register (27H, read only) where its command code is 27H, read only. The 16-bit register access cycle is therefore:
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
10 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
1. The microprocessor writes the command code of 27H (0027H in 16-bit width) to the ISP1160's HC command port 2. The microprocessor reads the data word of the chip's ID (6110H) from the ISP1160's HC data port.
16-bit register access cycle write command (16 bits) read/write data (16 bits) t
MGT937
Fig 6. 16-bit register access cycle.
Most of the ISP1160's internal control registers are 16-bit wide. Some of the internal control registers, however, are 32-bit wide. Figure 7 shows how the ISP1160's 32-bit internal control register is accessed. The complete cycle of accessing a 32-bit register consists of a command phase followed by two data phases. In the two data phases, the microprocessor should first read or write the lower 16-bit data, followed by the upper 16-bit data.
32-bit register access cycle write command (16 bits) read/write data (lower 16 bits) read/write data (upper 16 bits) t
MGT938
Fig 7. 32-bit register access cycle.
To further describe the complete access cycles of ISP1160's internal control registers, the status of some pin signals of the microprocessor bus interface is shown in Figure 8.
Signals CS A0
Valid status 0 1 RD = 1, WR = 0
Valid status 0 0 RD = 0 (read) or WR = 0 (write) Register data (lower word)
Valid status 0 0 RD = 0 (read) or WR = 0 (write) Register data (upper word)
004aaa063
RD, WR
data bus
Command code
Fig 8. Accessing the ISP1160 HC control registers.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
11 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
8.4 Microprocessor read/write the ISP1160's internal FIFO buffer RAM by PIO mode
Since the ISP1160's internal memory is structured as a FIFO buffer RAM, the FIFO buffer RAM is mapped to dedicated register fields. Therefore, accessing the ISP1160's internal FIFO buffer RAM is just like accessing the internal control registers in multiple data phases.
FIFO buffer RAM access cycle (transfer counter = 2N) write command (16 bits) read/write data #1 (16 bits) read/write data #2 (16 bits) read/write data #N (16 bits) t
MGT941
Fig 9. The ISP1160's internal FIFO buffer RAM access cycle.
Figure 9 shows a complete access cycle of the ISP1160's internal FIFO buffer RAM. For a write cycle, the microprocessor first writes the FIFO buffer RAM's command code to the command port, and then writes the data words one by one to the data port until half of the transfer's byte count is reached. The HcTransferCounter register (22H - Read, A2H - Write) is used to specify the byte count of a FIFO buffer RAM's read cycle or write cycle. Every access cycle must be in the same access direction. The read cycle procedure is similar to the write cycle.
8.5 Microprocessor read/write the ISP1160's internal FIFO buffer RAM by DMA mode
The DMA interface between a microprocessor and the ISP1160 is shown in Figure 4. When doing a DMA transfer, at the beginning of every burst the ISP1160 outputs a DMA request to the microprocessor via pin DREQ. After receiving this signal, the microprocessor will reply with a DMA acknowledge to the ISP1160 via pin DACK, and at the same time, do the DMA transfer through the data bus. In the DMA mode, the microprocessor must still issue a RD or WR signal to the ISP1160's RD or WR pin. The ISP1160 will repeat the DMA cycles until it receives an EOT signal to terminate the DMA transfer. The ISP1160 supports both external and internal EOT signals. The external EOT signal is received as input from the ISP1160's EOT pin: it generally comes from the external microprocessor. The internal EOT signal is generated by the ISP1160 internally. To select either, set the DMA configuration registers. For example, for the HC, setting bit 2 of the HcDMAConfiguration register (21H - Read, A1H - Write) to logic 1 will enable the DMA counter for DMA transfer. When the DMA counter reaches the value of HcTransferCounter register, the internal EOT signal will be generated to terminate the DMA transfer. The ISP1160 supports either single-cycle DMA operation or burst mode DMA operation; see Figure 10 and Figure 11.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
12 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
DREQ
DACK
RD or WR
D [15:0 ] data #1 EOT
004aaa103
data #2
data #N
N = 1/2 byte count of transfer data.
Fig 10. DMA transfer in single-cycle mode.
DREQ
DACK
RD or WR
D [15:0 ] data #1 EOT
004aaa104
data #K
data #(K+1)
data #2K
data #(N-K+1)
data #N
N = 1/2 byte count of transfer data, K = number of cycles/burst.
Fig 11. DMA transfer in burst mode.
In both figures, the DMA transfer is configured such that DREQ is active HIGH and DACK is active LOW.
8.6 Interrupts
The ISP1160 has an interrupt request pin INT. 8.6.1 Pin configuration The interrupt output signals have four configuration modes:
* * * *
Level trigger, active LOW Level trigger, active HIGH Edge trigger, active LOW Edge trigger, active HIGH.
Figure 12 shows these four interrupt configuration modes. They are programmable through register settings, which are also used to disable or enable the signals.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
13 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
INT active INT
clear or disable INT
Mode 0 level triggered, active LOW INT active INT Mode 1 level triggered, active HIGH INT active INT 166 ns Mode 2 edge triggered, active LOW INT active INT 166 ns Mode 3 edge triggered, active HIGH
MGT944
clear or disable INT
Fig 12. Interrupt pin operating modes.
8.6.2
Interrupt output pin (INT) To program the four configuration modes of the HC's interrupt output signal (INT), set bits 1 and 2 of the HcHardwareConfiguration register (20H - Read, A0H - Write). Bit 0 is used as the master enable setting for pin INT. INT has many interrupt events. The relationship between pin INT and its interrupt events is shown as in Figure 13.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
14 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcPInterrupt register
HcPInterruptEnable register
AllEOTInterrupt
AllEOTInterrupt
HCSuspended
HCSuspended
SOFITLInt
SOFITLInt
OPR_Reg
OPR_Reg
ClkReady
HcInterruptEnable register MIE RHSC FNO UE RD SF SO OR
RHSC FNO UE RD SF SO HcInterruptStatus register
group 2 OR HcHardwareConfiguration register LE INT LATCH InterruptPinEnable
004aaa102
Fig 13. HC interrupt logic.
There are two groups of interrupts represented by group 1 and group 2 in Figure 13. A pair of registers control each group. Group 2 contains six possible interrupt events (recorded in the HcInterruptStatus register). On occurrence of any of these events, the corresponding bit would be set to logic 1; and if the corresponding bit in the HcInterruptEnable register is also logic 1, the 6-input OR gate would output a logic 1. This output is ANDed with the value of MIE (bit 31 of HcInterruptEnable). Logic 1 at the AND gate will cause the OPR bit in the HcPInterrupt register to be set to logic 1. Group 1 contains six possible interrupt events, one of which is the output of group 2 interrupt sources. The HcPInterrupt and HcPInterruptEnable registers work in the same way as the HcInterruptStatus and HcInterruptEnable registers in the interrupt group 2. The output from the 6-input OR gate is connected to a latch, which is controlled by InterruptPinEnable (bit 0 of the HcHardwareConfiguration register). In the event in which the software wishes to temporarily disable the interrupt output of the ISP1160 Host Controller, the following procedure should be followed: 1. Make sure that the InterruptPinEnable bit in the HcHardwareConfiguration register is set to logic 1. 2. Clear all bits in the HcPInterrupt register. 3. Set the InterruptPinEnable bit to logic 0.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
group 1
ClkReady
ATLInt
ATLInt
15 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
To reenable the interrupt generation: 1. Set all bits in the HcPInterrupt register. 2. Set the InterruptPinEnable bit to logic 1. Remark: The InterruptPinEnable bit in the HcHardwareConfiguration register latches the interrupt output. When this bit is set to logic 0, the interrupt output will remain unchanged, regardless of any operations on the interrupt control registers. If INT1 is asserted, and the HCD wishes to temporarily mask off the INT signal without clearing the HcPInterrupt register, the following procedure should be followed: 1. Make sure that the InterruptPinEnable bit is set to logic 1. 2. Clear all bits in the HcPInterruptEnable register. 3. Set the InterruptPinEnable bit to logic 0. To reenable the interrupt generation: 1. Set all bits in the HcPInterruptEnable register according to the HCD requirements. 2. Set the InterruptPinEnable bit to logic 1.
9. Philips slave Host Controller (HC)
9.1 HC's four USB states
The ISP1160's USB HC has four USB states - USB Operational, USB Reset, USB Suspend and USB Resume - that define the HC's USB signalling and bus states responsibilities. The signals are visible to the HC (software) Driver via the ISP1160 USB HC's control registers.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
16 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
USBOperational
USBReset write
USBOperational write
USBReset write USBOperational write USBResume USBReset
USBSuspend write USBResume write or remote wake-up USBReset write USBSuspend
MGT947
hardware or software reset
Fig 14. The ISP1160 HC's USB states.
USB states are reflected in the HostControllerFunctionalState field of the HcControl register (01H - Read, 81H - Write), which is located at bits 7 and 6 of the register. The HC Driver (HCD) can perform only the USB state transitions shown in Figure 14. Remark: The Software Reset in Figure 14 is not caused by the HcSoftwareReset command. It is caused by the HostControllerReset field of the HcCommandStatus register (02H - Read, 82H - Write).
9.2 Generating USB traffic
USB traffic can be generated only when the ISP1160 USB HC is under the USB Operational State. Therefore, the HCD must set the HostControllerFunctionalState field of the HcControl register before generating USB traffic. A simplistic flow diagram showing when and how to generate USB traffic is shown in Figure 15. For greater accuracy, refer to the Universal Serial Bus Specification Rev. 2.0 for the USB protocol and the ISP1160 USB HC's register usage.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
17 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Reset
Exit no
Initialize HC
HC state = USB_Operational
Need USB traffic?
yes
Prepare PTD data in P system RAM
Transfer PTD data into HC FIFO buffer RAM
Entry
HC informs HCD of USB traffic results
HC performs USB transactions via USB bus I/F
HC interprets PTD data
MGT948
Fig 15. The ISP1160 HC operating flow.
Description of the flow diagram:
* Reset
This includes hardware reset by pin RESET and software reset by the HcSoftwareReset command (A9H). The reset function will clear all the HC's internal control registers to their reset status. After reset, the HCD must initialize the ISP1160 USB HC by setting some registers.
* Initialize HC
It includes: - Setting the physical size for the HC's internal FIFO buffer RAM by setting the HcITLBufferLength register (2AH - Read, AAH - Write) and the HcATLBufferLength register (2BH - Read, ABH - Write) - Setting the HcHardwareConfiguration register according to requirements - Clearing interrupt events, if required - Enabling interrupt events, if required - Setting the HcFmInterval register (0DH - Read, 8DH - Write) - Setting the HC's Root Hub registers - Setting the HcControl register to move the HC into USB Operational state See also Section 9.5.
* Entry
The normal entry point. The microprocessor returns to this point when there are HC requests.
* Need USB traffic
USB devices need the HC to generate USB traffic when they have USB traffic requests such as: - Connecting to or disconnecting from downstream ports - Issuing the Resume signal to the HC To generate USB traffic, the HCD must enter the USB transaction loop.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
18 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
* Prepare PTD data in microprocessor's system RAM
The communication channel between the HCD and the ISP1160's USB HC is in the form of Philips Transfer Descriptor (PTD) data. The PTD data provides USB traffic information about the commands, status and USB data packets. The physical storage media of PTD data for the HCD is the microprocessor's system RAM. For the ISP1160's USB HC, it is the ISP1160's internal FIFO buffer RAM. The HCD prepares PTD data in the microprocessor's system RAM for transfer to the ISP1160's HC internal FIFO buffer RAM.
* Transfer PTD data into HC's FIFO buffer RAM
When PTD data is ready in the microprocessor's system RAM, the HCD must transfer the PTD data from the microprocessor's system RAM into the ISP1160's internal FIFO buffer RAM.
* HC interprets PTD data
The HC determines what USB transactions are required based on the PTD data that has been transferred into the internal FIFO buffer RAM.
* HC performs USB transactions via USB bus interface
The HC performs the USB transactions with the specified USB device endpoint through the USB bus interface.
* HC informs HCD the USB traffic results
The USB transaction status and the feedback from the specified USB device endpoint will be put back into the ISP1160's HC internal FIFO buffer RAM in PTD data format. The HCD can read back the PTD data from the internal FIFO buffer RAM.
9.3 PTD data structure
The Philips Transfer Descriptor (PTD) data structure provides a communication channel between the HCD and the ISP1160's USB HC. PTD data contains information required by the USB traffic. PTD data consists of a PTD followed by its payload data, as shown in Figure 16.
FIFO buffer RAM top PTD PTD data #1 payload data PTD PTD data #2 payload data
PTD payload data PTD data #N
bottom
MGT949
Fig 16. PTD data in FIFO buffer RAM.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
19 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
The PTD data structure is used by the HC to define a buffer of data that will be moved to or from an endpoint in the USB device. This data buffer is set up for the current frame (1 ms frame) by the firmware, the HCD. The payload data for every transfer in the frame must have a PTD as the header to describe the characteristic of the transfer. PTD data is DWORD (double-word or 4-byte) aligned. 9.3.1 PTD data header definition The PTD forms the header of the PTD data. It tells the HC the transfer type, where the payload data should go, and the payload data's actual size. A PTD is an 8-byte data structure that is very important for HCD programming.
Table 4: Bit Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Table 5: Symbol ActualBytes[9:0] reserved Format B5_5 EndpointNumber[3:0] reserved reserved Philips Transfer Descriptor (PTD): bit description Access R/W Description Contains the number of bytes that were transferred for this PTD. CompletionCode[3:0] Philips Transfer Descriptor (PTD): bit allocation 7 6 5 4 3 Active MaxPacketSize[7:0] Last TotalBytes[7:0] DirectionPID[1:0] TotalBytes[9:8] FunctionAddress[6:0] Speed MaxPacketSize[9:8] 2 Toggle 1 0 ActualBytes[7:0] ActualBytes[9:8]
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
20 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Table 5: Symbol
Philips Transfer Descriptor (PTD): bit description...continued Access R/W 0000 0001 0010 0011 0100 0101 0110 0111 1000 NoError CRC BitStuffing DataToggleMismatch Stall DeviceNotResponding PIDCheckFailure UnexpectedPID DataOverrun Description General TD or Isochronous data packet processing completed with no detected errors. Last data packet from endpoint contained a CRC error. Last data packet from endpoint contained a bit stuffing violation. Last packet from endpoint had data toggle PID that did not match the expected value. TD was moved to the Done queue because the endpoint returned a STALL PID. Device did not respond to token (IN) or did not provide a handshake (OUT). Check bits on PID from endpoint failed on data PID (IN) or handshake (OUT). Received PID was not valid when encountered or PID value is not defined. The amount of data returned by the endpoint exceeded either the size of the maximum data packet allowed from the endpoint (found in MaximumPacketSize field of ED) or the remaining buffer size. The endpoint returned is less than MaximumPacketSize and that amount was not sufficient to fill the specified buffer. During an IN, the HC received data from an endpoint faster than it could be written to system memory. During an OUT, the HC could not retrieve data from the system memory fast enough to keep up with the USB data rate.
CompletionCode[3:0]
1001
DataUnderrun
1010 1011 1100 1101
reserved reserved BufferOverrun BufferUnderrun
Active
R/W
Set to logic 1 by firmware to enable the execution of transactions by the HC. When the transaction associated with this descriptor is completed, the HC sets this bit to logic 0, indicating that a transaction for this element should not be executed when it is next encountered in the schedule. Used to generate or compare the data PID value (DATA0 or DATA1). It is updated after each successful transmission or reception of a data packet. The maximum number of bytes that can be sent to or received from the endpoint in a single data packet. USB address of the endpoint within the function. Last PTD of a list (ITL or ATL). A logic 1 indicates that the PTD is the last PTD. Speed of the endpoint: S = 0 -- full speed S = 1 -- low speed
Toggle MaxPacketSize[9:0] EndpointNumber[3:0] Last (PTD) (Low) Speed
R/W R R R R
TotalBytes[9:0]
R
Specifies the total number of bytes to be transferred with this data structure. For Bulk and Control only, this can be greater than MaximumPacketSize.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
21 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Table 5: Symbol
Philips Transfer Descriptor (PTD): bit description...continued Access R 00 01 10 11 SETUP OUT IN reserved Description
DirectionPID[1:0]
B5_5
R/W
This bit is logic 0 at power-on reset. When this feature is not used, software used in the ISP1160 is the same for ISP1161 and ISP1161A. When this bit is set to logic 1 in this PTD for interrupt endpoint transfer, only 1 PTD USB transaction will be sent out in 1 ms. The format of this data structure. If this is a Control, Bulk or Interrupt endpoint, then Format = 0. If this is an Isochronous endpoint, then Format = 1. This is the USB address of the function containing the endpoint that this PTD refers to.
Format FunctionAddress[6:0]
R R
9.4 HC's internal FIFO buffer RAM structure
9.4.1 Partitions According to the Universal Serial Bus Specification Rev. 2.0, there are four types of USB data transfers: Control, Bulk, Interrupt and Isochronous. The HC's internal FIFO buffer RAM has a physical size of 4 kbytes. This internal FIFO buffer RAM is used for transferring data between the microprocessor and USB peripheral devices. This on-chip buffer RAM can be partitioned into two areas: Acknowledged Transfer List (ATL) buffer and Isochronous (ISO) Transfer List (ITL) buffer. The ITL buffer is a Ping-Pong structured FIFO buffer RAM that is used to keep the payload data and their PTD header for Isochronous transfers. The ATL buffer is a non Ping-Pong structured FIFO buffer RAM that is used for the other three types of transfers. The ITL buffer can be further partitioned into ITL0 and ITL1 for the Ping-Pong structure. The ITL0 and ITL1 buffers always have the same size. The microprocessor can put ISO data into either the ITL0 buffer or the ITL1 buffer. When the microprocessor accesses an ITL buffer, the HC can take over another ITL buffer at the same time. This architecture can improve the ISO transfer performance. The Host Controller Driver can assign the logical size for the ATL buffer and ITL buffers at any time, but normally at initialization after power-on reset, by setting the HcATLBufferLength register (2BH - Read, ABH - Write) and the HcITLBufferLength register (2AH - Read, AAH - Write), respectively. However, the total length (ATL buffer + ITL buffer) should not exceed 4 kbytes, the maximum RAM size. Figure 17 shows the partitions of the internal FIFO buffer RAM. When assigning buffer RAM sizes, follow this formula: ATL buffer length + 2 x (ITL buffer size) 1000H (that is, 4 kbytes) where: ITL buffer size = ITL0 buffer length = ITL1 buffer length The following assignments are examples of legal uses of the internal FIFO buffer RAM:
* ATL buffer length = 800H, ITL buffer length = 400H.
This is the maximum use of the internal FIFO buffer RAM.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
22 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
* ATL buffer length = 400H, ITL buffer length = 200H.
This is insufficient use of the internal FIFO buffer RAM.
* ATL buffer length = 1000H, ITL buffer length = 0H.
This will use the internal FIFO buffer RAM for only ATL transfers.
* ATL buffer length = 0H, ITL buffer length = 800H.
This will use the internal FIFO buffer RAM for only ISO transfers.
FIFO buffer RAM top ITL0 ITL buffer ITL1 ISO_B programmable sizes ISO_A
ATL buffer
ATL
control/bulk/interrupt data
not used bottom
MGT950
4 kbytes
Fig 17. HC internal FIFO buffer RAM partitions.
The actual requirement for the buffer RAM need not reach the maximum size. You can make your selection based on your application. The following are some calculations of the ISO_A or ISO_B space for a frame of data: maximum number of useful data sent during one USB frame is 1280 bytes (20 ISO packets of 64 bytes). Total RAM size needed for this is 20 x 8 + 1280 = 1440 bytes.
* Maximum number of packets for different endpoints sent during one USB frame is
150 (150 ISO packets of 1 byte). Total RAM size needed is: 150 x 8 + 150 x 1 = 1350 bytes.
* The Ping buffer RAM (ITL0) and the Pong buffer RAM (ITL1) have a maximum size
of 2 kbytes each. All data needed for one frame can be stored in the Ping or the Pong buffer RAM. When the embedded system wants to initiate a transfer to the USB bus, the data needed for one frame is transferred to the ATL buffer or the ITL buffer. The microprocessor detects the buffer status through interrupt routines. When the HcBufferStatus register (2CH - Read only) indicates that the buffer is empty, the microprocessor can write data into the buffer. When the HcBufferStatus register indicates that the buffer is full, that is, data is ready on the buffer, the microprocessor needs to read data from the buffer. For every 1 ms, there might be many events to generate interrupt requests to the microprocessor for data transfer or status retrieval. However, each of the interrupt types defined in this specification can be enabled or disabled by setting HcPInterruptEnable register bits accordingly.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
23 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
The data transfer can be done via the PIO mode or the DMA mode. The data transfer rate can go up to 15 Mbyte/s. In the DMA operation, the single-cycle or multi-cycle burst modes are supported. For the multi-cycle burst mode, 1, 4 or 8 cycles per burst is supported for the ISP1160. 9.4.2 Data organization PTD data is used for every data transfer between a microprocessor and the USB bus, and the PTD data resides in the buffer RAM. For an OUT or SETUP transfer, the payload data is placed just after the PTD, after which the next PTD is placed. For an IN transfer, some RAM space is reserved for receiving a number of bytes that is equal to the total bytes of the transfer. After this, the next PTD and its payload data are placed (see Figure 18). Remark: The PTD is defined for both the ATL and ITL type data transfer. For ITL, the PTD data should be put into ITL buffer RAM, the ISP1160 takes care of the Ping-Pong action for the ITL buffer RAM access.
RAM buffer top PTD of OUT transfer 000H
payload data of OUT transfer
PTD of IN transfer
empty space for IN total data
PTD of OUT transfer
payload data of OUT transfer
bottom
MGT952
7FFH
Fig 18. Buffer RAM data organization.
The PTD data (PTD header and its payload data) is a structure of DWORD alignment. This means that the memory address is organized in steps of 4 bytes. Therefore, the first byte of every PTD and the first byte of every payload data are located at an address that is a multiple of 4. Figure 19 illustrates an example in which the first payload data is 14 bytes long, meaning that the last byte of the payload data is at the location 15H. The next addresses (16H and 17H) are not multiples of 4. Therefore, the first byte of the next PTD will be located at the next multiple-of-four address, 18H.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
24 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
RAM buffer top PTD (8 bytes) 08H 00H
payload data (14 bytes)
15H 18H PTD (8 bytes) 20H payload data
MGT953
Fig 19. PTD data with DWORD alignment in buffer RAM.
9.4.3
Operation & C Program Example Figure 20 shows the block diagram for internal FIFO buffer RAM operations by the PIO mode. The ISP1160 provides one register as the access port for each buffer RAM. For the ITL buffer RAM, the access port is the ITLBufferPort register (40H - Read, C0H - Write). For the ATL buffer RAM, the access port is the ATLBufferPort register (41H - Read, C1H - Write). The buffer RAM is an array of bytes (8 bits) while the access port is a 16-bit register. Therefore, each read/write operation on the port accesses two consecutive memory locations, incrementing the pointer of the internal buffer RAM by two. The lower byte of the access port register corresponds to the data byte at the even location of the buffer RAM, and the higher byte in the access port register corresponds to the other data byte at the odd location of the buffer RAM. Regardless of the number of data bytes to be transferred, the command code must be issued merely once, and it will be followed by a number of accesses of the data port (see Section 8.4). When the pointer of the buffer RAM reaches the value of the HcTransferCounter register, an internal EOT signal will be generated to set bit 2, AllEOTInterrupt, of the HcPInterrupt register and update the HcBufferStatus register, to indicate that the whole data transfer has been completed. For ITL buffer RAM, every start of frame (SOF) signal (1 ms) will cause toggling between ITL0 and ITL1 but this depends on the buffer status. If both ITL0BufferFull and ITL1BufferFull of the HcBufferStatus register are already logic 1, meaning that both ITL0 and ITL1 buffer RAMs are full, the toggling will not happen. In this case, the microprocessor will always have access to ITL1.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
25 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
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) that will be set into the HcTransferCounter register as 50H. The data consists of four types of PTD data: 1. The first PTD header (IN) is 8 bytes, followed by 16 bytes of space reserved for its payload data; 2. The second PTD header (IN) is also 8 bytes, followed by 8 bytes of space reserved for its payload data; 3. The third PTD header (OUT) is 8 bytes, followed by 16 bytes of payload data with values beginning from 0H to FH incrementing by 1; 4. The fourth PTD header (OUT) is also 8 bytes, followed by 8 bytes of payload data with values beginning from 0H to EH incrementing by 2. In all PTDs, we have assigned device address as 5 and endpoint 1. ActualBytes is always zero (0). TotalBytes equals the number of payload data bytes transferred. However, note that for bulk and control transfers, TotalBytes can be greater that MaxPacketSize. Table 6 shows the results after running this program.
//The example program for writing ATL buffer RAM #include #include #include //Define register commands #define wHcTransferCounter 0x22 #define wHcuPInterrupt 0x24 #define wHcATLBufferLength 0x2b #define wHcBufferStatus 0x2c // Define I/O Port Address for HC #define HcDataPort 0x290 #define HcCmdPort 0x292 //Declare external functions to be used unsigned int HcRegRead(unsigned int wIndex); void HcRegWrite(unsigned int wIndex,unsigned int wValue); void main(void) { unsigned int i; unsigned int wCount,wData; // Prepare PTD data to be written into HC ATL buffer RAM: unsigned int PTDData[0x28]= { 0x0800,0x1010,0x0810,0x0005, //PTD header for IN token #1 //Reserved space for payload data of IN token #1 0x0000,0x0000,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000, 0x0800,0x1008,0x0808,0x0005, //PTD header for IN token #2
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
26 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
//Reserved space for payload data of IN token #2 0x0000,0x0000,0x0000,0x0000, 0x0800,0x1010,0x0410,0x0005, //PTD header for OUT token #1 0x0100,0x0302,0x0504,0x0706, //Payload data for OUT token #1 0x0908,0x0b0a,0x0d0c,0x0f0e, 0x0800,0x1808,0x0408,0x0005, //PTD header for OUT token #2 0x0200,0x0604,0x0a08,0x0e0c //Payload data for OUT token #2 }; HcRegWrite(wHcuPInterrupt,0x04); //Clear EOT interrupt bit //HcRegWrite(wHcITLBufferLength,0x0); HcRegWrite(wHcATLBufferLength,0x1000); //RAM full use for ATL //Set the number of bytes to be transferred HcRegWrite(wHcTransferCounter,0x50); wCount = 0x28; //Get word count outport (HcCmdPort,0x00c1); //Command for ATL buffer write //write 80 (0x50) bytes of data into ATL buffer RAM for (i=0;i9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
27 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Table 6:
Run results of the C program example HC not initialized and not under Operational state 0 1 1 0 no HC initialized and under Comments Operational state 1 1 1 1 yes microprocessor must read ATL transfer completed transfer completed PTD data processed by HC OUT packets can be seen
Observed items HcPInterrupt register Bit 1 (ATLInt) Bit 2 (AllEOTInterrupt) HcBufferStatus register Bit 2 (ATLBufferFull) Bit 5 (ATLBufferDone) USB traffic on USB Bus
However, if communication with a peripheral USB device is desired, the device should be connected to the downstream port and pass enumeration.
1 Host bus I/F
command port Control registers data port
0 A0 22H/A2H 24H/A4H TransferCounter PInterrupt
Commands Command register EOT 2 1 0
=
2CH 40H/C0H 41H/C1H BufferStatus ITLBufferPort ATLBufferPort (16-bit width) toggle T
internal EOT
SOF
BufferStatus
000H 001H
000H 001H
000H 001H
Pointer automatically increments by 2
3FFH ITL0 buffer RAM (8-bit width)
3FFH ITL1 buffer RAM (8-bit width)
7FFH ATL buffer RAM (8-bit width)
MGT951
Fig 20. PIO access to internal FIFO buffer RAM.
9.5 HC's operational model
Upon power up, the HCD sets up all operational registers (32-bit). The FSLargestDataPacket field (bits 30 to 16) of the HcFmInterval register (0DH - Read, 8DH - Write) and the HcLSThreshold register (11H - Read, 91H - Write) determine
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
28 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
the end of the frame for full-speed and low-speed packets. By programming these fields, the effective USB bus usage can be changed. Furthermore, the size of the ITL buffers (HcITLBufferLength, 2AH - Read, AAH - Write) is programmed. If a USB frame contains both ISO and AT packets, two interrupts will be generated per frame. One interrupt is issued concurrently with the SOF. This interrupt (ITLint is set in the HcPInterrupt register) triggers reading and writing of the ITL by the microprocessor, after which the interrupt is cleared by the microprocessor. Next the programmable AT Interrupt (ATLint is set in the HcPInterrupt register) is issued, which triggers reading and writing of the ITL by the microprocessor, after which the interrupt is cleared by the microprocessor. If the microprocessor cannot handle the ISO interrupt before the next ISO interrupt, disrupted ISO traffic can result. To be able to send more than one packet to the same Control or Bulk endpoint in the same frame, an active bit and a 'TotalBytes of transfer' field are introduced (see Table 5). The active bit is cleared only if all data of the Philips Transfer Descriptor (PTD) are transferred or if a transaction at that endpoint contained a fatal error. If all PTD of the ATL are serviced once and the frame is not over yet, the HC starts looking for a PTD with the active bit still set. If such a PTD is found and there is still enough time in this frame, another transaction is started on the USB bus for this endpoint. For ISO processing, the Host Controller Driver has also to take care of the BufferStatus register (2CH, Read only) for the ITL buffer RAM operations. After the Host Controller Driver writes ISO data into ITL buffer RAM, the ITL0BufferFull or ITL1BufferFull bit (depends if it is ITL0 or ITL1) will be set to logic 1. After the HC processes the ISO data in the ITL buffer RAM, the corresponding ITL0BufferDone or ITL1BufferDone bit will automatically be set to logic 1. The Host Controller Driver can clear buffer status bits by a read of the ITL buffer RAM, and this must be done within the 1 ms frame from which ITL0BufferDone or ITL1BufferDone was set. Failure to do so will cause the ISO processing to stop and a power on reset or software reset will have to be applied to the HC, a USB reset to the USB bus must not be made. For example, in the first frame, for the HCD doing a write of ISO-A data into the ITL0 buffer. This will cause the BufferStatus register to show that the ITL0 buffer is full by setting the ITL0BufferFull bit to logic 1. At this stage the Host Controller Driver cannot write ISO data into the ITL0 buffer RAM again. In the second frame, the Host Controller will process the ISO-A data in the ITL0 buffer. At the same time, the HCD can write ISO-B data into the ITL1 buffer. When the next SOF comes (the beginning of the third frame), both ITL1BufferFull and ITL0BufferDone are automatically set to logic 1. In the third frame the HCD has to read ITL0 buffer at least two bytes (one word) to clear both the ITL0BufferFull and ITL0BufferDone bits. If both are not cleared, when the next SOF comes (the beginning of the fourth frame) the ITL0BufferDone bit will be cleared automatically, but the ITL0BufferFull bit remains at logic 1 and the ITL0BufferFull bit will be unable to be cleared. This condition will disable the HCD from writing ISO data into the ITL0
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
29 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
buffer again and ISO processing be unable to be carried on. This also applies to the ITL1 buffer because the ITL0 and ITL1 are Ping-Pong structured buffers. To recover from this state the power-on reset or software reset will have to be applied on the HC. 9.5.1 Time domain behavior In example 1 (Figure 21), the CPU is fast enough to read back and download a scenario before the next interrupt. Note that on the ISO interrupt of frame N:
* The ISO packet for frame N + 1 will be written * The AT packet for frame N + 1 will be written.
AT interrupt SOF (frame N) traffic on USB (frame N + 1) (frame N + 2) (frame N + 3)
MGT954
ISO interrupt
read ISO_A(N - 1) write ISO_A(N + 1) read AT(N) write AT(N + 1)
Fig 21. HC time domain behavior: example 1.
In example 2 (Figure 22), the microprocessor is still busy transferring the AT data when the ISO interrupt of the next frame (N + 1) is raised. As a result, there will be no AT traffic in frame N + 1. The HC does not raise an AT interrupt in frame N + 1. The AT part is simply postponed until frame N + 2. On the AT N + 2 interrupt, the transfer mechanism is back to the normal operation. This simple mechanism ensures, among other things, that Control transfers are not dropped systematically from the USB in case of an overloaded microprocessor.
(frame N)
(frame N + 1)
(frame N + 2)
(frame N + 3)
MGT955
Fig 22. HC time domain behavior: example 2.
In example 3 (Figure 23), the ISO part is still being written while the Start of Frame (SOF) of the next frame has occurred. This will result in undefined behavior for the ISO data on the USB bus in frame N + 1 (depending on the exact timing data is corrupted or not). The HC should not raise an AT interrupt in frame N + 1.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
30 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
(frame N)
(frame N + 1)
(frame N + 2)
(frame N + 3)
MGT956
Fig 23. HC time domain behavior: example 3.
9.5.2
Control transaction limitations The different phases of a Control transfer (SETUP, Data and Status) should never be put in the same ATL.
9.6 Microprocessor loading
The maximum amount of data that can be transferred for an endpoint in one frame is 1023 bytes. The number of USB packets that are needed for this batch of data depends on the Maximum Packet Size that is specified. The HCD has to schedule the transactions in a frame. On the other hand, the microprocessor must have the ability to handle the interrupts coming from the HC every 1 ms. It must also be able to do the scheduling for the next frame, reading the frame information from and writing the next frame information to the buffer RAM in the time between the end of the current frame and the start of the next frame.
9.7 Internal pull-down resistors for downstream ports
There are four internal 15 k pull-down resistors built in the ISP1160 for the two downstream ports: two resistors for each port. These resistors are software selectable by programming bit 12 of the HcHardwareConfiguration register (20H - Read, A0H - Write). When bit 12 is cleared to logic 0, it means that external 15 k pull-down resistors should be used. Bit 12 is set to logic 1 that indicates the internal built in 15 k pull-down resistors will be used instead of external ones. See Figure 24. This feature is a cost-saving option. However, the power-on reset default value is logic 0. If you want to use the internal resistors, the HCD must check this bit status after every reset, because a reset action will clear this bit regardless of it being a hardware reset or a software reset.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
31 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
VBUS
USB connector
ISP1160
D- D+ 22 HcHardware Configuration bit 12 47 pF (2x) 22
internal 15 k (2x)
external 15 k (2x)
004aaa064
Using either internal or external 15 k resistors.
Fig 24. Use of 15 k pull-down resistors on downstream ports.
9.8 Overcurrent detection and power switching control
A downstream port provides 5 V power supply to VBUS. The ISP1160 has built-in hardware functions to monitor the downstream ports loading conditions and control their power switching. These hardware functions are implemented by the internal power switching control circuit and overcurrent detection circuit. H_PSW1 and H_PSW2 are power switching control output pins (active LOW, open-drain) for downstream port 1 and 2, respectively. H_OC1 and H_OC2 are overcurrent detection input pins for downstream ports 1 and 2, respectively. Let H_PSWn denote either H_PSW1 or H_PSW2 and H_OCn denote either H_OC1 or H_OC2. Figure 25 shows the ISP1160 downstream port power management scheme.
regulator (+5 V or +3.3 V) OC detect OC select 1 0 Reg PSW H_PSWn C/L V CC HC CORE HcHardware Configuration bit 10
H_OCn
ISP1160
004aaa065
Fig 25. Downstream port power management scheme.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
32 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
9.8.1
Using internal OC detection circuit The internal OC detection circuit can be used only when VCC (pin 56) is connected to a 5 V power supply. The HCD must set AnalogOCEnable, bit 10 of the HcHardwareConfiguration register, to logic 1. An application using the internal OC detection circuit and internal 15 k pull-down resistors is shown in Figure 26, where H_DMn denotes either pin H_DM1 or H_DM2, while H_DPn denotes either pin H_DP1 or H_DP2. In this example, the HCD must set both AnalogOCEnable and DownstreamPort15KresistorSel to logic 1. They are bit 10 and bit 12 of the HcHardwareConfiguration register, respectively. When H_OCn detects an overcurrent status on a downstream port, H_PSWn will output HIGH, a logic 1 to turn off the 5 V power supply to the downstream port VBUS. When there is no such detection, H_PSWn will output LOW, a logic 0 to turn on the 5 V power supply to the downstream port VBUS. In general applications, we can use a P-channel MOSFET as the power switch for VBUS. Connect the 5 V power supply to the drain pole of the P-channel MOSFET, VBUS to the source pole, and H_PSWn to the gate pole. We call the voltage drop (V) across the drain and source poles the overcurrent trip voltage. For the internal overcurrent detection circuit, a voltage comparator has been designed-in, with a nominal voltage threshold of 75 mV. Therefore, when the overcurrent trip voltage (V) exceeds the voltage threshold, H_PSWn will output a HIGH level, logic 1 to turn off the P-channel MOSFET. If the P-channel MOSFET has a RDSon of 150 m, the overcurrent threshold will be 500 mA. The selection of a P-channel MOSFET with a different RDSon will result in a different overcurrent threshold.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
33 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
P-Ch MOSFET +5 V
regulator VCC OC detect HC CORE HcHardware Configuration bit 10
OC select 1 0 Reg
V = + 5 V - VBUS
H_OCn
VBUS H_PSWn USB downstream port connector
PSW
C/L
22 22
H_DMn ATX H_DPn bit 12 SIE
47 pF (2x)
HcHardware Configuration
15 k (2x)
ISP1160
004aaa066
Fig 26. Using internal OC detection circuit.
9.8.2
Using external OC detection circuit When VCC (pin 56) is connected to the 3.3 V power supply instead of the 5 V power supply, then the internal OC detection circuit cannot be used. An external OC detection circuit must be used instead. Nevertheless, regardless of VCC's connections, an external OC detection circuit can be used from time to time. To use an external OC detection circuit, AnalogOCEnable, bit 10 of the HcHardwareConfiguration register, should be set to logic 0. By default after reset, this bit is already set to logic 0; therefore, the HCD does not need to clear this bit. Figure 27 shows how to use an external OC detection circuit.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
34 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
+ 3.3 V or + 5 V regulator VCC VBUS external OC detect Vo Vi OC EN H_PSWn USB downstream port connector C/L H_OCn +5 V OC detect HC CORE HcHardware Configuration bit 10
OC select 1 0 Reg PSW
22 22
H_DMn ATX H_DPn bit 12 SIE
47 pF (2x)
HcHardware Configuration
15 k (2x)
ISP1160
004aaa067
Fig 27. Using external OC detection circuit.
9.9 Suspend and wake-up
9.9.1 HC suspended state The HC can be put into suspended state by setting the HcControl register (01H - Read, 81H - Write). See Figure 14 for the HC's flow of USB states changes.
XOSC_6MHz XOSC On On
PLL_Lock HC PLL PLL_ClkOut
HC_ClkOk DIGITAL CLOCK SWITCH On HC_Clk48MOut
HC_RawClk48M
HC_EnableClock
HC CORE
HcHardware Configuration On VOLTAGE REGULATOR H_Wakeup (pin) bit 11 (SuspendClkNotStop) HC_NeedClock
CS (pin)
004aaa076
Fig 28. The ISP1160 suspend and resume clock scheme.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
35 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
When the ISP1160 is in a suspended state, it will consume considerably less power by turning off the internal 48 MHz clock, PLL and crystal, and setting the internal regulator to power-down mode. The ISP1160 suspend and resume clock scheme is shown in Figure 28. Pin H_SUSPEND is the sensing output pin for HC's suspended state. When the HC goes into SUSPEND state, this pin will output a HIGH level (logic 1). This pin is cleared to LOW (logic 0) level only when the HC is put into a RESET state or OPERATIONAL state (refer to the HcControl register bits 7 to 6, 01H - Read, 81H - Write). By setting bit 11, SuspendClkNotStop, of the HcHardwareConfiguration register (20H - Read, A0H - Write), you can also define such that when the HC goes into SUSPEND state, its internal clock is stopped or kept running. After the HC enters the SUSPEND state for 1.3 ms, the internal clock will be stopped if bit SuspendClkNotStop is logic 0. 9.9.2 HC wake-up from suspended state There are three methods to wake up the HC from the USB SUSPEND state: hardware wake-up, software wake-up, and USB bus resume. They are described as follows. Wake-up by pin H_WAKEUP: Pins H_SUSPEND and H_WAKEUP provide hardware wake-up, a way of remote wake-up control for the HC without the need to access the HC internal registers. H_WAKEUP is an external wake-up control input pin for the HC. After the HC goes into SUSPEND state, it can be woken up by sending a HIGH level pulse to pin H_WAKEUP. This will turn on the HC's internal clock, and set bit 6, ClkReady, of the HcPInterrupt register (24H - Read, A4H - Write). Under the SUSPEND state, once pin H_WAKEUP goes HIGH, after 160 s, the internal clock will be up. If pin H_WAKEUP continues to be HIGH, then the internal clock will be kept running, and the microprocessor can set the HC into OPERATIONAL state during this time. If H_WAKEUP goes LOW for more than 1.14 ms, the internal clock stops and the HC goes back into SUSPEND state. Wake-up by pin CS (software wake-up): During the SUSPEND state, an external microprocessor issues the chip select signal through pin CS to the ISP1160. This method of access to ISP1160 internal registers is a software wake-up. Wake-up by USB devices: For the USB bus resume, a USB device attached to the Root Hub port issues a resume signal to the HC through the USB bus, switching the HC from SUSPEND state to RESUME State. This will also set the ResumeDetected bit, bit 3 of the HcInterruptStatus register (03H - Read, 83H - Write). No matter which method is used to wake up the HC from SUSPEND state, you must enable the corresponding interrupt bits before the HC goes into SUSPEND state so that the microprocessor can receive the correct interrupt request to wake up the HC.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
36 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
10. HC registers
The HC contains a set of on-chip control registers. These registers can be read or written by the Host Controller Driver (HCD). The Control and Status register sets, Frame Counter register sets, and Root Hub register sets are grouped under the category of HC Operational registers (32 bits). These operational registers are made compatible to OpenHCI (Host Controller Interface) operational registers. This makes a provision that the OpenHCI HCD can be ported to the ISP1160 easily. Reserved bits may be defined in future releases of this specification. To ensure interoperability, the HCD that does not use a reserved field must not assume that the reserved field contains logic 0. Furthermore, the HCD must always preserve the values of the reserved field. When a R/W register is modified, the HCD must first read the register, modify the bits desired, and then write the register with the reserved bits still containing the read value. Alternatively, the HCD can maintain an in-memory copy of previously written values that can be modified and then written to the HC register. When a write to set or clear the register is written, bits written to reserved fields must be logic 0. As shown in Table 7, the offset locations (the commands for reading registers) of these operational registers (the 32-bit registers) are similar to those defined in the OHCI specification, however, the addresses are equal to offset divided by 4.
Table 7: Read 00 01 02 03 04 05 0D 0E 0F 11 12 13 14 15 16 20 21 22 24 25 HC registers summary Register HcRevision HcControl HcCommandStatus HcInterruptStatus HcInterruptEnable HcInterruptDisable HcFmInterval HcFmRemaining HcFmNumber HcLSThreshold HcRhDescriptorA HcRhDescriptorB HcRhStatus HcRhPortStatus[1] HcRhPortStatus[2] HcHardwareConfiguration HcDMAConfiguration HcTransferCounter HcPInterrupt HcPInterruptEnable Width Functionality 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 16 16 16 16 16 HC DMA and interrupt control registers HC Root Hub registers HC frame counter registers HC control and status registers Write N/A 81 82 83 84 85 8D N/A N/A 91 92 93 94 95 96 A0 A1 A2 A4 A5
Address (Hex)
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
37 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HC registers summary...continued Register HcChipID HcScratch HcSoftwareReset HcITLBufferLength HcATLBufferLength HcBufferStatus HcReadBackITL0Length HcReadBackITL1Length HcITLBufferPort HcATLBufferPort Width Functionality 16 16 16 16 16 16 16 16 16 16 HC buffer RAM control registers HC miscellaneous registers Write N/A A8 A9 AA AB N/A N/A N/A C0 C1
Table 7: Read 27 28 N/A 2A 2B 2C 2D 2E 40 41
Address (Hex)
10.1 HC control and status registers
10.1.1
Table 8: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 1 R 0 R Table 9: Bit 31 to 8 7 to 0 1 R 0 R 0 R 7 0 R 6 0 R 5 0 R 4 REV[7:0] 0 R 0 R 0 R 0 R 0 R 15 0 R 14 0 R 13 0 R 12 reserved 0 R 3 0 R 2 0 R 1 0 R 0 0 R 23 0 R 22 0 R 21 0 R 20 reserved 0 R 11 0 R 10 0 R 9 0 R 8
HcRevision register (00H--Read only)
HcRevision register: bit allocation 31 30 29 28 reserved 0 R 19 0 R 18 0 R 17 0 R 16 27 26 25 24
HcRevision register: bit description Symbol - REV[7:0] Description reserved Revision: This read-only field contains the BCD representation of the version of the HCI specification that is implemented by this HC. For example, a value of 11H corresponds to version 1.1. All HC implementations that are compliant with this specification will have a value of 10H.
Code (Hex): 00 -- read only
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
38 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
10.1.2
HcControl register (01H--Read, 81H--Write) The HcControl register defines the operating modes of the HC. RemoteWakeupEnable (RWE) is modified only by the HCD.
Table 10: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access
HcControl register: bit allocation 31 0 R/W 23 0 R/W 15 0 R/W 7 HCFS[1:0] 0 R/W 0 R/W Table 11: Bit 31 to 11 10 0 R/W 0 R/W 0 R/W 30 0 R/W 22 0 R/W 14 0 R/W 6 29 0 R/W 21 0 R/W 13 reserved 0 R/W 5 0 R/W 4 0 R/W 3 reserved 0 R/W 0 R/W 0 R/W 28 reserved 0 R/W 20 reserved 0 R/W 12 0 R/W 11 0 R/W 10 RWE 0 R/W 2 0 R/W 9 RWC 0 R/W 1 0 R/W 8 reserved 0 R/W 0 0 R/W 19 0 R/W 18 0 R/W 17 0 R/W 16 27 26 25 24
HcControl register: bit description Symbol RWE Description reserved RemoteWakeupEnable: This bit is used by the HCD to enable or disable the remote wake-up feature upon the detection of upstream resume signaling. When this bit is set and the ResumeDetected bit in HcInterruptStatus is set, a remote wake-up is signaled to the host system. Setting this bit has no impact on the generation of hardware interrupt. RemoteWakeupConnected: This bit indicates whether the HC supports remote wake-up signaling. If remote wake-up is supported and used by the system, it is the responsibility of system firmware to set this bit during POST. The HC clears the bit upon a hardware reset but does not alter it upon a software reset. Remote wake-up signaling of the host system is host-bus-specific and is not described in this specification.
9
RWC
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
39 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcControl register: bit description...continued Symbol HCFS Description reserved HostControllerFunctionalState for USB: 00B -- USBRESET 01B -- USBRESUME 10B -- USBOPERATIONAL 11B -- USBSUSPEND A transition to USBOPERATIONAL from another state causes start-of-frame (SOF) generation to begin 1 ms later. The HCD may determine whether the HC has begun sending SOFs by reading the StartofFrame field of HcInterruptStatus. This field may be changed by the HC only when in the USBSUSPEND state. The HC may move from the USBSUSPEND state to the USBRESUME state after detecting the resume signaling from a downstream port. The HC enters USBRESET after a software reset and a hardware reset. The latter also resets the Root Hub and asserts subsequent reset signaling to downstream ports.
Table 11: Bit 8 7 to 6
5 to 0
-
reserved
Code (Hex): 01 -- read Code (Hex): 81 -- write 10.1.3 HcCommandStatus register (02H--Read, 82H--Write) The HcCommandStatus register is used by the HC to receive commands issued by the HCD, and it also reflects the HC's current status. To the HCD, it appears to be a `write to set' register. The HC must ensure that bits written as logic 1 become set in the register while bits written as logic 0 remain unchanged in the register. The HCD may issue multiple distinct commands to the HC without concern for corrupting previously issued commands. The HCD has normal read access to all bits. The SchedulingOverrunCount field indicates the number of frames with which the HC has detected the scheduling overrun error. This occurs when the Periodic list does not complete before EOF. When a scheduling overrun error is detected, the HC increments the counter and sets the SchedulingOverrun field in the HcInterruptStatus register.
Table 12: Bit Symbol Reset Access Bit Symbol Reset Access 0 R 0 R 0 R 0 R 23 0 R 22 0 R 21 reserved 0 R 0 R 0 R 0 R 0 R 20 HcCommandStatus register: bit allocation 31 30 29 28 reserved 0 R 19 0 R 18 0 R 17 SOC[1:0] 0 R 0 R 16 27 26 25 24
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
40 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
13 0 R/W 5 0 R/W 12 reserved 0 R/W 4 reserved 0 R/W 11 0 R/W 3 0 R/W 10 0 R/W 2 0 R/W 9 0 R/W 1 0 R/W 8 0 R/W 0 HCR 0 R/W
Bit Symbol Reset Access Bit Symbol Reset Access
15 0 R/W 7 0 R/W
14 0 R/W 6 0 R/W Table 13: Bit 31 to 18 17 to 16
HcCommandStatus register: bit description Symbol SOC[1:0] Description reserved SchedulingOverrunCount: The field is incremented on each scheduling overrun error. It is initialized to 00B and wraps around at 11B. It will be incremented when a scheduling overrun is detected even if SchedulingOverrun in HcInterruptStatus has already been set. This is used by HCD to monitor any persistent scheduling problems. reserved HostControllerReset: This bit is set by HCD to initiate a software reset of HC. Regardless of the functional state of the HC, it moves to the USBSUSPEND state in which most of the operational registers are reset except those stated otherwise; e.g., the InterruptRouting field of HcControl, and no Host bus accesses are allowed. This bit is cleared by the HC upon the completion of the reset operation. The reset operation must be completed within 10 s. This bit, when set, should not cause a reset to the Root Hub and no subsequent reset signaling should be asserted to its downstream ports.
15 to 1 0
HCR
Code (Hex): 02 -- read Code (Hex): 82 -- write 10.1.4 HcInterruptStatus register (03H--Read, 83H--Write) This register provides the status of the events that cause hardware interrupts. When an event occurs, the HC sets the corresponding bit in this register. When a bit becomes set, a hardware interrupt is generated if the interrupt is enabled in the HcInterruptEnable register (see Section 10.1.5) and the MasterInterruptEnable bit is set. The HCD can clear specific bits in this register by writing logic 1 to the bit positions to be cleared, but cannot set any of these bits. The HC can set bits in this register, but cannot clear these bits.
Table 14: Bit Symbol Reset Access 0 R/W 0 R/W 0 R/W 0 R/W HcInteruptStatus register: bit allocation 31 30 29 28 reserved 0 R/W 0 R/W 0 R/W 0 R/W 27 26 25 24
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
41 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
21 0 R/W 13 0 R/W 5 FNO 0 R/W 20 reserved 0 R/W 12 reserved 0 R/W 4 UE 0 R/W 19 0 R/W 11 0 R/W 3 RD 0 R/W 18 0 R/W 10 0 R/W 2 SF 0 R/W 17 0 R/W 9 0 R/W 1 reserved 0 R/W 16 0 R/W 8 0 R/W 0 SO 0 R/W
Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access
23 0 R/W 15 0 R/W 7 reserved 0 R/W
22 0 R/W 14 0 R/W 6 RHSC 0 R/W Table 15: Bit 31 to 7 6
HcInterruptStatus register: bit description Symbol RHSC Description reserved RootHubStatusChange: This bit is set when the content of HcRhStatus or the content of any of HcRhPortStatus[NumberofDownstreamPort] has changed. FrameNumberOverflow: This bit is set when the MSB of HcFmNumber (bit 15) changes value, from logic 0 to 1 or from logic 1 to 0. UnrecoverableError: This bit is set when the HC detects a system error not related to USB. The HC should not proceed with any processing nor signaling before the system error has been corrected. The HCD clears this bit after the HC has been reset. PHCI: Always set to logic 0. ResumeDetected: This bit is set when the HC detects that a device on the USB is asserting resume signaling. It is the transition from no resume signaling to resume signaling causing this bit to be set. This bit is not set when HCD sets the USBRESUME state. StartOfFrame: At the start of each frame, this bit is set by the HC and an SOF generated. reserved SchedulingOverrun: This bit is set when USB schedules for current frame overruns. A scheduling overrun will also cause the SchedulingOverrunCount of HcCommandStatus to be incremented.
5
FNO
4
UE
3
RD
2 1 0
SF SO
Code (Hex): 03 -- read Code (Hex): 83 -- write 10.1.5 HcInterruptEnable register (04H--Read, 84H--Write) Each enable bit in the HcInterruptEnable register corresponds to an associated interrupt bit in the HcInterruptStatus register. The HcInterruptEnable register is used to control which events generate a hardware interrupt. When these three conditions occur:
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
42 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
* A bit is set in the HcInterruptStatus register * The corresponding bit in the HcInterruptEnable register is set * The MasterInterruptEnable bit is set.
Then a hardware interrupt is requested on the host bus. Writing a logic 1 to a bit in this register sets the corresponding bit, whereas writing a logic 0 to a bit in this register leaves the corresponding bit unchanged. On a read, the current value of this register is returned.
Table 16: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 7 reserved 0 R/W 0 R/W 6 RHSC 0 R/W Table 17: Bit 31 0 R/W 5 FNO 0 R/W 0 R/W 4 UE 0 R/W 0 R/W 15 0 R/W 14 0 R/W 13 0 R/W 12 reserved 0 R/W 3 RD 0 R/W 0 R/W 2 SF 0 R/W 0 R/W 1 reserved 0 R/W 0 R/W 0 SO 0 R/W HcInterruptEnable register: bit allocation 31 MIE 0 R/W 23 0 R/W 22 0 R/W 21 0 R/W 20 reserved 0 R/W 11 0 R/W 10 0 R/W 9 0 R/W 8 30 29 28 27 reserved 0 R/W 19 0 R/W 18 0 R/W 17 0 R/W 16 26 25 24
HcInterruptEnable register: bit description Symbol MIE Description MasterInterruptEnable by the HCD: A logic 0 is ignored by the HC. A logic 1 enables interrupt generation by events specified in other bits of this register. reserved 0 -- ignore 1 -- enable interrupt generation due to Root Hub Status Change 0 -- ignore 1 -- enable interrupt generation due to frame Number Overflow 0 -- ignore 1 -- enable interrupt generation due to Unrecoverable Error 0 -- ignore 1 -- enable interrupt generation due to Resume Detect
30 to 7 6 5 4 3
RHSC FNO UE RD
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
43 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcInterruptEnable register: bit description...continued Symbol SF SO Description 0 -- ignore 1 -- enable interrupt generation due to Start of frame reserved 0 -- ignore 1 -- enable interrupt generation due to Scheduling Overrun
Table 17: Bit 2 1 0
Code (Hex): 04 -- read Code (Hex): 84 -- write 10.1.6 HcInterruptDisable register (05H--Read, 85H--Write) Each disable bit in the HcInterruptDisable register corresponds to an associated interrupt bit in the HcInterruptStatus register. The HcInterruptDisable register is coupled with the HcInterruptEnable register. Thus, writing a logic 1 to a bit in this register clears the corresponding bit in the HcInterruptEnable register, whereas writing a logic 0 to a bit in this register leaves the corresponding bit in the HcInterruptEnable register unchanged. On a read, the current value of the HcInterruptEnable register is returned.
Table 18: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 7 reserved 0 R/W 0 R/W 6 RHSC 0 R/W Table 19: Bit 31 0 R/W 5 FNO 0 R/W 0 R/W 4 UE 0 R/W 0 R/W 15 0 R/W 14 0 R/W 13 0 R/W 12 reserved 0 R/W 3 RD 0 R/W 0 R/W 2 SF 0 R/W 0 R/W 1 reserved 0 R/W 0 R/W 0 SO 0 R/W HcInterruptDisable register: bit allocation 31 MIE 0 R/W 23 0 R/W 22 0 R/W 21 0 R/W 20 reserved 0 R/W 11 0 R/W 10 0 R/W 9 0 R/W 8 30 29 28 27 reserved 0 R/W 19 0 R/W 18 0 R/W 17 0 R/W 16 26 25 24
HcInterruptDisable register: bit description Symbol MIE Description A logic 0 is ignored by the HC. A logic 1 disables interrupt generation due to events specified in other bits of this register. This field is set after a hardware or software reset. reserved 0 -- ignore 1 -- disable interrupt generation due to Root Hub Status Change
30 to 7 6
RHSC
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
44 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcInterruptDisable register: bit description...continued Symbol FNO UE RD SF SO Description 0 -- ignore 1 -- disable interrupt generation due to frame Number Overflow 0 -- ignore 1 -- disable interrupt generation due to Unrecoverable Error 0 -- ignore 1 -- disable interrupt generation due to Resume Detect 0 -- ignore 1 -- disable interrupt generation due to Start of frame reserved 0 -- ignore 1 -- disable interrupt generation due to Scheduling Overrun
Table 19: Bit 5 4 3 2 1 0
Code (Hex): 05 -- read Code (Hex): 85 -- write
10.2 HC frame counter registers
10.2.1 HcFmInterval register (0DH--Read, 8DH--Write) The HcFmInterval register contains a 14-bit value which indicates the bit time interval in a frame (that is, between two consecutive SOFs), and a 15-bit value indicating the full-speed maximum packet size that the HC may transmit or receive without causing a scheduling overrun. The HCD may carry out minor adjustments on the FrameInterval by writing a new value over the present one at each SOF. This provides the programmability necessary for the HC to synchronize with an external clocking resource and to adjust any unknown local clock offset.
Table 20: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access
9397 750 10765
HcFmInterval register: bit allocation 31 FIT 0 R/W 23 0 R/W 15 reserved 0 R/W 7 1 R/W 0 R/W 6 1 R/W 1 R/W 5 0 R/W 0 R/W 4 FI[7:0] 1 R/W 1 R/W 1 R/W 1 R/W 1 R/W 1 R/W 3 0 R/W 22 0 R/W 14 0 R/W 21 0 R/W 13 0 R/W 20 0 R/W 12 30 29 28 27 FSMPS[14:8] 0 R/W 19 0 R/W 11 FI[13:8] 1 R/W 2 1 R/W 1 0 R/W 0 0 R/W 18 0 R/W 10 0 R/W 17 0 R/W 9 0 R/W 16 0 R/W 8 26 25 24
FSMPS[7:0]
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
45 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcFmInterval register: bit description Symbol FIT FSMPS [14:0] Description FrameIntervalToggle: The HCD toggles this bit whenever it loads a new value to FrameInterval. FSLargestDataPacket: Specifies a value which is loaded into the Largest Data Packet Counter at the beginning of each frame. The counter value represents the largest amount of data in bits which can be sent or received by the HC in a single transaction at any given time without causing a scheduling overrun. The field value is calculated by the HCD. reserved FrameInterval: Specifies the interval between two consecutive SOFs in bit times. The nominal value is set to be 11999. The HCD must store the current value of this field before resetting the HC. By setting the HostControllerReset bit 0 field of HcCommandStatus register will cause the HC to reset this field to its nominal value. HCD may choose to restore the stored value upon completing the reset sequence.
Table 21: Bit 31 30 to 16
15 to 14 13 to 0
FI[13:0]
Code (Hex): 0D -- read Code (Hex): 8D -- write 10.2.2 HcFmRemaining register (0EH--Read only) The HcFmRemaining register is a 14-bit down counter showing the bit time remaining in the current frame.
Table 22: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 0 R 0 R 0 R 0 R 0 R 7 0 R 15 reserved 0 R 6 0 R 5 0 R 4 FR[7:0] 0 R 0 R 0 R 0 R 0 R 3 0 R 14 0 R 13 0 R 12 HcFmRemaining register: bit allocation 31 FRT 0 R 23 0 R 22 0 R 21 0 R 20 reserved 0 R 11 FR[13:8] 0 R 2 0 R 1 0 R 0 0 R 10 0 R 9 0 R 8 30 29 28 27 reserved 0 R 19 0 R 18 0 R 17 0 R 16 26 25 24
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
46 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcFmRemaining register: bit description Symbol FRT Description FrameRemainingToggle: This bit is loaded from the FrameIntervalToggle field of HcFmInterval whenever FrameRemaining reaches 0. This bit is used by the Host Controller Driver (HCD) for synchronization between FrameInterval and FrameRemaining. reserved FrameRemaining: This counter is decremented at each bit time. When it reaches zero, it is reset by loading the FrameInterval value specified in HcFmInterval at the next bit time boundary. When entering the USBOPERATIONAL state, the HC reloads it with the content of the FrameInterval part of the HcFmInterval register and uses the updated value from the next SOF.
Table 23: Bit 31
30 to 14 13 to 0
FR[13:0]
Code (Hex): 0E -- read 10.2.3 HcFmNumber register (0FH--Read only) The HcFmNumber register is a 16-bit counter. It provides a timing reference for events happening in the HC and the HCD. The HCD may use the 16-bit value specified in this register and generate a 32-bit frame number without requiring frequent access to the register.
Table 24: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 0 R 0 R Table 25: Bit 31 to 16 15 to 0 0 R 0 R 0 R 7 0 R 6 0 R 5 0 R 4 FN[7:0] 0 R 0 R 0 R 0 R 0 R 15 0 R 14 0 R 13 0 R 12 FN[15:8] 0 R 3 0 R 2 0 R 1 0 R 0 0 R 23 0 R 22 0 R 21 0 R 20 reserved 0 R 11 0 R 10 0 R 9 0 R 8 HCFmNumber register: bit allocation 31 30 29 28 reserved 0 R 19 0 R 18 0 R 17 0 R 16 27 26 25 24
HcFmNumber register: bit description Symbol - FN[15:0] Description reserved FrameNumber: This is incremented when HcFmRemaining is reloaded. It will be rolled over to 0H after FFFFH. When the USBOPERATIONAL state is entered, this will be incremented automatically. HC will set the StartofFrame in HcInterruptStatus.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
9397 750 10765
Product data
Rev. 03 -- 27 February 2003
47 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Code (Hex): 0F -- read 10.2.4 HcLSThreshold register (11H--Read, 91H--Write) The HcLSThreshold register contains an 11-bit value used by the HC to determine whether to commit to the transfer of a maximum of 8-byte LS packet before EOF. Neither the HC nor the HCD is allowed to change this value.
Table 26: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 0 R/W Table 27: Bit 31 to 11 10 to 0 1 R/W 0 R/W 0 R/W 7 0 R/W 6 0 R/W 15 0 R/W 14 0 R/W 13 reserved 0 R/W 5 0 R/W 4 LST[7:0] 1 R/W 0 R/W 0 R/W 0 R/W 0 R/W 3 1 R/W 2 0 R/W 12 0 R/W 23 0 R/W 22 0 R/W 21 0 R/W 20 reserved 0 R/W 11 0 R/W 10 0 R/W 9 LST[10:8] 1 R/W 1 0 R/W 0 0 R/W 8 HcLSThreshold register: bit allocation 31 30 29 28 reserved 0 R/W 19 0 R/W 18 0 R/W 17 0 R/W 16 27 26 25 24
HcLSThreshold register: bit description Symbol - LST[10:0] Description reserved LSThreshold: Contains a value that is compared to the FrameRemaining field before a low-speed transaction is initiated. The transaction is started only if FrameRemaining this field. The value is calculated by the HCD, which considers transmission and set-up overhead.
Code (Hex): 11 -- read Code (Hex): 91 -- write
10.3 HC Root Hub registers
All registers included in this partition are dedicated to the USB Root Hub, which is an integral part of the HC although it is a functionally separate entity. The Host Controller Driver (HCD) emulates USBD accesses to the Root Hub via a register interface. The HCD maintains many USB-defined hub features that are not required to be supported in hardware. For example, the Hub's Device, Configuration, Interface, and Endpoint Descriptors are maintained only in the HCD as well as some static fields of the Class Descriptor. The HCD also maintains and decodes the Root Hub's device address as well as other trivial operations that they are better suited to software than to hardware.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
48 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
The Root Hub registers are developed to maintain the similarity of bit organization and operation to typical hubs found in the system. Four registers are defined as follows:
* * * *
HcRhDescriptorA HcRhDescriptorB HcRhStatus HcRhPortStatus[1:NDP]
Each register is read and written as a Dword. These registers are only written during initialization to correspond with the system implementation. The HcRhDescriptorA and HcRhDescriptorB registers should be implemented such that they are writeable regardless of the HCs USB states. HcRhStatus and HcRhPortStatus must be writeable during the USBOPERATIONAL state. 10.3.1 HcRhDescriptorA register (12H--Read, 92H--Write) The HcRhDescriptorA register is the first register of two describing the characteristics of the Root Hub. Reset values are implementation-specific (IS). The descriptor length (11), descriptor type and hub controller current (0) fields of the hub Class Descriptor are emulated by the HCD. All other fields are located in the registers HcRhDescriptorA and HcRhDescriptorB. Remark: IS denotes an implementation-specific reset value for that field.
Table 28: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 0 R 0 R 0 R 0 R 7 0 R/W 15 0 R/W 14 reserved 0 R 6 0 R 5 reserved 0 R 0 R 0 R IS R 0 R/W 13 0 R/W 12 NOCP IS R/W 4 IS R/W 23 IS R/W 22 IS R/W 21 HcRhDescriptorA register: bit description 31 30 29 28 IS R/W 20 reserved 0 R/W 11 OCPM IS R/W 3 0 R/W 10 DT 0 R 2 0 R/W 9 NPS IS R/W 1 NDP[1:0] IS R 0 R/W 8 PSM IS R/W 0 27 IS R/W 19 26 IS R/W 18 25 IS R/W 17 24 IS R/W 16 POTPGT[7:0]
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
49 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcRhDescriptorA register: bit description Symbol POTPGT [7:0] Description PowerOnToPowerGoodTime: This byte specifies the duration HCD has to wait before accessing a powered-on port of the Root Hub. It is implementation-specific (IS). The unit of time is 2 ms. The duration is calculated as POTPGT x 2 ms. reserved NoOverCurrentProtection: This bit describes how the overcurrent status for the Root Hub ports are reported. When this bit is cleared, the OverCurrentProtectionMode field specifies global or per-port reporting. 0 -- overcurrent status is reported collectively for all downstream ports 1 -- no overcurrent reporting supported
Table 29: Bit 31 to 24
23 to 13 12
NOCP
11
OCPM
OverCurrentProtectionMode: This bit describes how the overcurrent status for the Root Hub ports is reported. At reset, this field should reflect the same mode as PowerSwitchingMode. This field is valid only if the NoOverCurrentProtection field is cleared. 0 -- overcurrent status is reported collectively for all downstream ports 1 -- overcurrent status is reported on a per-port basis. On power-up, clear this bit and then set it to logic 1.
10
DT
DeviceType: This bit specifies that the Root Hub is not a compound device--it is not permitted. This field should always read/write 0. NoPowerSwitching: These bits are used to specify whether power switching is supported or ports are always powered. It is implementation-specific. When this bit is cleared, bit PowerSwitchingMode specifies global or per-port switching. 0 -- ports are power switched 1 -- ports are always powered on when the HC is powered on
9
NPS
8
PSM
PowerSwitchingMode: This bit is used to specify how the power switching of the Root Hub ports is controlled. It is implementation-specific. This field is valid only if the NoPowerSwitching field is cleared. 0 -- all ports are powered at the same time 1 -- each port is powered individually. This mode allows port power to be controlled by either the global switch or per-port switching. If the bit PortPowerControlMask is set, the port responds to only port power commands (Set/ClearPortPower). If the port mask is cleared, then the port is controlled only by the global power switch (Set/ClearGlobalPower).
7 to 2 1 to 0
NDP[1:0]
reserved NumberDownstreamPorts: These bits specify the number of downstream ports supported by the Root Hub. It is implementation-specific. The maximum number of ports supported is 2.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
50 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Code (Hex): 12 -- read Code (Hex): 92 -- write 10.3.2 HcRhDescriptorB register (13H--Read, 93H--Write) The HcRhDescriptorB register is the second register of two describing the characteristics of the Root Hub. These fields are written during initialization to correspond with the system implementation. Reset values are implementation-specific (IS).
Table 30: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access N/A R N/A R N/A R 7 N/A R 6 N/A R 5 reserved N/A R N/A R N/A R IS R/W N/A R 4 N/A R 15 N/A R 14 N/A R 23 N/A R 22 N/A R 21 reserved N/A R 13 N/A R 12 reserved N/A R 3 N/A R 2 N/A R 1 DR[2:0] IS R/W IS R/W N/A R 0 N/A R 11 IS R/W 10 N/A R 20 HcRhDescriptorB register: bit allocation 31 30 29 28 reserved N/A R 19 N/A R 18 N/A R 17 PPCM[2:0] IS R/W 9 IS R/W 8 N/A R 16 27 26 25 24
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
51 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcRhDescriptorB register: bit description Symbol PPCM[2:0] Description reserved PortPowerControlMask: Each bit indicates whether a port is affected by a global power control command when PowerSwitchingMode is set. When set, the port's power state is only affected by per-port power control (Set/ClearPortPower). When cleared, the port is controlled by the global power switch (Set/ClearGlobalPower). If the device is configured to global switching mode (PowerSwitchingMode = 0), this field is not valid. Bit 0 -- reserved Bit 1 -- Ganged-power mask on Port #1 Bit 2 -- Ganged-power mask on Port #2
Table 31: Bit 31 to 19 18 to 16
15 to 3 2 to 0
DR[2:0]
reserved DeviceRemovable: Each bit is dedicated to a port of the Root Hub. When cleared, the attached device is removable. When set, the attached device is not removable. Bit 0 -- reserved Bit 1 -- Device attached to Port #1 Bit 2 -- Device attached to Port #2
Code (Hex): 13 -- read Code (Hex): 93 -- write 10.3.3 HcRhStatus register (14H--Read, 94H--Write) The HcRhStatus register is divided into two parts. The lower word of a Dword represents the Hub Status field and the upper word represents the Hub Status Change field. Reserved bits should always be written as logic 0.
Table 32: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access
9397 750 10765
HcRhStatus register: bit allocation 31 CRWE 0 W 23 0 R 15 DRWE 0 R/W 7 0 R 0 R 6 0 R 0 R 5 reserved 0 R 0 R 0 R 0 R 0 R 4 0 R 22 0 R 14 0 R 21 reserved 0 R 13 0 R 12 0 R 11 reserved 0 R 3 0 R 2 0 R 1 OCI 0 R 0 R 0 LPS 0 R/W
52 of 89
30
29
28 0 R 20
27 reserved 0 R 19
26 0 R 18 0 R 10
25 0 R 17 CCIC 0 R/W 9
24 0 R 16 LPSC 0 R/W 8
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcRhStatus register: bit description Symbol CRWE CCIC Description On write--ClearRemoteWakeupEnable: Writing a logic 1 clears DeviceRemoveWakeupEnable. Writing a logic 0 has no effect. reserved OverCurrentIndicatorChange: This bit is set by hardware when a change has occurred to the OCI field of this register. The HCD clears this bit by writing a logic 1. Writing a logic 0 has no effect. On read--LocalPowerStatusChange: The Root Hub does not support the local power status feature. Therefore, this bit is always read as logic 0. On write--SetGlobalPower: In global power mode (PowerSwitchingMode = 0), this bit is written to logic 1 to turn on power to all ports (clear PortPowerStatus). In per-port power mode, it sets PortPowerStatus only on ports whose bit PortPowerControlMask is not set. Writing a logic 0 has no effect.
Table 33: Bit 31 30 to 18 17
16
LPSC
15
DRWE
On read--DeviceRemoteWakeupEnable: This bit enables the bit ConnectStatusChange as a resume event, causing a state transition USBSUSPEND to USBRESUME and setting the ResumeDetected interrupt. 0 -- ConnectStatusChange is not a remote wake-up event 1 -- ConnectStatusChange is a remote wake-up event On write--SetRemoteWakeupEnable: Writing a logic 1 sets DeviceRemoveWakeupEnable. Writing a logic 0 has no effect.
14 to 2 1
OCI
reserved OverCurrentIndicator: This bit reports overcurrent conditions when global reporting is implemented. When set, an overcurrent condition exists. When clear, all power operations are normal. If per-port overcurrent protection is implemented this bit is always logic 0. On read--LocalPowerStatus: The Root Hub does not support the local power status feature. Therefore, this bit is always read as logic 0. On write--ClearGlobalPower: In global power mode (PowerSwitchingMode = 0), this bit is written to logic 1 to turn off power to all ports (clear PortPowerStatus). In per-port power mode, it clears PortPowerStatus only on ports whose PortPowerControlMask bit is not set. Writing a logic 0 has no effect.
0
LPS
Code (Hex): 14 -- read Code (Hex): 94 -- write 10.3.4 HcRhPortStatus[1:2] ([1]:15H--Read, 95H--Write, [2]: 16H--Read, 96H--Write) The HcRhPortStatus[1:2] register is used to control and report port events on a per-port basis. NumberDownstreamPorts represents the number of HcRhPortStatus registers that are implemented in hardware. The lower word is used to reflect the port status, whereas the upper word reflects the status change bits. Some status bits are implemented with special write behavior. If a transaction (token through handshake)
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
53 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
is in progress when a write to change port status occurs, the resulting port status change must be postponed until the transaction completes. Reserved bits should always be written logic 0.
Table 34: Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 0 R/W 7 0 R/W 6 reserved 0 R/W Table 35: Bit 31 to 21 20 0 R/W 0 R/W 5 0 R/W 15 0 R/W 23 0 R/W 22 reserved 0 R/W 14 0 R/W 13 reserved 0 R/W 4 PRS 0 R/W 0 R/W 3 POCI 0 R/W 0 R/W 2 PSS 0 R/W 0 R/W 21 0 R/W 20 PRSC 0 R/W 12 HcRhPortStatus[1:2] register: bit allocation 31 30 29 28 reserved 0 R/W 19 OCIC 0 R/W 11 0 R/W 18 PSSC 0 R/W 10 0 R/W 17 PESC 0 R/W 9 LSDA 0 R/W 1 PES 0 R/W 0 R/W 16 CSC 0 R/W 8 PPS 0 R/W 0 CCS 0 R/W 27 26 25 24
HcRshPortStatus[1:2] register: bit description Symbol PRSC Description reserved PortResetStatusChange: This bit is set at the end of the 10 ms port reset signal. The HCD writes a logic 1 to clear this bit. Writing a logic 0 has no effect. 0 -- port reset is not complete 1 -- port reset is complete
19
OCIC
PortOverCurrentIndicatorChange: This bit is valid only if overcurrent conditions are reported on a per-port basis. This bit is set when Root Hub changes the PortOverCurrentIndicator bit. The HCD writes a logic 1 to clear this bit. Writing a logic 0 has no effect. 0 -- no change in PortOverCurrentIndicator 1 -- PortOverCurrentIndicator has changed
18
PSSC
PortSuspendStatusChange: This bit is set when the full resume sequence has been completed. This sequence includes the 20 s resume pulse, LS EOP, and 3 ms re-synchronization delay. The HCD writes a logic 1 to clear this bit. Writing a logic 0 has no effect. This bit is also cleared when ResetStatusChange is set. 0 -- resume is not completed 1 -- resume is completed
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
54 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcRshPortStatus[1:2] register: bit description...continued Symbol PESC Description PortEnableStatusChange: This bit is set when hardware events cause the PortEnableStatus bit to be cleared. Changes from HCD writes do not set this bit. The HCD writes a logic 1 to clear this bit. Writing a logic 0 has no effect. 0 -- no change in PortEnableStatus 1 -- change in PortEnableStatus
Table 35: Bit 17
16
CSC
ConnectStatusChange: This bit is set whenever a connect or disconnect event occurs. The HCD writes a logic 1 to clear this bit. Writing a logic 0 has no effect. If CurrentConnectStatus is cleared when a SetPortReset, SetPortEnable, or SetPortSuspend write occurs, this bit is set to force the driver to re-evaluate the connection status since these writes should not occur if the port is disconnected. 0 -- no change in CurrentConnectStatus 1 -- change in CurrentConnectStatus Remark: If the DeviceRemovable[NDP] bit is set, this bit is set only after a Root Hub reset to inform the system that the device is attached.
15 to 10 9
LSDA
reserved (read) LowSpeedDeviceAttached: This bit indicates the speed of the device attached to this port. When set, a low-speed device is attached to this port. When clear, a full-speed device is attached to this port. This field is valid only when the CurrentConnectStatus is set. 0 -- full-speed device attached 1 -- low-speed device attached (write) ClearPortPower: The HCD clears the PortPowerStatus bit by writing a logic 1 to this bit. Writing a logic 0 has no effect.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
55 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcRshPortStatus[1:2] register: bit description...continued Symbol PPS Description (read) PortPowerStatus: This bit reflects the port power status, regardless of the type of power switching implemented. This bit is cleared if an overcurrent condition is detected. The HCD sets this bit by writing SetPortPower or SetGlobalPower. The HCD clears this bit by writing ClearPortPower or ClearGlobalPower. Which power control switches are enabled is determined by PowerSwitchingMode. In the global switching mode (PowerSwitchingMode = 0), only Set/ClearGlobalPower controls this bit. In per-port power switching (PowerSwitchingMode = 1), if the PortPowerControlMask[NDP] bit for the port is set, only Set/ClearPortPower commands are enabled. If the mask is not set, only Set/ClearGlobalPower commands are enabled. When port power is disabled, CurrentConnectStatus, PortEnableStatus, PortSuspendStatus, and PortResetStatus should be reset. 0 -- port power is off 1 -- port power is on (write) SetPortPower: The HCD writes a logic 1 to set the PortPowerStatus bit. Writing a logic 0 has no effect. Remark: This bit always reads logic 1 if power switching is not supported.
Table 35: Bit 8
7 to 5 4
PRS
reserved (read) PortResetStatus: When this bit is set by a write to SetPortReset, port reset signaling is asserted. When reset is completed, this bit is cleared when PortResetStatusChange is set. This bit cannot be set if CurrentConnectStatus is cleared. 0 -- port reset signal is not active 1 -- port reset signal is active (write) SetPortReset: The HCD sets the port reset signaling by writing a logic 1 to this bit. Writing a logic 0 has no effect. If CurrentConnectStatus is cleared, this write does not set PortResetStatus but instead sets ConnectStatusChange. This informs the driver that it attempted to reset a disconnected port.
3
POCI
(read) PortOverCurrentIndicator: This bit is valid only when the Root Hub is configured in such a way that overcurrent conditions are reported on a per-port basis. If per-port overcurrent reporting is not supported, this bit is set to logic 0. If cleared, all power operations are normal for this port. If set, an overcurrent condition exists on this port. This bit always reflects the overcurrent input signal. 0 -- no overcurrent condition 1 -- overcurrent condition detected (write) ClearSuspendStatus: The HCD writes a logic 1 to initiate a resume. Writing a logic 0 has no effect. A resume is initiated only if PortSuspendStatus is set.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
56 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcRshPortStatus[1:2] register: bit description...continued Symbol PSS Description (read) PortSuspendStatus: This bit indicates whether the port is suspended or in the resume sequence. It is set by a SetSuspendState write and cleared when PortSuspendStatusChange is set at the end of the resume interval. This bit cannot be set if CurrentConnectStatus is cleared. This bit is also cleared when PortResetStatusChange is set at the end of the port reset or when the HC is placed in the USBRESUME state. If an upstream resume is in progress, it should propagate to the HC. 0 -- port is not suspended 1 -- port is suspended (write) SetPortSuspend: The HCD sets the PortSuspendStatus bit by writing a logic 1 to this bit. Writing a logic 0 has no effect. If CurrentConnectStatus is cleared, this write does not set PortSuspendStatus; instead it sets ConnectStatusChange. This informs the driver that it attempted to suspend a disconnected port.
Table 35: Bit 2
1
PES
(read) PortEnableStatus: This bit indicates whether the port is enabled or disabled. The Root Hub may clear this bit when an overcurrent condition, disconnect event, switched-off power, or operational bus error such as babble is detected. This change also causes PortEnabledStatusChange to be set. The HCD sets this bit by writing SetPortEnable and clears it by writing ClearPortEnable. This bit cannot be set when CurrentConnectStatus is cleared. This bit is also set, if it is not already, at the completion of a port reset when ResetStatusChange is set or port suspend when SuspendStatusChange is set. 0 -- port is disabled 1 -- port is enabled (write) SetPortEnable: The HCD sets PortEnableStatus by writing a logic 1. Writing a logic 0 has no effect. If CurrentConnectStatus is cleared, this write does not set PortEnableStatus, but instead sets ConnectStatusChange. This informs the driver that it attempted to enable a disconnected port.
0
CCS
(read) CurrentConnectStatus: This bit reflects the current state of the downstream port. 0 -- no device connected 1 -- device connected (write) ClearPortEnable: The HCD writes a logic 1 to this bit to clear the PortEnableStatus bit. Writing a logic 0 has no effect. CurrentConnectStatus is not affected by any write. Remark: This bit always reads logic 1 when the attached device is nonremovable (DeviceRemoveable[NDP]).
Code (Hex): [1] = 15, [2] = 16 -- read Code (Hex): [1] = 95, [2] = 96 -- write
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
57 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
10.4 HC DMA and interrupt control registers
10.4.1
Table 36: Bit Symbol
HcHardwareConfiguration register (20H--Read, A0H--Write)
HcHardwareConfiguration register: bit allocation 15 14 reserved 13 12 2_Down stream Port15K resistorSel 0 R/W 5 DREQ Output Polarity 1 R/W 0 R/W 4 11 Suspend ClkNotStop 10 AnalogOC Enable 9 reserved 8 DACKMode
Reset Access Bit Symbol
0 R/W 7 EOTInput Polarity 0 R/W
0 R/W 6 DACKInput Polarity 0 R/W Table 37: Bit 12 15 to 13 -
0 R/W 3
0 R/W 2 Interrupt Output Polarity 0 R/W
0 R/W 1 Interrupt PinTrigger 0 R/W
0 R/W 0 InterruptPin Enable 0 R/W
DataBusWidth[1:0]
Reset Access
0 R/W
1 R/W
HcHardwareConfiguration register: bit description Symbol 2_DownstreamPort15Kresistor Sel SuspendClkNotStop AnalogOCEnable DACKMode Description reserved 0 -- use external 15 k resistors for downstream ports 1 -- use built-in resistors for downstream ports 0 -- clock can be stopped 1 -- clock can not be stopped 0 -- use external OC detection. Digital input 1 -- use on-chip OC detection. Analog input reserved 0 -- normal operation. DACK is used with read and write signals. Power-up value 1 -- reserved 0 -- active LOW. Power-up value 1 -- active HIGH 0 -- active LOW. Power-up value 1 -- reserved 0 -- active LOW 1 -- active HIGH. Power-up value 01 -- 16 bits Others -- reserved
11 10 9 8
7 6 5 4 to 3
EOTInputPolarity DACKInputPolarity DREQOutputPolarity DataBusWidth[1:0]
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
58 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcHardwareConfiguration register: bit description...continued Symbol InterruptOutputPolarity InterruptPinTrigger InterruptPinEnable Description 0 -- active LOW. Power-up value 1 -- active HIGH 0 -- interrupt is level-triggered. Power-up value 1 -- interrupt is edge-triggered 0 -- power-up value 1 -- global interrupt pin INT is enabled
Table 37: Bit 2 1 0
Code (Hex): 20 -- read Code (Hex): A0 -- write Remark: 1. Bit 0, InterruptPinEnable, is used as pin INT's master interrupt enable. This bit should be used together with the register HcPInterruptEnable to enable pin INT. 2. Bits 4:3 are fixed at the value 01B for the ISP1160. 10.4.2
Table 38: Bit Symbol Reset Access Bit Symbol 0 R/W 7 reserved 0 R/W 6 0 R/W 5 0 R/W 4 DMA Enable 0 R/W
HcDMAConfiguration register (21H--Read, A1H--Write)
HcDMAConfiguration register: bit allocation 15 14 13 12 reserved 0 R/W 3 reserved 0 R/W 2 DMA Counter Select 0 R/W 0 R/W 1 ITL_ATL_ DataSelect 0 R/W 0 R/W 0 DMARead WriteSelect 0 R/W 11 10 9 8
BurstLen[1:0]
Reset Access
0 R/W
0 R/W Table 39: Bit 15 to 7 6 to 5 -
0 R/W
0 R/W
HcDMAConfiguration register: bit description Symbol Description reserved
BurstLen[1:0] 00B -- single-cycle burst DMA 01B -- 4-cycle burst DMA 10B -- 8-cycle burst DMA 11B -- reserved
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
59 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcDMAConfiguration register: bit description...continued Symbol DMAEnable Description 0 -- DMA is terminated 1 -- DMA is enabled This bit will be reset to logic 0 when DMA transfer is completed.
Table 39: Bit 4
3 2
DMACounter Select
reserved 0 -- DMA counter not used. External EOT must be used 1 -- enables the DMA counter for DMA transfer. HcTransferCounter register must be filled with non-zero values for DREQ to be raised after bit DMA Enable is set. 0 -- ITL buffer RAM selected for ITL data 1 -- ATL buffer RAM selected for ATL data 0 -- read from the ISP1160 HC's FIFO buffer RAM 1 -- write to the ISP1160 HC's FIFO buffer RAM
1 0
ITL_ATL_ DataSelect DMARead WriteSelect
Code (Hex): 21 -- read Code (Hex): A1 -- write 10.4.3 HcTransferCounter register (22H--Read, A2H--Write) This register holds the number of bytes of a PIO or DMA transfer. For a PIO transfer, the number of bytes being read or written to the Isochronous Transfer List (ITL) or Acknowledged Transfer List (ATL) buffer RAM must be written into this register. For a DMA transfer, the number of bytes must be written into this register as well. However, for this counter to be read into the DMA counter, the HCD must set bit 2 of the HcDMAConfiguration register. The counter value for ATL must not be greater than 1000H, and for ITL it must not be greater than 800H. When the byte count of the data transfer reaches this value, the HC will generate an internal EOT signal to set bit 2 AllEOInterrupt, of the HcPInterrupt register, and also update the HcBufferStatus register.
Table 40: Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 0 R/W Table 41: Bit 15 to 0 0 R/W 0 R/W 7 0 R/W 6 0 R/W 5 HcTransferCounter register: bit allocation 15 14 13 12 0 R/W 4 0 R/W 11 0 R/W 3 0 R/W 10 0 R/W 2 0 R/W 9 0 R/W 1 0 R/W 8 0 R/W 0 0 R/W Counter value
Counter value
HcTransferCounter register: bit description Symbol Counter value Description The number of data bytes to be read to or written from RAM.
Code (Hex): 22 -- read Code (Hex): A2 -- write
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
60 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
10.4.4
HcPInterrupt register (24H--Read, A4H--Write) All the bits in this register will be active on power-on reset. However, none of the active bits will cause an interrupt on the interrupt pin (INT) unless they are set by the respective bits in the HcPInterruptEnable register, and together with bit 0 of the HcHardwareConfiguration register. After this register (24H - Read) is read, the bits that are active will not be reset, until logic 1 is written to the bits in this register (A4H - Write) to clear it. The bits in this register are cleared only when you write to this register indicating the bits to be cleared. To clear all the enabled bits in this register, the HCD must write FFH to this register.
Table 42: Bit Symbol Reset Access Bit Symbol Reset Access
HcPInterrupt register: bit allocation 15 0 R/W 7 reserved 0 R/W 14 0 R/W 6 ClkReady 0 R/W Table 43: Bit 15 to 7 6 13 0 R/W 5 HC Suspended 0 R/W 12 reserved 0 R/W 4 OPR_Reg 0 R/W 0 R/W 3 reserved 0 R/W 0 R/W 2 AIIEOT Interrupt 0 R/W 0 R/W 1 ATLInt 0 R/W 0 R/W 0 SOFITLInt 0 R/W 11 10 9 8
HcPInterrupt register: bit description Symbol ClkReady Description reserved 0 -- no event 1 -- clock is ready. After a wake-up is sent, there is a wait for clock ready. Maximum is 1 ms, and typical is 160 s.
5
HC 0 -- no event Suspended 1 -- the HC has been suspended and no USB activity is sent from the microprocessor for each ms. When the microprocessor wants to suspend the HC, the microprocessor must write to the HcControl register. And when all downstream devices are suspended, then the HC stops sending SOF; the HC is suspended by having the HcControl register written into. OPR_Reg 0 -- no event 1 -- there are interrupts from HC side. Need to read HcControl and HcInterrupt registers to detect type of interrupt on the HC (if the HC requires the operational register to be updated).
4
3
-
reserved
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
61 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcPInterrupt register: bit description...continued Symbol AllEOT Interrupt Description 0 -- no event 1 -- implies that data transfer has been completed via PIO transfer or DMA transfer. Occurrence of internal or external EOT will set this bit. 0 -- no event 1 -- implies that the microprocessor must read ATL data from the HC. This requires that the HcBufferStatus register must first be read. The time for this interrupt depends on the number of clocks bit set for USB activities in each ms.
Table 43: Bit 2
1
ATLInt
0
SOFITLInt
0 -- no event 1 -- implies that SOF indicates the 1 ms mark. The ITL buffer that the HC has handled must be read. To know the ITL buffer status, the HcBufferStatus register must first be read. This is for microprocessor to get ISO data to or from the HC. For more information, see the 6th paragraph in Section 9.5.
Code (Hex): 24 -- read Code (Hex): A4 -- write 10.4.5 HcPInterruptEnable register (25H--Read, A5H--Write) The bits 6:0 in this register are the same as those in the HcPInterrupt register. They are used together with bit 0 of the HcHardwareConfiguration register to enable or disable the bits in the HcPInterrupt register. On power-on, all bits in this register are masked with logic 0. This means no interrupt request output on the interrupt pin INT can be generated. When the bit is set to logic 1, the interrupt for the bit is not masked but enabled.
Table 44: Bit Symbol Reset Access Bit Symbol 0 R/W 7 reserved 0 R/W 6 ClkReady 0 R/W 5 HC Suspended Enable 0 R/W 0 R/W 4 OPR Interrupt Enable 0 R/W HcPInterruptEnable register: bit allocation 15 14 13 12 reserved 0 R/W 3 reserved 0 R/W 2 EOT Interrupt Enable 0 R/W 0 R/W 1 ATL Interrupt Enable 0 R/W 0 R/W 0 SOF Interrupt Enable 0 R/W 11 10 9 8
Reset Access
0 R/W
0 R/W
0 R/W
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
62 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcPInterruptEnable register: bit description Symbol ClkReady Description reserved 0 -- power-up value 1 -- enables Clkready interrupt
Table 45: Bit 15 to 7 6 5
HC 0 -- power-up value Suspended 1 -- enables HC suspended interrupt. When the microprocessor Enable wants to suspend the HC, the microprocessor must write to the HcControl register. And when all downstream devices are suspended, then the HC stops sending SOF; the HC is suspended by having the HcControl register written into. OPR Interrupt Enable EOT Interrupt Enable ATL Interrupt Enable SOF Interrupt Enable 0 -- power-up value 1 -- enables the 32-bit operational register's interrupt (if the HC requires the operational register to be updated) reserved 0 -- power-up value 1 -- enables the EOT interrupt which indicates an end of a Read/Write transfer 0 -- power-up value 1 -- enables ATL interrupt. The time for this interrupt depends on the number of clock bits set for USB activities in each ms. 0 -- power-up value 1 -- enables the interrupt bit due to SOF (for the microprocessor DMA to get ISO data from the HC by first accessing the HcDMAConfiguration register)
4
3 2
1
0
Code (Hex): 25 -- read Code (Hex): A5 -- write
10.5 HC miscellaneous registers
10.5.1 HcChipID register (27H--Read only) Read this register to get the ID of the ISP1160 silicon chip. The high byte stands for the product name (here 61H stands for the ISP1160). The low byte indicates the revision number of the product including engineering samples.
Table 46: Bit Symbol Reset Access Bit Symbol Reset Access 0 R 0 R 1 R 0 R 0 R 7 1 R 6 1 R 5 HcChipID register: bit allocation 15 14 13 12 0 R 4 ChipID[7:0] 0 R 0 R 1 R 0 R 11 0 R 3 10 0 R 2 9 0 R 1 8 1 R 0 ChipID[15:8]
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
63 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
HcChipID register: bit description Symbol ChipID[15:0] Description ISP1160's chip ID
Table 47: Bit 15 to 0
Code (Hex): 27 -- read 10.5.2 HcScratch register (28H--Read, A8H--Write) This register is for the HCD to save and restore values when required.
Table 48: Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 0 R/W Table 49: Bit 15 to 0 0 R/W 0 R/W 0 R/W 7 0 R/W 6 0 R/W 5 HcScratch register: bit allocation 15 14 13 12 0 R/W 4 Scratch[7:0] 0 R/W 0 R/W 0 R/W 0 R/W 11 0 R/W 3 10 0 R/W 2 9 0 R/W 1 8 0 R/W 0 Scratch[15:8]
HcScratch register: bit description Symbol Scratch[15:0] Description Scratch register value
Code (Hex): 28 -- read Code (Hex): A8 -- write 10.5.3 HcSoftwareReset register (A9H--Write) This register provides a means for software reset of the HC. To reset the HC, the HCD must write a reset value of F6H to this register. Upon receiving the reset value, the HC resets all the registers except its buffer memory.
Table 50: Bit Symbol Reset Access Bit Symbol Reset Access 0 W 0 W Table 51: Bit 15 to 0 0 W 0 W 0 W 7 0 W 6 0 W 5 0 W 4 Reset[7:0] 0 W 0 W 0 W 0 W HcSoftwareReset register: bit allocation 15 14 13 12 11 0 W 3 10 0 W 2 9 0 W 1 8 0 W 0 Reset[15:8]
HcSoftwareReset register: bit description Symbol Description Reset[15:0] Writing a reset value of F6H will cause the HC to reset all the registers except its buffer memory.
Code (Hex): A9 -- write
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
64 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
10.6 HC buffer RAM control registers
10.6.1 HcITLBufferLength register (2AH--Read, AAH--Write) Write to this register to assign the ITL buffer size in bytes: ITL0 and ITL1 are assigned the same value. For example, if HcITLBufferLength register is set to 2 kbytes, then ITL0 and ITL1 would be allocated 2 kbytes each. Must follow the formula: ATL buffer length + 2 x (ITL buffer size) 1000H (that is, 4 kbytes) where: ITL buffer size = ITL0 buffer length = ITL1 buffer length.
Table 52: Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 0 R/W Table 53: Bit 15 to 0 0 R/W 0 R/W 7 0 R/W 6 0 R/W 5 HcITLBufferLength register: bit allocation 15 14 13 12 0 R/W 4 0 R/W 11 0 R/W 3 0 R/W 10 0 R/W 2 0 R/W 9 0 R/W 1 0 R/W 8 0 R/W 0 0 R/W ITLBufferLength[15:8]
ITLBufferLength[7:0]
HcITLBufferLength register: bit description Symbol ITLBufferLength[15:0] Description Assign ITL buffer length
Code (Hex): 2A -- read Code (Hex): AA -- write 10.6.2 HcATLBufferLength register (2BH--Read, ABH--Write) Write to this register to assign ATL buffer size.
Table 54: Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 0 R/W Table 55: Bit 15 to 0 0 R/W 0 R/W 7 0 R/W 6 0 R/W 5 HcATLBufferLength register: bit allocation 15 14 13 12 0 R/W 4 0 R/W 11 0 R/W 3 0 R/W 10 0 R/W 2 0 R/W 9 0 R/W 1 0 R/W 8 0 R/W 0 0 R/W ATLBufferLength[15:8]
ATLBufferLength[7:0]
HcATLBufferLength register: bit description Symbol ATLBufferLength[15:0] Description Assign ATL buffer length
Code (Hex): 2B -- read
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
65 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Code (Hex): AB -- write Remark: The maximum total RAM size is 1000H (4096 in decimal) bytes. That means ITL0 (length) + ITL1 (length) + ATL (length) 1000H bytes. For example: If ATL buffer length has been set to be 800H, then the maximum ITL buffer length can only be set as 400H. 10.6.3
Table 56: Bit Symbol Reset Access Bit Symbol Reset Access 0 R 0 R 7 reserved 0 R Table 57: Bit 15 to 6 5 4 3 2 1 0 0 R 6 0 R 5 ATLBuffer Done 0 R 0 R 4 ITL1Buffer Done 0 R
HcBufferStatus register (2CH--Read only)
HcBufferStatus register: bit allocation 15 14 13 12 reserved 0 R 3 ITL0Buffer Done 0 R 0 R 2 ATLBuffer Full 0 R 0 R 1 ITL1Buffer Full 0 R 0 R 0 ITL0Buffer Full 0 R 11 10 9 8
HcBufferStatus register: bit description Symbol ATLBuffer Done ITL1Buffer Done ITL0Buffer Done ATLBuffer Full ITL1Buffer Full ITL0Buffer Full Description reserved 0 -- ATL Buffer not read by HC yet 1 -- ATL Buffer read by HC 0 -- ITL1 Buffer not read by HC yet 1 -- ITL1 Buffer read by HC 0 -- 1TL0 Buffer not read by HC yet 1 -- 1TL0 Buffer read by HC 0 -- ATL Buffer is empty 1 -- ATL Buffer is full 0 -- 1TL1 Buffer is empty 1 -- 1TL1 Buffer is full 0 -- ITL0 Buffer is empty 1 -- ITL0 Buffer is full
Code (Hex): 2C -- read 10.6.4 HcReadBackITL0Length register (2DH--Read only) This register's value stands for the current number of data bytes inside an ITL0 buffer to be read back by the microprocessor. The HCD must set the HcTransferCounter equivalent to this value before reading back the ITL0 buffer RAM.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
66 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Table 58: Bit Symbol Reset Access Bit Symbol Reset Access
HcReadBackITL0Length register: bit allocation 15 0 R 7 0 R 14 0 R 6 0 R Table 59: Bit 15 to 0 13 0 R 5 0 R 12 0 R 4 0 R 11 0 R 3 0 R 10 0 R 2 0 R 9 0 R 1 0 R 8 0 R 0 0 R RdITL0BufferLength[15:8]
RdITL0BufferLength[7:0]
HcReadBackITL0Length register: bit description Symbol RdITL0BufferLength[15:0] Description The number of bytes for ITL0 data to be read back by the microprocessor
Code (Hex): 2D -- read 10.6.5 HcReadBackITL1Length register (2EH--Read only) This register's value stands for the current number of data bytes inside the ITL1 buffer to be read back by the microprocessor. The HCD must set the HcTransferCounter equivalent to this value before reading back the ITL1 buffer RAM.
Table 60: Bit Symbol Reset Access Bit Symbol Reset Access 0 R 0 R Table 61: Bit 15 to 0 0 R 0 R 7 0 R 6 0 R 5 HcReadBackITL1Length register: bit allocation 15 14 13 12 0 R 4 0 R 11 0 R 3 0 R 10 0 R 2 0 R 9 0 R 1 0 R 8 0 R 0 0 R RdITL1BufferLength[15:8]
RdITL1BufferLength[7:0]
HcReadBackITL1Length register: bit description Symbol Description RdITL1BufferLength[15:0] The number of bytes for ITL1 data to be read back by the microprocessor
Code (Hex): 2E -- read 10.6.6 HcITLBufferPort register (40H--Read, C0H--Write) This is the ITL buffer RAM read/write port. The bits 15:8 contain the data byte that comes from the ITL buffer RAM's even address. The bits 7:0 contain the data byte that comes from the ITL buffer RAM's odd address.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
67 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Table 62: Bit Symbol Reset Access Bit Symbol Reset Access
HcITLBufferPort register: bit allocation 15 0 R/W 7 0 R/W 14 0 R/W 6 0 R/W Table 63: Bit 15 to 0 13 0 R/W 5 0 R/W 12 0 R/W 4 0 R/W 11 0 R/W 3 0 R/W 10 0 R/W 2 0 R/W 9 0 R/W 1 0 R/W 8 0 R/W 0 0 R/W DataWord[15:8]
DataWord[7:0]
HcITLBufferPort register: bit description Symbol DataWord[15:0] Description Read/Write ITL buffer RAM's two data bytes.
Code (Hex): 40 -- read Code (Hex): C0 -- write The HCD must set the byte count into the HcTransferCounter register and check the HcBufferStatus register before reading from or writing to the buffer. The HCD must write the command (40H for read, C0H for write) once only, and then read or write all the data bytes in word. After every read/write, the pointer of ITL buffer RAM will be automatically increased by two to point to the next data word until it reaches the value of HcTransferCounter register; otherwise, an internal EOT signal is not generated to set bit 2 (AllEOTInterrupt) of the HcPInterrupt register and update the HcBufferStatus register. The HCD must take care of the difference that the internal buffer RAM is organized in bytes. The HCD must write the byte count into the HcTransferCounter register, but the HCD reads or writes the buffer RAM by 16 bits (by 1 word). 10.6.7 HcATLBufferPort register (41H--Read, C1H--Write) This is the ATL buffer RAM read/write port. The bits 15:8 contain the data byte that comes from the Acknowledged Transfer List (ATL) buffer RAM's odd address. The bits 7:0 contain the data byte that comes from the ATL buffer RAM's even address.
Table 64: Bit Symbol Reset Access Bit Symbol Reset Access 0 R/W 0 R/W Table 65: Bit 15 to 0
9397 750 10765
HcATLBufferPort register: bit allocation 15 0 R/W 7 14 0 R/W 6 13 0 R/W 5 0 R/W 12 0 R/W 4 0 R/W 11 0 R/W 3 0 R/W 10 0 R/W 2 0 R/W 9 0 R/W 1 0 R/W 8 0 R/W 0 0 R/W DataWord[15:8]
DataWord[7:0]
HcATLBufferPort register: bit description Symbol DataWord[15:0] Description Read/Write ATL buffer RAM's two data bytes.
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
68 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Code (Hex): 41 -- read Code (Hex): C1 -- write The HCD must set the byte count into the HcTransferCounter register and check the HcBufferStatus register before reading from or writing to the buffer. The HCD must write the command (41H for read, C1H for write) once only, and then read or write all the data bytes in word. After every read/write, the pointer of ATL buffer RAM will be automatically increased by two to point to the next data word until it reaches the value of HcTransferCounter register; otherwise, an internal EOT signal is not generated to set bit 2 (AllEOTInterrupt) of the HcPInterrupt register and update the HcBufferStatus register. The HCD must take care of the difference: the internal buffer RAM is organized in bytes, so the HCD must write the byte count into the HcTransferCounter register, but the HCD reads or writes the buffer RAM by 16 bits (by 1 word).
11. Power supply
The ISP1160 can operate at either 5 V or 3.3 V. When using 5 V as ISP1160's power supply input: Only VCC (pin 56) can be connected to the 5 V power supply. An application with a 5 V power supply input is shown in Figure 29. The ISP1160 has an internal DC/DC regulator to provide 3.3 V for its internal core. This internal 3.3 V can also be obtained from Vreg(3.3) (pin 58). When using 3.3 V as the power supply input, the internal DC/DC regulator will be bypassed. All four power supply pins (VCC, Vreg(3.3), Vhold1 and Vhold2) can be used as power supply input. It is recommended that you connect all four power supply pins to the 3.3 V power supply, as shown in Figure 30. If, however, you have board space (routing area) constraints, you must connect at least the VCC and the Vreg(3.3) to the 3.3 V power supply. For both 3.3 V and 5 V operation, all four power supply pins should be connected to a decoupling capacitor.
+3.3 V
ISP1160
VCC Vreg(3.3) Vhold1 Vhold2 GND
+5 V
ISP1160
VCC Vreg(3.3) Vhold1 Vhold2 GND
004aaa068
004aaa069
Fig 29. Using a 5 V supply.
Fig 30. Using a 3.3 V supply.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
69 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
12. Crystal oscillator
The ISP1160 has a crystal oscillator designed for a 6 MHz parallel-resonant crystal (fundamental). A typical circuit is shown in Figure 31. Alternatively, an external clock signal of 6 MHz can be applied to input XTAL1, while leaving output XTAL2 open. See Figure 32. The 6 MHz oscillator frequency is multiplied to 48 MHz by an internal PLL.
VCC
6 MHz
ISP1160
18 pF XTAL2 6 MHz XTAL1 18 pF
ISP1160
Out OSC XTAL2 n.c.
XTAL1
004aaa070
004aaa071
Fig 31. Oscillator circuit with external crystal.
Fig 32. Oscillator circuit using external oscillator.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
70 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
13. Limiting values
Table 66: Absolute maximum ratings In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol VCC(5V) VCC(3.3V) VI Ilu Vesd Tstg
[1]
Parameter supply voltage to pin VCC supply voltage to pin Vreg(3.3) input voltage latch-up current electrostatic discharge voltage storage temperature
Conditions
Min -0.5 -0.5 -0.5
Max +6.0 +4.6 +6.0 100 2000 +150
Unit V V V mA V C
VI < 0 or VI > VCC ILI < 1 A
[1]
-60
Equivalent to discharging a 100 pF capacitor via a 1.5 k resistor (Human Body Model).
14. Recommended operating conditions
Table 67: Symbol VCC VI VI(A I/O) VO(od) Tamb
[1]
Recommended operating conditions Parameter supply voltage input voltage input voltage on analog I/O pins (D+, D-) open-drain output pull-up voltage ambient temperature Conditions with internal regulator internal regulator bypass Min 4.0 3.0 0 0 0 -40 Typ 5.0 3.3 VCC Max 5.5 3.6 5.5[1] 3.6 VCC +85 Unit V V V V V C
5 V tolerant.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
71 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
15. Static characteristics
Table 68: Static characteristics; supply pins VCC = 3.0 to 3.6 V or 4.0 to 5.5 V; VGND = 0 V; Tamb = -40 to +85 C; unless otherwise specified. Symbol VCC = 5 V Vreg(3.3) ICC ICC(susp) VCC = 3.3 V ICC ICC(susp)
[1]
Parameter internal regulator output operating supply current suspend supply current operating supply current suspend supply current
Conditions
[1]
Min 3.0 -
Typ 3.3 47 40 50 150
Max 3.6 500 500
Unit V mA A mA A
In suspend mode, the minimum voltage is 2.7 V.
Table 69: Static characteristics: digital pins VCC = 3.0 to 3.6 V or 4.0 to 5.5 V; VGND = 0 V; Tamb = -40 to +85 C; unless otherwise specified. Symbol Input levels VIL VIH Vth(LH) Vth(HL) Vhys VOL VOH LOW-level input voltage HIGH-level input voltage positive-going threshold voltage negative-going threshold voltage hysteresis voltage LOW-level output voltage HIGH-level output voltage IOL = 4 mA IOL = 20 A IOH = 4 mA IOH = 20 A Leakage current ILI CIN IOZ
[1] [2]
[1]
Parameter
Conditions
Min 2.0 1.4 0.9 0.4 2.4
Typ -
Max 0.8 1.9 1.5 0.7 0.4 0.1 +5 5 5
Unit V V V V V V V V V A pF A
Schmitt trigger inputs
Output levels
Vreg(3.3) - 0.1 [2]
input leakage current pin capacitance OFF-state output current pin to GND
-5 -
-
Open-drain outputs
Not applicable for open-drain outputs. The maximum and minimum values are applicable to transistor input only. The value will be different if internal pull-up or pull-down resistors are used.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
72 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Table 70: Static characteristics: analog I/O pins (D+, D-) VCC = 3.0 to 3.6 V or 4.0 to 5.5 V; VGND = 0 V; Tamb = -40 to +85 C; unless otherwise specified. Symbol Input levels VDI VCM VIL VIH VOL VOH ILZ CIN Resistance RPD ZDRV ZINP
[1] [2]
Parameter differential input sensitivity LOW-level input voltage HIGH-level input voltage LOW-level output voltage HIGH-level output voltage OFF-state leakage current transceiver capacitance pull-down resistance on HC's DP/DM driver output impedance input impedance
Conditions |VI(D+) - VI(D-)|
[1]
Min 0.2 0.8 2.0
Typ -
Max 2.5 0.8 0.3 3.6 10 10 20 44 -
Unit V V V V V V A pF k M
differential common mode voltage includes VDI range
Output levels RL = 1.5 k to +3.6 V RL = 15 k to GND 2.8 pin to GND enable internal resistors steady-state drive
[2]
Leakage current Capacitance 10 29 10
D+ is the USB positive data pin; D- is the USB negative data pin. Includes external resistors of 18 1% on both H_D+ and H_D-.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
73 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
16. Dynamic characteristics
Table 71: Dynamic characteristics VCC = 3.0 to 3.6 V or 4.0 to 5.5 V; VGND = 0 V; Tamb = -40 to +85 C; unless otherwise specified. Symbol Reset tW(RESET) pulse width on input RESET crystal oscillator running crystal oscillator stopped Crystal oscillator fXTAL RS CLOAD tJ tDUTY tCR, tCF
[1]
[1]
Parameter
Conditions
Min 160 -
Typ -
Max -
Unit ms ms MHz pF ps % ns
crystal frequency series resistance load capacitance external clock jitter clock duty cycle rise time and fall time Cx1, Cx2 = 22 pF
6 18 50 -
100 500 55 3
45 -
External clock input
Dependent on the crystal oscillator start-up time.
Table 72: Dynamic characteristics: analog I/O pins (D+, D-)[1] VCC = 3.0 to 3.6 V or 4.0 to 5.5 V; VGND = 0 V; Tamb = -40 to +85 C; CL = 50 pF; unless otherwise specified. Symbol tFR Parameter rise time Conditions CL = 50 pF; 10% to 90% of |VOH - VOL| CL = 50 pF; 90% to 10% of |VOH - VOL|
[2]
Min 4
Typ -
Max 20
Unit ns
Driver characteristics
tFF
fall time
4
-
20
ns
FRFM VCRS
differential rise/fall time matching (tFR/tFF) output signal crossover voltage
90 1.3
-
111.11 2.0
% V
[2][3]
[1] [2] [3]
Test circuit; see Figure 40. Excluding the first transition from Idle state. Characterized only, not tested. Limits guaranteed by design.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
74 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
16.1 Timing symbols
Table 73: Symbol Time symbols t T Signal names A C D E G I P Q R address; DMA acknowledge (DACK) clock; command data input; data chip enable output enable instruction (program memory content); input (general) program store enable (PSEN, active LOW); propagation delay data output read signal (RD, active LOW); read (action); DMA request (DREQ) S W chip select write signal (WR, active LOW); write (action); pulse width U Y Logic levels H L P S V X Z logic HIGH logic LOW stop, not active (OFF) start, active (ON) valid logic level invalid logic level high-impedance (floating, three-state) undefined output (general) time cycle time (periodic signal) Legend for timing characteristics Description
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
75 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
16.2 Programmed I/O timing
16.2.1
Table 74: Symbol tAS tAH Read timing tSHSL tSLRL tRHSH tRLRH tRHRL TRC tRHDZ tRLDV Write timing tWL tWHWL TWC tSLWL tWHSH tWDSU tWDH WR LOW pulse width WR HIGH to next WR LOW WR cycle CS LOW to WR LOW WR HIGH to CS HIGH WR data set-up time WR data hold time 26 110 136 0 0 5 8 ns ns ns ns ns ns ns first RD/WR after A0 HIGH CS LOW to RD LOW RD HIGH to CS HIGH RD LOW pulse width RD HIGH to next RD LOW RD cycle RD data hold time RD LOW to data valid 300 0 0 33 110 143 3 22 32 ns ns ns ns ns ns ns ns
Programmed I/O timing
Dynamic characteristics: programmed interface timing Parameter address set-up time before WR HIGH address hold time after WR HIGH Conditions Min 5 8 Typ Max Unit ns ns
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
76 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
CS t SHSL A0 t RLRH t SLRL t SLWL t RHSH t RHRL T RC RD t RLDV D [15:0] tAS t AH data valid t WL data valid t WHWL TWC data valid data valid t WHSH
t RHDZ
WR t WDH D [15:0] data valid data valid data valid t WDSU data valid data valid
MGT969
Fig 33. Programmed interface timing.
16.3 DMA timing
16.3.1
Table 75: Symbol tRLRH tRLDV tRHDZ tWSU tWHD tAHRH tALRL TDC tSHAH tRHAL tDS
[1]
Single-cycle DMA timing
Dynamic characteristics: single-cycle DMA timing Parameter RD pulse width read process data set-up time read process data hold time write process data set-up time write process data hold time DACK HIGH to DREQ HIGH DACK LOW to DREQ LOW DREQ cycle RD/WR HIGH to DACK HIGH DREQ HIGH to DACK LOW DREQ pulse spacing
[1]
Conditions
Min 33 26 0 5 0 72 0 0 146
Typ -
Max 20 21 -
Unit ns ns ns ns ns ns ns ns ns ns ns
Read/write timing
tRHAL + tDS + tALRL
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
77 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
T DC DREQ t DS t ALRL t RHAL DACK t AHRH t RLDV D [15:0] (read) data valid t RHDZ t SHAH
D [15:0] (write)
data valid t WSU
RD or WR t WHD
004aaa117
Fig 34. Single-cycle DMA timing.
16.3.2
Table 76:
Burst mode DMA timing
Dynamic characteristics: burst mode DMA timing Conditions Min 42 60 102 22 0 0
[1]
Symbol Parameter tRLRH tRHRL TRC tSLRL tSHAH tSLAL TDC tDS(read) tDS(read) tDS(write) tDS(write) tRLIS
[1]
Typ -
Max 64 -
Unit ns ns ns ns ns ns ns ns ns ns ns ns
Read/write timing (for 4-cycle and 8-cycle burst mode) WR/RD LOW pulse width WR/RD HIGH to next WR/RD LOW WR/RD cycle RD/WR LOW to DREQ LOW RD/WR HIGH to DACK HIGH DREQ HIGH to DACK LOW DREQ cycle DREQ pulse spacing (read) DREQ pulse spacing (read) DREQ pulse spacing (write) DREQ pulse spacing (write) RD/WR LOW to EOT LOW 4-cycle burst mode 8-cycle burst mode 4-cycle burst mode 8-cycle burst mode
105 150 72 167 0
-
tSLAL + (4 or 8)TRC + tDS
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
78 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
t DS DREQ t RHSH t SLAL DACK t RHRL t SHAH t SLRL
RD or WR
004aaa118
T RC t RLRH
Fig 35. Burst mode DMA timing.
16.3.3
External EOT timing for single-cycle DMASETUP
DREQ
DACK
RD or WR
EOT t RLIS > 0 ns
004aaa119
Fig 36. External EOT timing for single-cycle DMA.
16.3.4
External EOT timing for burst mode DMA
DREQ
DACK
RD or WR
EOT t RLIS > 0 ns
004aaa120
Fig 37. External EOT timing for burst mode DMA.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
79 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
17. Application information
17.1 Typical interface circuit
+5 V + 3.3 V VDD + 5 V + 3.3 V +5 V MOSFET (2x)
SH7709
+ 3.3 V +5 V
ISP1160
VCC H_OC1 H_OC2 H_PSW2 H_PSW1 H_DM1 H_DP1 H_DM2 H_DP2 Vbus_DN2 Vbus_DN1
D [15:0] A1
D [15:0] A0
22 (2x)
FB1 USB downstream port #1
CS5 RD RD/WR DREQ0 DACK0 +5 V
CS RD WR DREQ DACK
47 pF (2x)
FB2
Vreg Vreg(3.3)
+ 3.3 V FB3 22 (2x) VDD 47 pF (2x) FB4 USB downstream port #2
CLKOUT
EXTAL IRQ2 XTAL PTC0 PTC1
EOT Vhold1 Vhold2
INT
EXTAL2 32 kHz XTAL2
H_WAKEUP NDP_SEL H_SUSPEND
RSTOUT
RESET
XTAL2 XTAL1 6 MHz 22 pF 22 pF
GND
7
DGND AGND
004aaa072
For MOSFET, RDSon = 150 m.
Fig 38. Typical interface circuit to Hitachi SH-3 (SH7709) RISC processor.
17.2 Interfacing a ISP1160 to a SH7709 RISC processor
This section shows a typical interface circuit between the ISP1160 and a RISC processor. The Hitachi SH-3 series RISC processor SH7709 is used as the example. The main ISP1160 signals to be taken into consideration for connecting to a SH7709 RISC processor are:
* A 16-bit data bus: D15 to D0 for the ISP1160. The ISP1160 is `little endian'
compatible.
* The address line A0 is needed for a complete addressing of the ISP1160 internal
registers: - A0 = 0 will select the Data Port of the Host Controller - A0 = 1 will select the Command Port of the Host Controller
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
80 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
* The CS line is used for chip selection of the ISP1160 in a certain address range of
the RISC system. This signal is active LOW.
* RD and WR are common read and write signals. These signals are active LOW. * There is a DMA channel standard control line:
- DREQ and DACK (the channel is used by the host controller). The DREQ signal has programmable active levels.
* An interrupt line INT is used by the host controller. It has programmable level/edge
and polarity (active HIGH or LOW).
* The internal 15 k pull-down resistors are used for the HCs two USB downstream
ports.
* The RESET signal is active LOW.
Remark: SH7709's system clock input is for reference only. Please refer to SH7709's specification for its actual use. The ISP1160 can work under either 3.3 V or 5.0 V power supply; however, its internal core actually works at 3.3 V. When using 3.3 V as the power supply input, the internal DC/DC regulator will be bypassed. It is best to connect all four power supply pins (VCC, Vreg(3.3), Vhold1 and Vhold2) to the 3.3 V power supply (for more information, see Section 11). All of the ISP1160's I/O pins are 5 V-tolerant. This feature allows the ISP1160 the flexibility to be used in an embedded system under either a 3.3 V or a 5 V power supply. A typical SH7709 interface circuit is shown in Figure 38.
17.3 Typical software model
This section shows a typical software requirement for an embedded system that incorporates the ISP1160. The software model for a Digital Still Camera (DSC) is used as the example for illustration (as shown in Figure 39). The host stack provides API for Class driver and device driver, both of which provide API for application tasks for host function.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
81 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
MECHANISM CONTROL TASK IMAGE PROCESSING TASKS
Application layer
FILE MANAGEMENT PRINTER UI/CONTROL
OS
DEVICE DRIVERS Class driver MASS STORAGE CLASS DRIVER PRINTING CLASS DRIVER HOST STACK ISP1160 HAL USB host stack USB Upstream
Printer
RISC
ROM RAM
ISP1160
LEN CONTROL
Flash card Reader/ Writer
USB Downstream
004aaa073
Digital Still Camera
Fig 39. The ISP1160 software model for DSC application.
18. Test information
The dynamic characteristics of the analog I/O ports (D+ and D-) as listed in Table 72 were determined using the circuit shown in Figure 40.
test point 22 D.U.T. 15 k CL 50 pF
MGT967
Load capacitance CL = 50 pF (full-speed mode). Full-speed mode only: internal 1.5 k pull-up resistor on D_DP.
Fig 40. Load impedance.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
82 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
19. Package outline
LQFP64: plastic low profile quad flat package; 64 leads; body 10 x 10 x 1.4 mm SOT314-2
c
y X A 48 49 33 32 ZE
e E HE wM bp 64 1 pin 1 index 16 ZD bp D HD wM B vM B vM A 17 detail X L Lp A A2 A1 (A 3)
e
0
2.5 scale
5 mm
DIMENSIONS (mm are the original dimensions) UNIT mm Note 1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION SOT314-2 REFERENCES IEC 136E10 JEDEC MS-026 EIAJ EUROPEAN PROJECTION A max. 1.60 A1 0.20 0.05 A2 1.45 1.35 A3 0.25 bp 0.27 0.17 c 0.18 0.12 D (1) 10.1 9.9 E (1) 10.1 9.9 e 0.5 HD HE L 1.0 Lp 0.75 0.45 v 0.2 w 0.12 y 0.1 Z D (1) Z E (1) 1.45 1.05 1.45 1.05 7 0o
o
12.15 12.15 11.85 11.85
ISSUE DATE 99-12-27 00-01-19
Fig 41. LQFP64 (SOT314-2) package outline.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
83 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
LQFP64: plastic low profile quad flat package; 64 leads; body 7 x 7 x 1.4 mm
SOT414-1
c
y X
48 49
33 32 ZE
A
e E HE wM pin 1 index bp L 64 1 ZD bp D HD wM B vM B 16 17 detail X Lp A A2 A1 (A 3)
e
vM A
0
2.5 scale
5 mm
DIMENSIONS (mm are the original dimensions) UNIT mm A max. 1.6 A1 0.15 0.05 A2 1.45 1.35 A3 0.25 bp 0.23 0.13 c 0.20 0.09 D (1) 7.1 6.9 E (1) 7.1 6.9 e 0.4 HD 9.15 8.85 HE 9.15 8.85 L 1.0 Lp 0.75 0.45 v 0.2 w 0.08 y 0.08 Z D (1) Z E (1) 0.64 0.36 0.64 0.36 7 0o
o
Note 1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION SOT414-1 REFERENCES IEC 136E06 JEDEC MS-026 EIAJ EUROPEAN PROJECTION
ISSUE DATE 99-12-27 00-01-19
Fig 42. LQFP64 (SOT414-1) package outline.
9397 750 10765 (c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
84 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
20. Soldering
20.1 Introduction to soldering surface mount packages
This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our Data Handbook IC26; Integrated Circuit Packages (document order number 9398 652 90011). There is no soldering method that is ideal for all surface mount IC packages. Wave soldering can still be used for certain surface mount ICs, but it is not suitable for fine pitch SMDs. In these situations reflow soldering is recommended.
20.2 Reflow soldering
Reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. Several methods exist for reflowing; for example, convection or convection/infrared heating in a conveyor type oven. Throughput times (preheating, soldering and cooling) vary between 100 and 200 seconds depending on heating method. Typical reflow peak temperatures range from 215 to 250 C. The top-surface temperature of the packages should preferably be kept:
* below 220 C for all the BGA packages and packages with a thickness 2.5mm
and packages with a thickness <2.5 mm and a volume 350 mm3 so called thick/large packages called small/thin packages.
* below 235 C for packages with a thickness <2.5 mm and a volume <350 mm3 so 20.3 Wave soldering
Conventional single wave soldering is not recommended for surface mount devices (SMDs) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. To overcome these problems the double-wave soldering method was specifically developed. If wave soldering is used the following conditions must be observed for optimal results:
* Use a double-wave soldering method comprising a turbulent wave with high
upward pressure followed by a smooth laminar wave.
* For packages with leads on two sides and a pitch (e):
- larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; - smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves at the downstream end.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
85 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
* For packages with leads on four sides, the footprint must be placed at a 45 angle
to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves downstream and at the side corners. During placement and before soldering, the package must be fixed with a droplet of adhesive. The adhesive can be applied by screen printing, pin transfer or syringe dispensing. The package can be soldered after the adhesive is cured. Typical dwell time is 4 seconds at 250 C. A mildly-activated flux will eliminate the need for removal of corrosive residues in most applications.
20.4 Manual soldering
Fix the component by first soldering two diagonally-opposite end leads. Use a low voltage (24 V or less) soldering iron applied to the flat part of the lead. Contact time must be limited to 10 seconds at up to 300 C. When using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 C.
20.5 Package related soldering information
Table 77: Package[1] BGA, LBGA, LFBGA, SQFP, TFBGA, VFBGA DHVQFN, HBCC, HBGA, HLQFP, HSQFP, HSOP, HTQFP, HTSSOP, HVQFN, HVSON, SMS PLCC[4], SO, SOJ LQFP, QFP, TQFP SSOP, TSSOP, VSO, VSSOP
[1] [2]
Suitability of surface mount IC packages for wave and reflow soldering methods Soldering method Wave not suitable not suitable[3] Reflow[2] suitable suitable
suitable not recommended[4][5] not recommended[6]
suitable suitable suitable
[3]
[4] [5] [6]
For more detailed information on the BGA packages refer to the (LF)BGA Application Note (AN01026); order a copy from your Philips Semiconductors sales office. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the Drypack information in the Data Handbook IC26; Integrated Circuit Packages; Section: Packing Methods. These packages are not suitable for wave soldering. On versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. On versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. If wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. The package footprint must incorporate solder thieves downstream and at the side corners. Wave soldering is suitable for LQFP, QFP and TQFP packages with a pitch (e) larger than 0.8 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. Wave soldering is suitable for SSOP and TSSOP packages with a pitch (e) equal to or larger than 0.65 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm.
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
86 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
21. Revision history
Table 78: Rev Date 03 20030227 Revision history CPCN Description Product data (9397 750 10765) Modifications:
* * * * * * * *
Table 2: updated description for pins 32, 33, 40 and 60. Section 9.4.3: updated the paragraph "In all PTDs, we have assigned device address as 5 and endpoint 1. ActualBytes is always zero....." Updated Figure 24, Figure 26 and Figure 27. Removed Chapter Reset (old Section 11). Table 67: upgraded to Chapter level. Table 69: added table note 2. Table 71: tW(RESET): changed from 10 s to 160 s. Table 74: updated the following: - description for tAS and tAH - changed the value of tRLDV.
* *
02 01 20020912 20020104 -
Updated Figure 33. Updated Section 25.
Product data (9397 750 09628) Objective data (9397 750 09161)
9397 750 10765
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
87 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
22. Data sheet status
Level I II Data sheet status[1] Objective data Preliminary data Product status[2][3] Development Qualification Definition This data sheet contains data from the objective specification for product development. Philips Semiconductors reserves the right to change the specification in any manner without notice. This data sheet contains data from the preliminary specification. Supplementary data will be published at a later date. Philips Semiconductors reserves the right to change the specification without notice, in order to improve the design and supply the best possible product. This data sheet contains data from the product specification. Philips Semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. Relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN).
III
Product data
Production
[1] [2] [3]
Please consult the most recently issued data sheet before initiating or completing a design. The product status of the device(s) described in this data sheet may have changed since this data sheet was published. The latest information is available on the Internet at URL http://www.semiconductors.philips.com. For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status.
23. Definitions
Short-form specification -- The data in a short-form specification is extracted from a full data sheet with the same type number and title. For detailed information see the relevant data sheet or data handbook. Limiting values definition -- Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 60134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information -- Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification.
customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application. Right to make changes -- Philips Semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. When the product is in full production (status `Production'), relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN). Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified.
25. Trademarks
ARM7 and ARM9 -- are trademarks of ARM Ltd. GoodLink -- is a trademark of Koninklijke Philips Electronics N.V. Hitachi -- is a registered trademark of Hitachi Ltd. MIPS-based -- is a trademark of MIPS Technologies, Inc. SoftConnect -- is a trademark of Koninklijke Philips Electronics N.V. StrongARM -- is a registered trademark of ARM Ltd. SuperH -- is a trademark of Hitachi Ltd.
24. Disclaimers
Life support -- These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips Semiconductors
Contact information
For additional information, please visit http://www.semiconductors.philips.com. For sales office addresses, send e-mail to: sales.addresses@www.semiconductors.philips.com.
9397 750 10765
Fax: +31 40 27 24825
(c) Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 03 -- 27 February 2003
88 of 89
Philips Semiconductors
ISP1160
Embedded USB Host Controller
Contents
1 2 3 4 5 6 6.1 6.2 7 7.1 7.2 7.3 7.4 8 8.1 8.2 8.3 8.4 8.5 8.6 9 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 10 10.1 10.2 10.3 10.4 10.5 10.6 11 12 13 14 15 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Ordering information . . . . . . . . . . . . . . . . . . . . . 2 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 4 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4 Functional description . . . . . . . . . . . . . . . . . . . 8 PLL clock multiplier. . . . . . . . . . . . . . . . . . . . . . 8 Bit clock recovery . . . . . . . . . . . . . . . . . . . . . . . 8 Analog transceivers . . . . . . . . . . . . . . . . . . . . . 8 Philips Serial Interface Engine (SIE). . . . . . . . . 8 Microprocessor bus interface. . . . . . . . . . . . . . 8 Programmed I/O (PIO) addressing mode . . . . . 8 DMA mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Microprocessor read/write the ISP1160's internal control registers by PIO mode . . . . . 10 Microprocessor read/write the ISP1160's internal FIFO buffer RAM by PIO mode. . . . . 12 Microprocessor read/write the ISP1160's internal FIFO buffer RAM by DMA mode . . . . 12 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Philips slave Host Controller (HC) . . . . . . . . . 16 HC's four USB states . . . . . . . . . . . . . . . . . . . 16 Generating USB traffic . . . . . . . . . . . . . . . . . . 17 PTD data structure . . . . . . . . . . . . . . . . . . . . . 19 HC's internal FIFO buffer RAM structure . . . . 22 HC's operational model. . . . . . . . . . . . . . . . . . 28 Microprocessor loading. . . . . . . . . . . . . . . . . . 31 Internal pull-down resistors for downstream ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Overcurrent detection and power switching control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Suspend and wake-up . . . . . . . . . . . . . . . . . . 35 HC registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 HC control and status registers . . . . . . . . . . . 38 HC frame counter registers. . . . . . . . . . . . . . . 45 HC Root Hub registers . . . . . . . . . . . . . . . . . . 48 HC DMA and interrupt control registers . . . . . 58 HC miscellaneous registers . . . . . . . . . . . . . . 63 HC buffer RAM control registers . . . . . . . . . . . 65 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . 70 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 71 Recommended operating conditions. . . . . . . 71 Static characteristics. . . . . . . . . . . . . . . . . . . . 72 16 16.1 16.2 16.3 17 17.1 17.2 17.3 18 19 20 20.1 20.2 20.3 20.4 20.5 21 22 23 24 25 Dynamic characteristics . . . . . . . . . . . . . . . . . Timing symbols . . . . . . . . . . . . . . . . . . . . . . . Programmed I/O timing . . . . . . . . . . . . . . . . . DMA timing. . . . . . . . . . . . . . . . . . . . . . . . . . . Application information . . . . . . . . . . . . . . . . . Typical interface circuit . . . . . . . . . . . . . . . . . . Interfacing a ISP1160 to a SH7709 RISC processor. . . . . . . . . . . . . . . . . . . . . . . Typical software model . . . . . . . . . . . . . . . . . . Test information. . . . . . . . . . . . . . . . . . . . . . . . Package outline . . . . . . . . . . . . . . . . . . . . . . . . Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to soldering surface mount packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reflow soldering. . . . . . . . . . . . . . . . . . . . . . . Wave soldering. . . . . . . . . . . . . . . . . . . . . . . . Manual soldering . . . . . . . . . . . . . . . . . . . . . . Package related soldering information . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Data sheet status. . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 75 76 77 80 80 80 81 82 83 85 85 85 85 86 86 87 88 88 88 88
(c) Koninklijke Philips Electronics N.V. 2003. Printed in The Netherlands
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Date of release: 27 February 2003 Document order number: 9397 750 10765


▲Up To Search▲   

 
Price & Availability of ISP1160

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X