INTEGRATED CIRCUITS PDIUSBH11A Universal Serial Bus Hub Product specification Supersedes data of 1998 Jun 04 1999 Jul 22 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A FEATURES DESCRIPTION • Complies with the Universal Serial Bus specification Rev. 1.0 • Complies with the ACPI, OnNOW, and USB power management The Universal Serial Bus Hub PDIUSBH11A is a cost and feature optimized second generation USB Hub with 4 downstream ports and 3 embedded functions (compound hub). It is normally used in any microcontroller-based system and communicates with the system microcontroller over the high speed I2C serial bus. This modular approach to implementing a hub and embedded functions allows the designer to choose the optimum system microcontroller from the available wide variety. This flexibility cuts down the development time, risks and costs by allowing the use of the existing architecture and the firmware investments. This results in the fastest way to develop the most cost-effective USB peripheral solutions that need hub functionality. The PDIUSBH11A is ideally suited for computer monitors, docking stations, keyboards and many other applications that use the I2C or the SMBUS based architecture. requirements • Compliant with USB Human Interface Devices and Monitor Control Class • Compliant with System Management Bus Specification Rev. 1.0 • Four downstream ports with per packet connectivity and auto speed detection • Supports up to 3 embedded functions • Integrated SIE (Serial Interface Engine), FIFO memory and transceivers The PDIUSBH11A conforms to the USB specification Rev 1.0, I2C serial interface and the SMBUS specifications. It is fully compliant with the Human Interface Device Class and Monitor Control Class specifications. Its low suspend power consumption along with the programmable LazyClock output allows for easy implementation of equipment that is compliant to the ACPI, OnNow and USB power management requirements. The low operating power allows the implementation of the bus powered or the compound powered hub function. • Automatic USB protocol handling • High speed slave I2C Interface (up to 1 Mbit/s) • Compatible with the PDIUSBH11 hardware and software • Software controllable connection to USB bus (SoftConnect) • Good USB downstream connection indicators that blink with traffic (GoodLink) • Low frequency 12 MHz crystal oscillator eases EMI design issues • Programmable output clock frequency • Bus powered capability with very low suspend current • Controllable LazyClock output at 30 kHz (nominal) • Single 3.3V supply with 5V tolerant I/O • Available in 32-pin SDIP and SO packages • Full-scan design with high fault coverage (>99%) insures high The PDIUSBH11A is fully backward compatible to the first generation PDIUSBH11 hardware and software. This allows an easy running change in the manufacturing line to realize the cost savings. In addition, it also incorporates the feature enhancements like SoftConnect, GoodLink, LazyClock, programmable clock output, lower frequency crystal oscillator, additional embedded functions and integration of termination resistors. All of these feature enhancements contribute to significant cost savings in the system implementation and at the same time ease the implementation of advanced USB functionality into the peripherals. quality • Higher than 8 KV in-circuit ESD protection lowers cost of extra components ORDERING INFORMATION PACKAGES TEMPERATURE RANGE 32-pin plastic SO –40°C to +85°C 32-pin plastic SDIP –40°C to +85°C 1999 Jul 22 OUTSIDE NORTH AMERICA NORTH AMERICA PKG. DWG. # PDIUSBH11A D PDIUSBH11A D SOT287-1 PDIUSBH11A NB PDIUSBH11A NB SOT232-1 2 853-2043 22024 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A BLOCK DIAGRAM 12 MHz UPSTREAM PORT 3.3V D– D+ 1.5kΩ PLL D+ SoftConnect INTEGRATED RAM BIT CLOCK RECOVERY ANALOG TX/RX FULL SPEED PHILIPS SIE I2C SLAVE INTERFACE MEMORY MANAGEMENT UNIT END OF FRAME TIMERS HUB REPEATER GENERAL PORT CONTROLLER ANALOG TX/RX GOODLINK CONTROL ANALOG TX/RX GOODLINK CONTROL ANALOG TX/RX GOODLINK CONTROL ANALOG TX/RX GOODLINK CONTROL INTERRUPT NO LIGHT D+ D– LED DOWNSTREAM PORT 2 D+ D– LED DOWNSTREAM PORT 3 D+ D– D+ LED DOWNSTREAM PORT 4 D– LED DOWNSTREAM PORT 5 LIT SDA SCL BLINKING NO DATA CONNECTED CONNECTION TRANSFER GOODLINK SV00839 NOTE: 1. This is a conceptual block diagram and does not include each individual signal. 1999 Jul 22 3 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Analog Transceivers Memory Management Unit (MMU) and Integrated RAM These transceivers interface directly to the USB cables through some termination resistors. They are capable of transmitting and receiving serial data at both “full speed” (12 Mbit/s) and “low speed” (1.5 Mbit/s) data rates. The MMU and the integrated RAM is used to handle the large difference in data rate between USB, running in bursts of 12 Mbit/s and the I2C interface to the microcontroller, running at up to 1 Mbit/s. This allows the microcontroller to read and write USB packets at its own speed through I2C. Hub Repeater The hub repeater is responsible for managing connectivity on a per packet basis. It implements packet signaling connectivity and resume connectivity. I2C Slave Interface This block implements the necessary I2C interface protocol. A slave I2C allows for simple micro-coding. An interrupt is used to alert the microcontroller whenever the PDIUSBH11A needs attention. As a slave I2C device, the PDIUSBH11A I2C clock: SCL is an input and is controlled by the microcontroller. The I2C interface can run up to 1 Mbit/s. Low speed devices can be connected to downstream ports since the repeater will not propagate upstream packets to downstream ports, to which low speed devices are connected, unless they are preceded by a PREAMBLE PID. End of Frame Timers SoftConnect The connection to the USB is accomplished by bringing D+ (for high-speed USB device) high through a 1.5 kΩ pull-up resistor. In the PDIUSBH11A, the 1.5 kΩ pull-up resistor is integrated on-chip and is not connected to VCC by default. Similarly, the 15 kΩ pull-down resistors are integrated on-chip and are not connected to GND by default. The connection of the internal resistors to Vcc or GND is established through a command sent by the external/system microcontroller. This allows the system microcontroller to complete its initialization sequence before deciding to establish connection to the USB. Re-initialization of the USB bus connection can also be affected without requiring the pull out of the cable. This block contains the specified EOF1 and EOF2 timers which are used to detect loss-of-activity and babble error conditions in the hub repeater. The timers also maintain the low-speed keep-alive strobe which is sent at the beginning of a frame. General and Individual Port Controller The general and individual port controllers together provide status and control of individual downstream ports. Via the I2C-interface a microcontroller can access the downstream ports and request or change the status of each individual port. Any change in the status or settings of the individual port will result in an interrupt request. Via an interrupt register, the servicing microcontroller can look up the downstream port which generated the interrupt and request its new status. Any port status change can then be reported to the host via the hub status change (interrupt) endpoint. The PDIUSBH11A will check for USB VBUS availability before the connection can be established. VBUS sensing is provided through OCURRENT_N pin. See the pin description for details. Sharing of VBUS sensing and overcurrent sensing can be easily accomplished by using VBUS voltage as the pull-up voltage for the open drain output of the overcurrent indication device. PLL A 12 MHz to 48 MHz clock multiplier PLL (Phase-Locked Loop) is integrated on-chip. This allows for the use of low-cost 12 MHz crystal. EMI is also minimized due to lower frequency crystal. No external components are needed for the operation of the PLL. It should be noted that the tolerance of the internal resistors is higher (30%) than that specified by the USB specification (5%). However, the overall VSE voltage specification for the connection can still be met with good margin. The decision to make use of this feature lies with the users. Bit Clock Recovery The bit clock recovery circuit recovers the clock from the incoming USB data stream using 4X over-sampling principle. It is able to track jitter and frequency drift specified by the USB specification. SoftConnect is a patent pending technology from Philips Semiconductors. Philips Serial Interface Engine (PSIE) Good downstream USB connection indication is provided through GoodLink technology. When the port is enabled and there is at least one valid upstream traffic from the port, the LED indicator will be ON. The LED indicator will blink on every valid upstream traffic. A valid upstream traffic is defined as traffic with a good SOP and terminated by a good EOP. During global suspend, all LEDs will be OFF. GoodLink 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 stuffing/de-stuffing, CRC checking/generation, PID verification/generation, address recognition, handshake evaluation/generation. This feature provides a user-friendly indicator on the status of the hub, the connected downstream devices and the USB traffic. It is a useful field diagnostics tool to isolate the faulty equipment. This feature helps lower the field support and the hotline costs. 1999 Jul 22 4 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A ENDPOINT DESCRIPTIONS There are two endpoint configuration modes supported by the PDIUSBH11A, the Single Embedded Function mode and the Multiple (3) Embedded Function mode. The Single Embedded Function mode is the default at power up reset. The Multiple (3) Embedded Function mode can be configured by writing a zero to bit 7 of the first byte of the Set Mode command. Either mode is backward compatible to the PDIUSBH11. Table 1. Single Embedded Function mode (default at power up) FUNCTION PORTS ENDPOINT # ENDPOINT INDEX TRANSFER TYPE DIRECTION MAX PACKET SIZE (BYTES) Hub 0: Upstream 2–5: Downstream 0 0 1 Control OUT IN 8 8 1 – Interrupt IN 1 0 2 3 Control OUT IN 8 8 1 5 4 Generic OUT IN 8 8 2 6 7 Generic OUT IN 8 8 3 8 9 Generic OUT IN 8 8 Embedded Function 1 1 NOTES: 1. Hub interrupt endpoint is not indexed. 2. Generic endpoint can be used for Interrupt or Bulk endpoint. Table 2. Multiple (3) Embedded Function mode FUNCTION PORTS ENDPOINT # ENDPOINT INDEX TRANSFER TYPE DIRECTION MAX PACKET SIZE (BYTES) Hub 0: Upstream 2–5: Downstream 0 0 1 Control OUT IN 8 8 1 – Interrupt IN 1 0 2 3 Control OUT IN 8 8 1 5 4 Generic OUT IN 8 8 0 10 11 Control OUT IN 8 8 1 6 7 Generic OUT IN 8 8 0 12 13 Control OUT IN 8 8 1 8 9 Generic OUT IN 8 8 Embedded Function 1 Embedded Function 6 Embedded Function 7 1999 Jul 22 1 6 7 5 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A PIN DESCRIPTION The PDIUSBH11A has two modes of operation. The first mode (Mode 0) configures the pins DNx_GL_N for GoodLink LED indication. The second mode (Mode 1) configures the LED pins as per port overcurrent condition pins. An overcurrent condition on any port can be uniquely identified in Mode 1. However, all downstream ports are disabled as a result of a single overcurrent condition. In addition to the two modes of operation, the PDIUSBH11A can also be configured to take either a 48 MHz crystal oscillator (for backward compatibility to PDIUSBH11) or a 12 MHz crystal. The internal 4X clock multiplier PLL will be activated when 12 MHz input XTAL mode is selected. Also, the output clock frequency is now programmable rather than fixed to 12 MHz. The output clock frequency can be programmed through the Set Mode command. All these new features are added while maintaining backward compatibility to the PDIUSBH11 through TEST2 and TEST1 pins. TEST2 TEST1 MODE INPUT XTAL FREQUENCY (MHz) OUTPUT CLOCK FREQUENCY (AT RESET) 00 MODE 0 (GoodLink) 48 12MHz 01 MODE 0 (GoodLink) 12 4 MHz 10 MODE 1 (Individual Overcurrent) 12 4 MHz 11 MODE 1 (Individual Overcurrent) 48 12 MHz NOTE: 1. Pin TEST3 should always be connected to Ground at all times. Pin configuration TEST1 1 32 UP_DM TEST2 2 31 UP_DP TEST3 3 30 AVCC RESET_N 4 29 AGND GND 5 28 DN2_DM XTAL1 6 27 DN2_DP XTAL2 7 CLKOUT 8 VCC 9 26 DN3_DM DUAL IN-LINE PACKAGE 25 DN3_DP 24 DN4_DM 10 23 DN4_DP SWITCH_N 11 22 DN5_DM SUSPEND 12 21 DN5_DP OCURRENT_N / OCURRENT2_N * 13 20 GND DN3_GL_N / OCURRENT3_N * 14 19 SCL DN4_GL_N / OCURRENT4_N * 15 18 SDA DN5_GL_N / OCURRENT5_N * 16 17 INT_N DN2_GL_N SV01047 NOTE: Pins 10, 14, 15, and 16 show alternative pin functions, depending on mode of operation (Mode 0 or Mode 1) as described in Pin Description. 1999 Jul 22 6 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Pin description (MODE 0 – Good Link) PIN NO PIN SYMBOL TYPE DRIVE DESCRIPTION 1 TEST1 Input Connect to Ground for 48MHz crystal input. Connect to VCC for 12MHz crystal input. 2 TEST2 Input Connect to Ground 3 TEST3 Input 4 RESET_N Input 5 GND 6 XTAL1 Input 7 XTAL2 Output 8 CLKOUT Output 9 VCC Power 10 OCURRENT_N 11 Connect to Ground ST Power Power-on reset Ground reference Crystal connection 1 (48 or 12MHz depending on TEST1 pin) Crystal connection 2 (48 or 12MHz depending on TEST1 pin) 3mA Programmable output clock for external devices Voltage supply 3.3V ± 0.3V Overcurrent notice to the device. This pin is also used to sense the USB VBUS. A LOW on this pin of less than 2 seconds is interpreted as an overcurrent notice; longer than 2 seconds is interpreted as loss of VBUS. Input ST SWITCH_N Output OD6 Enables power to downstream ports 12 SUSPEND Output OD6 Device is in suspended state 13 DN2_GL_N Output OD6 Downstream port 2 GoodLink LED indicator 14 DN3_GL_N Output OD6 Downstream port 3 GoodLink LED indicator 15 DN4_GL_N Output OD6 Downstream port 4 GoodLink LED indicator 16 DN5_GL_N Output OD6 Downstream port 5 GoodLink LED indicator 17 INT_N Output OD6 Connect to microcontroller interrupt 18 SDA I/O OD6 I2C bi-directional data 19 SCL I/O OD6 I2C bit-clock 20 GND Power 21 DN5_DP AI/O Downstream port 5 D+ connection 22 DN5_DM AI/O Downstream port 5 D– connection 23 DN4_DP AI/O Downstream port 4 D+ connection 24 DN4_DM AI/O Downstream port 4 D– connection 25 DN3_DP AI/O Downstream port 3 D+ connection 26 DN3_DM AI/O Downstream port 3 D– connection 27 DN2_DP AI/O Downstream port 2 D+ connection 28 DN2_DM AI/O Downstream port 2 D– connection 29 AGND Power Analog Ground reference 30 AVCC Power Analog voltage supply 3.3V ± 0.3V 31 UP_DP AI/O Upstream D+ connection 32 UP_DM AI/O Upstream D– connection Ground reference NOTES: 1. Signals ending in _N indicate active low signals. ST: Schmitt Trigger OD6: Open Drain with 6 mA drive AI/O: Analog I/O 1999 Jul 22 7 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Pin description (MODE 1 – Individual Overcurrent) PIN NO PIN SYMBOL TYPE DRIVE DESCRIPTION 1 TEST1 Input Connect to VCC for 48MHz crystal input. Connect to Ground for 12MHz crystal input. 2 TEST2 Input Connect to VCC 3 TEST3 Input Connect to Ground 4 RESET_N 5 GND 6 XTAL1 Input Crystal connection 1 (48 or 12MHz depending on TEST1 pin) 7 XTAL2 Output Crystal connection 2 (48 or 12MHz depending on TEST1 pin) 8 CLKOUT Output 9 VCC Power 10 OCURRENT2_N Input ST Power Power-on reset Ground reference 3mA Programmable output clock for external devices Voltage supply 3.3V ± 0.3V Input ST Downstream port 2 overcurrent notice. This pin is also used to sense the USB VBUS. A LOW on this pin of less than 2 seconds is interpreted as an overcurrent notice; longer than 2 seconds is interpreted as loss of VBUS. 11 SWITCH_N Output OD6 Enables power to downstream ports 12 SUSPEND Output OD6 Device is in suspended state 13 DN2_GL_N Output OD6 Downstream port 2 GoodLink LED indicator 14 OCURRENT3_N Input ST Downstream port 3 over-current notice 15 OCURRENT4_N Input ST Downstream port 4 over-current notice 16 OCURRENT5_N Input ST Downstream port 5 over-current notice 17 INT_N Output OD6 Connect to microcontroller interrupt 18 SDA I/O OD6 I2C bi-directional data 19 SCL I/O OD6 I2C bit-clock 20 GND Power 21 DN5_DP AI/O Downstream port 5 D+ connection 22 DN5_DM AI/O Downstream port 5 D– connection 23 DN4_DP AI/O Downstream port 4 D+ connection 24 DN4_DM AI/O Downstream port 4 D- connection 25 DN3_DP AI/O Downstream port 3 D+ connection 26 DN3_DM AI/O Downstream port 3 D- connection 27 DN2_DP AI/O Downstream port 2 D+ connection 28 DN2_DM AI/O Downstream port 2 D- connection 29 AGND Power Analog Ground reference 30 AVCC Power Analog voltage supply 3.3V ± 0.3V 31 UP_DP AI/O Upstream D+ connection 32 UP_DM AI/O Upstream D- connection Ground reference NOTES: 1. Signals ending in _N indicate active low signals. ST: Schmitt Trigger OD6: Open Drain with 6 mA drive AI/O: Analog I/O 1999 Jul 22 8 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A APPLICATION DIAGRAM USB UPSTREAM 3.3V 12MHz CLKOUT I2C µC H11A USB DOWNSTREAM 5V POWER SWITCH AND OVERCURRENT CIRCUIT SWITCHED 5V GOODLINK LED SV00840 I2C Interface Protocol The I2C bus is used to interface to an external microcontroller needed to control the operation of the hub. For cost consideration, the target system microcontroller can be shared and utilized for this purpose. The PDIUSBH11A implements a slave I2C interface. When the PDIUSBH11A needs to communicate with the microcontroller it asserts an interrupt signal. The microcontroller services this interrupt by reading the appropriate status register on the PDIUSBH11A through the I2C bus. (For more information about the I2C serial bus, refer to the I 2C Handbook, Philips order number 9397 750 00013). An I2C transaction starts with a Start Condition, followed by an address. When the address matches either the command or data address the transaction starts and runs until a Stop Condition or another Start Condition (repeated start) occurs. The command address is write-only and is unable to do a read. The next bytes in the message are interpreted as commands. Several command bytes can be sent after one command address. Each of the command bytes is acknowledged and passed on to the Memory Management Unit inside the PDIUSBH11A. The I2C interface on the PDIUSBH11A defines two types of transactions: 1. command transaction A command transaction is used to define which data (e.g., status byte, buffer data, ...) will be read from / written to the USB interface in the next data transaction. A data transaction usually follows a command transaction. When the start condition address matches the data address, the next bytes are interpreted as data. When the RW bit in the address indicates a ‘master writes data to slave’ (=‘0’) the bytes are received, acknowledged and passed on to the Memory Management Unit. If the RW bit in the address indicates a ‘master reads data from slave’ (=‘1’) the PDIUSBH11A will send data to the master. The I2C-master must acknowledge all data bytes except the last one. In this way the I2C interface knows when the last byte has been transmitted and it then releases the SDA line so that the master controller can generate the STOP condition. 2. data transaction A data transaction reads data from / writes data to the USB interface. The meaning of the data is dependent on the command transaction which was sent before the data transaction. Repeated start support allows another packet to be sent without generating a Stop Condition. Two addresses are used to differentiate between command and data transactions. Writing to the command address is interpreted as a command, while reading from / writing to the data address is used to transfer data between the PDIUSBH11A and the controller. Timing The I2C interface in the PDIUSBH11A can support clock speeds up to 1MHz. ADDRESS TABLE TYPE OF ADDRESS PHYSICAL ADDRESS (MSB to LSB) Command 0011 011 (binary) Data 0011 010 (binary) 1999 Jul 22 9 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A COMMAND SUMMARY Some commands have the same command code (e.g., Read Buffer and Write Buffer). In these cases, the direction of the Data Phase (read or write) indicates which command is executed. COMMAND NAME RECIPIENT CODING DATA PHASE Hub D0h Write 1 byte Embedded Function 1 D1h Write 1 byte Embedded Function 6 D2h Write 1 byte Write 1 byte Initialization Commands Set Address / Enable Embedded Function 7 D3h Set Endpoint Enable Hub + Embedded Functions D8h Write 1 byte Set Mode Hub + Embedded Functions F3h Write 2 bytes Data Flow Commands Read Interrupt Register Select Endpoint Read Last Transaction Status Read Endpoint Status Hub Control OUT F4h Read 2 bytes 00h Read 1 byte (optional) Hub Control IN 01h Read 1 byte (optional) Other Endpoints 00h + Endpoint Index Read 1 byte (optional) Hub Control OUT 40h Read 1 byte Hub Control IN 41h Read 1 byte Other Endpoints 40h + Endpoint Index Read 1 byte Hub Control OUT 80h Read 1 byte Hub Control IN 81h Read 1 byte Other Endpoints 80h + Endpoint Index Read 1 byte Read Buffer Selected Endpoint F0h Read n bytes Write Buffer Selected Endpoint F0h Write n bytes Set Endpoint Status Hub Control OUT 40h Write 1 byte Hub Control IN 41h Write 1 byte Other Endpoints 40h + Endpoint Index Write 1 byte Acknowledge Setup Selected Endpoint F1h None Clear Buffer Selected Endpoint F2h None Validate Buffer Selected Endpoint FAh None Port 2 E0h Write 1 byte Port 3 E1h Write 1 byte Port 4 E2h Write 1 byte Port 5 E3h Write 1 byte Port 2 E8h Write 1 byte Port 3 E9h Write 1 byte Port 4 EAh Write 1 byte Port 5 EBh Write 1 byte Port 2 E0h Read 1 or 2 bytes Port 3 E1h Read 1 or 2 bytes Port 4 E2h Read 1 or 2 bytes Port 5 E3h Read 1 or 2 bytes F7h Write 1 byte Hub Commands Clear Port Feature Set Port Feature Get Port Status Set Status Change Bits General Commands Send Resume F6h None Read Current Frame Number F5h Read 1 or 2 bytes 1999 Jul 22 10 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A COMMAND DESCRIPTIONS Set Endpoint Enable Command Procedure Command Data There are four basic types of commands: Initialization, Data, Hub Specific, and General commands. Respectively, these are used to initialize the hub and embedded function; for data flow between the hub, embedded function, and the host; some Hub Specific commands for controlling individual downstream ports; and some General commands. : D8h : Write 1 byte The hub’s interrupt endpoint and the embedded functions generic endpoints can only be enabled when the corresponding hub/function is enabled via the Set Address/Enable command. 7 X Initialization Commands 6 X 5 X 4 X 3 0 2 0 1 0 0 0 Initialization commands are used during the enumeration process of the USB network. These commands are used to enable the hub and embedded function endpoints. They are also used to set the USB assigned address. HUB’S INTERRUPT ENDPOINT EMBEDDED FUNCTION 1 GENERIC ENDPOINTS EMBEDDED FUNCTION 6 GENERIC ENDPOINTS EMBEDDED FUNCTION 7 GENERIC ENDPOINTS Set Address / Enable Command RESERVED SV00841 : D0h (Hub), D1h, D2h, D3h, (Embedded Functions) : Write 1 byte Data Hub’s Interrupt Endpoint This command is used to set the USB assigned address and enable the hub or embedded functions respectively. The hub powers up enabled and needs not be enabled by the firmware at power up initialization. Embedded Function 1 Generic Endpoint Embedded Function 6 Generic Endpoint 7 0 6 0 5 0 4 0 3 0 2 0 1 0 0 0 POWER ON VALUE Embedded Function 7 Generic Endpoint ADDRESS ENABLE SV00825 Address The value written becomes the address. Enable A ‘1’ enables this function. 1999 Jul 22 POWER ON VALUE 11 A value of ‘1’ indicates the hub’s interrupt endpoint is enabled. A value of ‘1’ indicates the embedded function 1 generic endpoints are enabled. A value of ‘1’ indicates the embedded function 6 generic endpoints are enabled. A value of ‘1’ indicates the embedded function 7 generic endpoints are enabled. Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Connect Downstream Resistors A ‘1’ indicates that downstream resistors are connected. A ‘0’ means that downstream resistors are not connected. The programmed value will not be changed by a bus reset. Set Mode Command Data : F3h : Write 2 bytes The Set Mode command is followed by two data writes. The first byte contains the configuration byte values. The second byte is the clock division factor byte. Non-blinking LEDs A ‘1’ indicates that GoodLink LEDs will NOT blink when there is traffic. Leave this bit at ‘0’ to achieve blinking LEDs. The programmed value will not be changed by a bus reset. Configuration Byte 7 1 6 0 5 0 4 0 3 1 2 1 1 0 0 1 POWER ON VALUE Embedded Function Mode REMOTE WAKEUP NO LAZYCLOCK A ‘1’ indicates single embedded function mode. A ‘0’ indicates multiple (3) embedded function mode. See endpoint descriptions for details. The programmed value will not be changed by a bus reset. CLOCK RUNNING DEBUG MODE SoftConnect CONNECT DOWNSTREAM RESISTORS Clock Division Factor Byte NON-BLINKING LEDs EMBEDDED FUNCTION MODE SV00842 Remote Wakeup A ‘1’ indicates that a remote wakeup feature is ON. Bus reset will set this bit to ‘1’. No LazyClock A ‘1’ indicates that CLKOUT will not switch to LazyClock. A ‘0’ indicates that the CLKOUT switches to LazyClock 1ms after the Suspend pin goes high. LazyClock frequency is 30 kHz (± 40%). The programmed value will not be changed by a bus reset. Clock Running A ‘1’ indicates that the internal clocks and PLL are always running even during Suspend state. A ‘0’ indicates that the internal clock, crystal oscillator and PLL are stopped whenever not needed. To meet the strict Suspend current requirement, this bit needs to be set to ‘0’. The programmed value will not be changed by a bus reset. Debug Mode A ‘1’ indicates that all errors and “NAKing” are reported and a ‘0’ indicates that only OK and babbling are reported. The programmed value will not be changed by a bus reset. SoftConnect A ‘1’ indicates that the upstream pull-up resistor will be connected if VBUS is available. A ‘0’ means that the upstream resistor will not be connected. The programmed value will not be changed by a bus reset. 1999 Jul 22 7 X 6 X 5 0 4 0 3 0 2 0 1 1 0 1 POWER ON VALUE FOR 48MHz INPUT X X 1 1 1 0 1 1 POWER ON VALUE FOR 12MHz INPUT CLOCK DIVISION FACTOR RESERVED SV00843 Clock Division Factor 12 The value indicates clock division factor for CLKOUT. The output frequency is 48 MHz/(N+1) where N is the Clock Division Factor. When the 48MHz input crystal frequency is selected, the reset value is 3. This will give a default output frequency at CLKOUT pin of 12 MHz, thus maintaining backward compatibility to the PDIUSBH11. When the 12 MHz input crystal frequency is selected, the reset value is 11. This will produce the lowest output frequency of 4 MHz which can then be programmed up by the user. The PDIUSBH11A design ensures no glitching during frequency change. The programmed value will not be changed by a bus reset. Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Data Flow Commands Select Endpoint Data flow commands are used to manage the data transmission between the USB endpoints and the monitor. Much of the data flow is initiated via an interrupt to the microcontroller. The microcontroller utilizes these commands to access and determine whether the endpoint FIFOs have valid data. Command Data The Select Endpoint command initializes an internal pointer to the start of the Selected buffer. Optionally, this command can be followed by a data read, which returns ‘0’ if the buffer is empty and ‘1’ if the buffer is full. Read Interrupt Register Command Data : 00-0Dh : Optional Read 1 byte : F4h : Read 2 bytes 7 X 6 X 5 X 4 X 3 X 2 X 1 X 0 0 POWER ON VALUE Interrupt Register Byte 1 FULL/EMPTY 7 0 6 0 5 0 4 0 3 0 2 0 1 0 0 0 RESERVED POWER ON VALUE ENDPOINT INDEX 0 (HUB CONTROL OUT) SV00831 ENDPOINT INDEX 1 (HUB CONTROL IN) Full/Empty ENDPOINT INDEX 2 A ‘1’ indicates the buffer is full, ‘0’ indicates an empty buffer. ENDPOINT INDEX 3 ENDPOINT INDEX 4 ENDPOINT INDEX 5 Read Last Transaction Status ENDPOINT INDEX 6 Command Data ENDPOINT INDEX 7 SV00844 The Read Last Transaction Status command is followed by one data read that returns the status of the last transaction of the endpoint. This command also resets the corresponding interrupt flag in the interrupt register, and clears the status, indicating that it was read. Interrupt Register Byte 2 7 X 6 0 5 0 4 0 3 0 2 0 1 0 0 0 : 40–4Dh : Read 1 byte POWER ON VALUE This command is useful for debugging purposes. Since it keeps track of every transaction, the status information is overwritten for each new transaction. ENDPOINT INDEX 8 ENDPOINT INDEX 9 ENDPOINT INDEX 10 7 0 ENDPOINT INDEX 11 6 0 5 0 4 0 3 0 2 0 1 0 ENDPOINT INDEX 12 POWER ON VALUE ENDPOINT INDEX 13 DATA RECEIVE/TRANSMIT SUCCESS BUS RESET ERROR CODE (SEE TABLE) RESERVED SETUP PACKET SV00845 DATA 0/1 PACKET PREVIOUS STATUS NOT READ SV00832 This command indicates the origin of an interrupt. A ‘1’ indicates an interrupt occurred at this endpoint. The bits are cleared by reading the endpoint status register through Read Endpoint Status command. Data Receive/Transmit Success A ‘1’ indicates data has been received or transmitted successfully. After a bus reset an interrupt will be generated and bit 6 of the Interrupt Register Byte 2 will be ‘1’. [In the PDIUSBH11, the bus reset event is indicated by the absence of a ‘1’ in any bit of the Interrupt Register. Note that the backward compatibility is still maintained because in the PDIUSBH11, the Interrupt Register Byte 2 does not exist.] The bus reset interrupt is internally cleared by reading the interrupt register. A bus reset is completely identical to the hardware reset through the RESET_N pin with the sole difference of interrupt notification. The hub interrupt endpoint is handled internally by the PDIUSBH11A hardware without the need of microcontroller intervention. 1999 Jul 22 0 0 13 Error Code See Table 3, Error Codes. Setup Packet A ‘1’ indicates the last successful received packet had a SETUP token (this will always read ‘0’ for IN buffers. Data 0/1 Packet A ‘1’ indicates the last successful received or sent packet had a DATA1 PID. Previous Status not Read A ‘1’ indicates a second event occurred before the previous status was read. Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Table 3. ERROR CODES Read Buffer ERROR CODE Command Data RESULT : F0h : Read multiple bytes (max 10) 0000 No Error 0001 PID encoding Error; bits 7–4 are not the inversion of bits 3–0 0010 PID unknown; encoding is valid, but PID does not exist 0011 Unexpected packet; packet is not of the type expected (= token, data or acknowledge), or SETUP token to a non-control endpoint 0100 Token CRC Error The buffer pointer is not reset to the buffer start by the Read Buffer command. This means that reading or writing a buffer can be interrupted by any other command (except for Select Endpoint), or can be done by more than one I2C transaction (read the first 2 bytes to get the number of data bytes, then read the rest in other transactions). 0101 Data CRC Error The data in the buffer are organized as follows: 0110 Time Out Error 0111 Babble Error 1000 Unexpected End-of-packet 1001 Sent or received NAK 1010 Sent Stall, a token was received, but the endpoint was stalled 1011 Overflow Error, the received packet was longer than the available buffer space 1101 Bitstuff Error 1111 Wrong DATA PID; the received DATA PID was not the expected one The Read Buffer command is followed by a number of data reads, which return the contents of the selected endpoint data buffer. After each read, the internal buffer pointer is incremented by 1. • byte 0: • byte 1: • byte 2: • byte 3: 6 X 5 0 4 0 3 0 2 0 1 X 0 X Data byte 1 Data byte 2 Command Data : F0h : Write multiple bytes (max 10) The Write Buffer command is followed by a number of data writes, which load the endpoints buffer. The data must be organized in the same way as described in the Read Buffer command. The first byte (reserved) should always be ‘0’. As in the Read Buffer command, the data can be split up into different I2C data transactions. : 80–8Dh : Read 1 byte 7 X Number/length of data bytes Write Buffer Read Endpoint Status Command Data Reserved: can have any value WARNING: There is no protection against writing or reading over a buffer’s boundary or against writing into an OUT buffer or reading from an IN buffer. Any of these actions could cause an incorrect operation. Data in an OUT buffer are only meaningful after a successful transaction. POWER ON VALUE RESERVED Clear Buffer SETUP PACKET STALL Command Data DATA 0/1 PACKET BUFFER FULL : F2h : None When a packet is received completely, an internal endpoint buffer full flag is set. All subsequent packets will be refused by returning a NAK. When the microcontroller has read the data, it should free the buffer by the Clear Buffer command. When the buffer is cleared new packets will be accepted. RESERVED SV00833 Setup Packet A ‘1’ indicates the last received packet had a SETUP token. STALL A ‘1’ indicates the endpoint is stalled. Validate Buffer Data 0/1 Packet A ‘1’ indicates if the last received or sent packet had a DATA1 PID. Command Data Buffer Full A ‘1’ indicates that the buffer is full. When the microprocessor has written data into an IN buffer, it should set the buffer full flag by the Validate Buffer command. This indicates that the data in the buffer are valid and can be sent to the host when the next IN token is received. 1999 Jul 22 14 : FAh : None Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Set Endpoint Status Hub Commands Command Data Hub commands are used to report connectivity and power status between the hub and the host. These commands allow the host to enable each port individually and get any change of status such as new connectivity information. : 40–4Dh : Write 1 byte A stalled control endpoint is automatically unstalled when it receives a SETUP token, regardless of the content of the packet. If the endpoint should stay in its stalled state, the microcontroller can re-stall it. Clear/Set Port Feature Command Data When a stalled endpoint is unstalled (either by the Set Endpoint Status command or by receiving a SETUP token), it is also re-initialized. This flushes the buffer and if it is an OUT buffer it waits for a DATA 0 PID, if it is an IN buffer it writes a DATA 0 PID. : E0–E3h (Clear) and E8h–EBh (Set) : Write 1 byte The data written in the data phase is the feature code described in Table 4. When the controller receives a Set Feature or a Clear Feature request, there are two possibilities: Even when unstalled, writing Set Endpoint Status to ‘0’ initializes the endpoint. The request applies to port 1, the embedded port. In this case the request should be handled internally by the controller. 7 X 6 X 5 X 4 X 3 X 2 X 1 X 0 0 If the request applies to ports 2 through 5, the controller should translate the request into a Set Feature or Clear Feature command towards the PDIUSBH11A. POWER ON VALUE STALLED When the PDIUSBH11A is configured in mode 0, there is only one power switch output and one overcurrent input. This means that the F_PORT_POWER and C_PORT_OVERCURRENT features are not port specific. For these features, any of the Set / Clear Feature commands can be used. The specific port assignment is ignored. RESERVED SV00834 Stalled A ‘1’ indicates the endpoint is stalled. When the PDIUSBH11A is configured in mode 1, there is still only one power switch output but there are four individual overcurrent input pins corresponding to each port. This means that the F_PORT_POWER feature is port specific and the C_PORT_OVERCURRENT feature is not port specific. Acknowledge Setup Command Data : F1h : None The arrival of a SETUP packet flushes the IN buffer and disables the Validate Buffer and Clear Buffer commands for both IN and OUT endpoints. Setting the F_PORT_POWER feature turns the power on when it is off and turns the overcurrent detection on only when the power is already on. This allows to have a short period of overcurrent condition at the moment that power is switched on. For this reason, the F_PORT_POWER feature needs to be set twice. Clearing this feature turns both the power and the overcurrent detection off. The microcontroller needs to re-enable these commands by the Acknowledge Setup command. This ensures that the last SETUP packet stays in the buffer and no packet can be sent back to the host until the microcontroller has acknowledged explicitly that it has seen the SETUP packet. The microcontroller must send the Acknowledge Setup command to both the IN and OUT endpoints. Table 4. Data written in data phase FEATURE FEATURE CODE SET CLEAR F_PORT_ENABLE 0 Enables a port Disables a port F_PORT_SUSPEND 1 Suspends a port Resumes a port FC_PORT_RESET 2 Resets a port Clears a port Reset Change bit F_PORT_POWER 3 Powers all ports Unpowers all ports C_PORT_CONNECTION 4 – Clears a port Connection Change bit C_PORT_ENABLE 5 – Clears a port Enable Change bit C_PORT_SUSPEND 6 – Clears a port Suspend Change bit C_PORT_OVERCURRENT 7 – Clears a port (Mode 1) or hub (Mode 0) Overcurrent Change bit 1999 Jul 22 15 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Port Status Change Byte The description for the Port Status Change Byte is similar to the Port Status Byte except that the value of the bits are ‘1’ only when a change has occurred. Get Port Status Command Data : E0h–E3h : Read 1 or 2 bytes The Get Port Status Command can be followed by one or two data reads. The first byte returned contains the port status. The second byte returned is the port status change byte. 7 X 6 X 5 X 4 0 3 0 2 0 1 0 0 0 POWER ON VALUE CONNECT Port Status Byte ENABLED 7 X 6 0 5 0 4 0 3 0 2 0 1 0 0 0 SUSPEND POWER ON VALUE OVERCURRENT RESET CONNECT ENABLED RESERVED SUSPEND OVERCURRENT SV00847 RESET POWER Set Status Change Bits LOW SPEED RESERVED Command Data SV00846 Connect A ‘1’ indicates that a device is connected on this port of the hub. Enabled A ‘1’ indicates that this port is enabled. Suspend A ‘1’ indicates that this port is suspended. OverCurrent A ‘1’ indicates that overcurrent condition exists on this port. In mode 0 of operation, this bit is the same for all ports. In mode 1, individual port overcurrent indication is possible. Reset Power Low Speed 1999 Jul 22 : F7h : Write 1 byte For assembling the hub’s status change register, the device needs some additional information from the controller, i.e. the Local Power Status Change bit and the embedded function Status Change bit. These are provided by the Set Status Change Bits command. This command is always followed by one data write which contains the Local Power Status Change bit at the LSB and the embedded function Status Change bit at position 1. All other bits should be 0. 7 X A ‘1’ indicates that bus reset on this port is in progress. When reset is completed (nominal duration of 10 ms), this bit indicates a ‘0’. 6 X 5 X 4 X 3 0 2 0 1 0 0 0 POWER ON VALUE LOCAL POWER EMBEDDED FUNCTION 1 EMBEDDED FUNCTION 6 A ‘1’ indicates that power is supplied to downstream ports. Since the PDIUSBH11A supports gang mode power switching, this bit is the same for all ports. EMBEDDED FUNCTION 7 RESERVED SV00848 A ‘1’ indicates that low speed device is connected to this port. This bit is only valid when Connect bit is a ‘1’. 16 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A General Commands SetFeature PORT_SUSPEND Send Resume Disable the function by the Set embedded function Address / Enable command. Reset the Enable Status bit and set the Suspend Status bit. Command Data : F6h : None ClearFeature PORT_ENABLE Disable the function by the Set embedded function Address / Enable command. Reset the Enable Status bit. Sends an upstream resume signal for 10 ms. This command is normally issued when the device is in suspend. The RESUME command is not followed by a data read or write. ClearFeature PORT_SUSPEND The PDIUSBH11A automatically sends a RESUME command when an event occurs downstream. Read Current Frame Number Enable the function by the Set embedded function Address / Enable command. Set the Enable Status bit, reset the Suspend Status bit; set the Resume Status Change bit to indicate that the resume has completed. Command Data ClearFeature any Change Indicator : F5h : Read One or Two Bytes Clear the corresponding status change bit. This command is followed by one or two data reads and returns the frame number of the last successfully received SOF. The frame number is returned Least Significant Byte first. 7 X 6 X 5 X 4 X 3 X 2 X 1 X 0 X 7 X 6 X 5 X 4 X 3 X 2 X 1 X 0 X Babbling condition When the embedded function causes a babbling condition, the function is automatically disabled by the PDIUSBH11A. As soon as the microcontroller detects the babbling error, it must set the Enable Status Change bit and reset the Enable Status bit. LEAST SIGNIFICANT BYTE Remote WakeUp There are three scenarios when a remote wakeup can occur. The following describes the course of actions for each of the cases: MOST SIGNIFICANT BYTE 1. The device is not suspended and the embedded port is suspended: Enable back the function by setting the enable bit in the Set Address/Enable register and update the following status bits in the microcontroller program: reset the Suspend Status bit, set the Enable Status bit and set the Suspend Status Change bit. SV00835 Embedded Function The USB host sees no difference between the embedded function and a function connected to one of the downstream ports. Some of the port commands sent by the host must be handled appropriately by the embedded function to appear as any other downstream port. 2. The device is suspended and the embedded port is suspended: Send an upstream Resume using the Send Resume command, enable back the function by setting the enable bit in the Set Address/Enable register and update the following status bits in the microcontroller program: reset the Suspend Status bit, set the Enable Status bit and set the Suspend Status Change bit. The microcontroller maintains a series of status and status change bits for the embedded function as described in the Get Port Status command section. From these bits, the Status Change bit for the embedded function is derived (i.e. the port specific Status Change bits). This Status Change bit is then provided to the PDIUSBH11A by the Set Status Change Bits command. 3. The device is suspended and the embedded port is enabled: Send an upstream resume using the Send Resume command. Host Requests SetFeature PORT_RESET Reinitialize the embedded function and set the Reset Change bit to indicate that the reset has completed. Reset the Enable Status bit, enable the embedded function and set its address to 0 by the Set embedded function Address / Enable command. Disable the embedded function interrupt endpoint by the Set Endpoint Enable command. SetFeature PORT_ENABLE Enable the function by the Set embedded function Address / Enable command. Set the Enable Status bit. 1999 Jul 22 17 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A RECOMMENDED OPERATING CONDITIONS SYMBOL VCC PARAMETER TEST CONDITIONS MAX UNIT 3.0 3.6 V DC input voltage range 0 5.5 V VI/O DC input voltage range for I/O 0 5.5 V VAI/O DC input voltage range for analog I/O 0 VCC V DC output voltage range 0 VCC V –40 85 °C VI VO Tamb DC supply voltage MIN Operating ambient temperature range in free air See DC and AC characteristics per device ABSOLUTE MAXIMUM RATINGS1 SYMBOL VCC PARAMETER TEST CONDITIONS DC supply voltage IIK DC input diode current VI < 0 VI DC input voltage Note 2 VI/O DC input voltage range for I/O’s IOK DC output diode current VO > VCC or VO < 0 VO DC output voltage Note 2 IO DC output sink or source current for other pins VO = 0 to VCC IO DC output sink or source current for D+/D– pins VO = 0 to VCC IGND, ICC MIN MAX –0.5 +4.6 V –50 mA –0.5 +5.5 V –0.5 VCC + 0.5 V ±50 mA –0.5 Electrostatic discharge voltage TSTG Storage temperature range PTOT Power dissipation per package IL < 1 µA (Note 3) VCC + 0.5 V ±15 mA ±50 mA ±100 mA – ±4000 4 V –60 +150 °C DC VCC or GND current VESD UNIT NOTES: 1. Stresses beyond those listed may cause damage to the device. These are stress ratings only and functional operation of the device at these or any other conditions beyond those listed in the RECOMMENDED OPERATING CONDITIONS table is not implied. Exposure to absolute maximum rated conditions for extended periods may affect device reliability. 2. The input and output voltage ratings may be exceeded if the input and output current ratings are observed. 3. Values are given for device only; in-circuit VESD(MAX) = ±8000V. 4. For open-drain pins VESD(MAX) = ±2000V. 1999 Jul 22 18 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A DC CHARACTERISTICS (Digital pins) SYMBOL PARAMETER TEST CONDITIONS MIN TYP MAX UNIT 0.6 V Input Levels VIL LOW level input voltage VIH HIGH level input voltage 2.7 V VTLH LOW to HIGH threshold voltage ST (Schmitt Trigger) pins 1.4 1.9 V VTHL HIGH to LOW threshold voltage ST pins 0.9 1.5 V VHYS Hysteresis voltage ST pins 0.4 0.7 V IOL = rated drive 0.4 V IOL = 20 µA 0.1 V Output Levels VOL O VOH O LOW level output voltage IOH = rated drive HIGH level output voltage IOH = 20 µA 2.4 V VCC – 0.1 V Leakage Current IOZ IL OFF state current OD (Open Drain) pins Input leakage current IS Suspend current Oscillator stopped and inputs to GND/VCC IO Operating current 04 ports operating ±5 µA ±5 µA 15 µA 16 mA DC CHARACTERISTICS (AI/O pins) SYMBOL PARAMETER TEST CONDITIONS MIN MAX UNIT ±10 µA Leakage Current ILO Hi-Z state data line leakage 0V < VIN < 3.3V VDI Differential input sensitivity |(D+) – (D–)|1 0.2 VCM Differential common mode range Includes VDI range 0.8 2.5 V VSE Single-ended receiver threshold 0.8 2.0 V 0.3 V 3.6 V 20 pF Input Levels V Output Levels VOL Static output LOW RL of 1.5kΩ to 3.6V VOH Static output HIGH RL of 1.5kΩ to GND Transceiver capacitance Pin to GND 2.8 Capacitance CIN Output Resistance ZDRV2 Driver output resistance Steady state drive 29 44 Ω Integrated Resistance ZPU Pull-up resistance SoftConnect = ON 1.1 1.9 kΩ ZPD Pull-down resistance Pull-down = ON 11 19 kΩ NOTES: 1. D+ is the symbol for the USB positive data pin: UP_DP, DN2_DP, DN3_DP, DN4_DP, DN5_DP,. D– is the symbol for the USB negative data pin: UP_DM, DN2_DM, DN3_DM, DN4_DM, DN5_DM, . 2. Includes external resistors of 22 Ω ± 1% each on D+ and D–. LOAD FOR D+/D– 1.5kΩ IS INTERNAL TEST POINT 22Ω D. U. T. 15kΩ CL = 50pF SV00849 1999 Jul 22 19 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A AC CHARACTERISTICS (AI/O pins, FULL speed) SYMBOL PARAMETER Driver characteristics TEST CONDITIONS MAX UNIT 4 4 20 20 ns ns CL = 50 pF; Rpu = 1.5 kΩ on D+ to VCC Transition Time: Rise time Fall time Between 10% and 90% tRFM Rise/fall time matching (tR/tF) VCRS Output signal crossover voltage tR tF MIN 90 110 % 1.3 2.0 V Driver Timings tEOPT Source EOP width Figure 1 160 175 ns tDEOP Differential data to EOP transition skew Figure 1 –2 5 ns –18.5 –9 18.5 9 ns ns Receiver Timings tJR1 tJR2 tEOPR1 tEOPR2 Receiver Data Jitter Tolerance To next transition For paired transitions Characterized and not tested tested. Guaranteed by design. EOP Width at Receiver Must reject as EOP Must accept Figure 1 Hub Timings 40 82 ns ns Full Speed downstream port tHDD Hub Differential Data Delay Figure 2 tSOP Data bit width distortion after SOP Figure 2 –5 3 Hub EOP Delay Relative to tHDD Figure 3 0 15 Hub EOP Output Width Skew Figure 3 –15 +15 MIN MAX UNIT 300 ns ns 300 ns ns tEOPDR tHESK 40 ns AC CHARACTERISTICS (AI/O pins, LOW speed) SYMBOL PARAMETER Driver characteristics Transition Time: tLR Rise time tLF Fall time tRFM VLCRS Rise/fall time matching TEST CONDITIONS CL = 50 pF and 350 pF; Rpu = 1.5 kΩ on D– to VCC Between 10% and 90% CL = 50 pF CL = 350 pF 75 CL = 50 pF CL = 350 pF 75 (tR/tF) 80 120 % 1.3 2.0 V Output signal crossover voltage Driver Timings tLEOPT Source EOP width Figure 1 1.25 1.50 µs tLDEOP Differential data to EOP transition skew Figure 1 –40 100 ns Receiver Timings tLEOPR1 tLEOPR2 EOP Width at Receiver Must reject as EOP Must accept Hub Timings Figure 1 330 675 ns ns Low Speed downstream port tLHDD Hub Differential Data Delay Figure 2 tLSOP Data bit width distortion after SOP Figure 2 –65 45 tLEOPDR Hub EOP Delay Relative to tLHDD Figure 3 0 200 Hub EOP Output Width Skew Figure 3 –300 +300 tLHESK 1999 Jul 22 20 300 ns Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A tPERIOD CROSSOVER POINT EXTENDED CROSSOVER POINT DIFFERENTIAL DATA LINES SOURCE EOP WIDTH: tEOPT DIFFERENTIAL DATA TO SEO/EOP SKEW N * tPERIOD + tDEOP RECEIVER EOP WIDTH: tEOPR1, tEOPR2 SV00837 Figure 1. Differential data to EOP transition skew and EOP width VDD CROSSOVER POINT CROSSOVER POINT DOWNSTREAM DIFFERENTIAL DATA UPSTREAMDIFFERENTIAL DATA VSS CROSSOVER POINT DOWNSTREAMDIFFERENTIAL DATA Hub Delay Downstream tHDD CROSSOVER POINT Hub Delay Upstream tHDD UPSTREAM DIFFERENTIAL DATA VSS A. DOWNSTREAM HUB DELAY B. UPSTREAM HUB DELAY SOP DISTORTION tSOP = tHDD(SOP) – tHDD (NEXT J) LOW SPEED TIMINGS ARE DETERMINED IN THE SAME WAY FOR: tLHDD AND tLSOP SV00514 Figure 2. Hub Differential Data Delay and SOP distortion 1999 Jul 22 21 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A VDD DOWNSTREAM PORT CROSSOVER POINT EXTENDED UPSTREAMDIFFERENTIAL DATA CROSSOVER POINT EXTENDED VSS tEOP– tEOP+ tEOP– CROSSOVER POINT EXTENDED DOWNSTREAMDIFFERENTIAL DATA tEOP+ CROSSOVER POINT EXTENDED UPSTREAM END OF CABLE VSS A. DOWNSTREAM EOP DELAY B. UPSTREAM EOP DELAY EOP DELAY tEOPD = tEOP– EOP DELAY RELATIVE TO tHDD tEOPDR = tEOPD – tHDD EOP SKEW tHESK = tEOP+ – tEOP– LOW SPEED TIMINGS ARE DETERMINED IN THE SAME WAY FOR: tLEOPD, tLEOPDR, AND tLHESK SV00515 Figure 3. Hub EOP Delay and EOP Skew 1999 Jul 22 22 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A AC CHARACTERISTICS ( I2C pins) All timing values are valid within the operating supply voltage and ambient temperature range and reference to VIL and VIH with an input voltage swing of VSS and VDD. PARAMETER SYMBOL TEST CONDITIONS MIN MAX UNIT 1000 kHz fSCL SCL clock frequency tBUF Bus free time 0.5 µs tSU;STA Start condition set-up time 0.25 µs tHD;STA Start condition hold time 0.25 µs tLOW SCL LOW time 0.45 µs tHIGH SCL HIGH time 0.45 µs tr SCL and SDA rise time 0.3 µs tf SCL and SDA fall time 0.1 µs tSU;DAT Data set-up time tHD;DAT Data hold time 100 tVD;DAT SCL LOW to data out valid tSU;STO Stop condition set-up time BIT 7 MSB (A7) tSU;STA tLOW BIT 0 LSB (R/W) BIT 6 (A6) I 2C-bus and how to use it”. This brochure may ACKNOWLEDGE (A) STOP CONDITION (P) tHIGH 1/fSCL SCL tr tBUF tf SDA tHD;STA tSU;DAT tHD;DAT tVD:DAT tSU;STO SV00756 Figure 4. 1999 Jul 22 I2C-bus 23 timing diagram µs µs 0.25 A detailed description of the specification, with applications, is given in the brochure “The be ordered using the Philips order number 9398 393 40011. START CONDITION (S) ns 0.4 I2C-bus PROTOCOL ns 0 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A SO32: plastic small outline package; 32 leads; body width 7.5mm 1999 Jul 22 24 SOT287-1 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A SDIP32: plastic shrink dual in-line package; 32 leads (400 mil) 1999 Jul 22 25 SOT232-1 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A SOLDERING Introduction 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). 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. There is no soldering method that is ideal for all IC packages. Wave soldering is often preferred when through-hole and surface mount components are mixed on one printed circuit board. However, wave soldering is not always suitable for surface mount ICs, or for printed-circuit boards with high population densities. In these situations, reflow soldering is often used. 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 Through-hole mount packages with high upward pressure followed by a smooth laminar wave. • For packages with leads on two sides and a pitch (e): SOLDERING BY DIPPING OR BY SOLDER WAVE – 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; The maximum permissible temperature of the solder is 260°C; solder at this temperature must not be in contact with the joints for more than 5 seconds. The total contact time of successive solder waves must not exceed 5 seconds. – smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. The device may be mounted up to the seating plane, but the temperature of the plastic body must not exceed the specified maximum storage temperature (Tstg(max)). If the printed-circuit board has been pre-heated, forced cooling may be necessary immediately after soldering to keep the temperature within the permissible limit. The footprint must incorporate solder thieves at the downstream end. • 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. MANUAL SOLDERING Apply the soldering iron (24 V or less) to the lead(s) of the package, either below the seating plane or not more than 2 mm above it. If the temperature of the soldering iron bit is less than 300°C, it may remain in contact for up to 10 seconds. If the bit temperature is between 300 and 400°C, contact may be made for up to 5 seconds. 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 has cured. Surface mount packages 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. 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. 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. Several methods exist for reflowing; for example, infrared/convection heating in a conveyor-type oven. Throughput times (preheating, soldering and cooling) vary between 100 and 200 seconds, depending on heating method. When using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320°C. Typical reflow peak temperatures range from 215 250°C. The top-surface temperature of the packages should preferably be kept below 230°C. 1999 Jul 22 26 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A SUITABILITY OF IC PACKAGES FOR WAVE, REFLOW AND DIPPING SOLDERING METHODS Soldering Method Mo nting Mounting Through-hole mount Package DBS, DIP, HDIP, SDIP, SIL BGA, SQFP, HLQFP, HSQFP, HSOP, SMS Surface mount PLCC, SO, SOJ LQFP, QFP, TQFP SSOP, TSSOP, VSO Reflow 1 Dipping suitable 2 – suitable not suitable suitable – suitable – Wave not suitable 3 suitable suitable – not recommended 4, 5 suitable – not recommended 6 suitable – NOTES: 1. 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”. 2. For SDIP packages, the longitudinal axis must be parallel to the transport direction of the printed-circuit board. 3. These packages are not suitable for wave soldering as a solder joint between the printed-circuit board and heatsink (at bottom version) cannot be achieved, and as solder may stick to the heatsink (on top version). 4. 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. 5. Wave soldering is only suitable for LQFP, QFP, and TQFP packages with a pitch (e) equal to or larger than 0.8 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. 6. Wave soldering is only suitable for SSOP and TSSOP packages with a pith (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. 1999 Jul 22 27 Philips Semiconductors Product specification Universal Serial Bus Hub PDIUSBH11A Purchase of Philips I2C components conveys a license under the Philips’ I2C patent to use the components in the I2C system provided the system conforms to the I2C specifications defined by Philips. This specification can be ordered using the code 9398 393 40011. Data sheet status Data sheet status Product status Definition [1] Objective specification Development This data sheet contains the design target or goal specifications for product development. Specification may change in any manner without notice. Preliminary specification Qualification This data sheet contains preliminary data, and supplementary data will be published at a later date. Philips Semiconductors reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. Product specification Production This data sheet contains final specifications. Philips Semiconductors reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. [1] Please consult the most recently issued datasheet before initiating or completing a design. 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 134). 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. 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 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, without notice, in the products, including circuits, standard cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no license 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. Copyright Philips Electronics North America Corporation 1998 All rights reserved. Printed in U.S.A. Philips Semiconductors 811 East Arques Avenue P.O. Box 3409 Sunnyvale, California 94088–3409 Telephone 800-234-7381 Date of release: 07-99 Document order number: 1999 Jul 22 28 9397-750-06218