PHILIPS PDIUSBH12N

INTEGRATED CIRCUITS
PDIUSBH12
USB 2-port hub
Product specification
Supersedes data of 1999 Feb 25
1999 Jul 22
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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 PDIUSBH12 is a cost and feature
optimized second generation USB Hub with 2 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 PDIUSBH12 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
• Two 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 PDIUSBH12 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) during suspend
• Single 3.3V supply with 5V tolerant I/O
• Available in 28-pin DIP and SO packages
• Full-scan design with high fault coverage (>99%) insures high
The PDIUSBH12 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
OUTSIDE NORTH AMERICA
NORTH AMERICA
PKG. DWG. #
28-pin plastic SO
–40°C to +85°C
PDIUSBH12 D
PDIUSBH12 D
SOT136-1
28-pin plastic DIP
–40°C to +85°C
PDIUSBH12 N
PDIUSBH12 N
SOT117-1
1999 Jul 22
2
853-2062 22025
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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
INTERRUPT
GOODLINK
CONTROL
NO LIGHT
D+
D–
LED
DOWNSTREAM
PORT 2
D+
D–
LED
LIT
SDA SCL
BLINKING
NO
DATA
CONNECTED
CONNECTION
TRANSFER
DOWNSTREAM
PORT 3
GOODLINK
SV00852
NOTE:
1. This is a conceptual block diagram and does not include each individual signal.
1999 Jul 22
3
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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 PDIUSBH12 needs attention. As a
slave I2C device, the PDIUSBH12 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 PDIUSBH12, 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 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 PDIUSBH12 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
USB 2-port hub
PDIUSBH12
ENDPOINT DESCRIPTIONS
There are two endpoint configuration modes supported by the PDIUSBH12, 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
0
U t
2–3: 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
NOTE:
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
0
U t
2–3: 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
USB 2-port hub
PDIUSBH12
PINNING
The PDIUSBH12 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 PDIUSBH12 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 REST)
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
28 UP_DM
TEST2
2
27 UP_DP
TEST3
3
26 AVCC
RESET_N
4
25 AGND
GND
5
24 DN2_DM
XTAL1
6
23 DN2_DP
XTAL2
7
22 DN3_DM
CLKOUT
8
21 DN3_DP
VCC
9
20 GND
OCURRENT_N / 10
OCURRENT2_N
SWITCH_N 11
19 SCL
18 SDA
SUSPEND 12
17 INT_N
DN2_GL_N 13
16 RSVD
DN3_GL_N / 14
OCURRENT3_N
15 RSVD
SV01751
NOTE:
Pin 10 and Pin 14 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
USB 2-port hub
PDIUSBH12
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
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
OCURRENT_N
11
Input
ST
Power
Power-on reset
Ground reference
3mA
Programmable output clock for external devices
Voltage supply 3.3V ± 0.3V
Over-current 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
RSVD
16
RSVD
Input
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
DN3_DP
AI/O
Downstream port 3 D+ connection
22
DN3_DM
AI/O
Downstream port 3 D– connection
23
DN2_DP
AI/O
Downstream port 2 D+ connection
24
DN2_DM
AI/O
Downstream port 2 D- connection
25
AGND
Power
Analog Ground reference
26
AVCC
Power
Analog voltage supply 3.3V ± 0.3V
27
UP_DP
AI/O
Upstream D+ connection
28
UP_DM
AI/O
Upstream D- connection
Input
Reserved. Connect to GND for normal operation.
Reserved. Connect to GND for normal operation.
Ground reference
NOTE:
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
USB 2-port hub
PDIUSBH12
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
4
RESET_N
Input
5
GND
6
XTAL1
Input
7
XTAL2
Output
8
CLKOUT
Output
9
VCC
Power
10
OCURRENT2_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
Downstream port 2 over-current notice. This pin is also use 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
OCURRENT3_N
Input
ST
15
RSVD
Input
Reserved. Connect to GND for normal operation.
16
RSVD
Input
Reserved. Connect to GND for normal operation.
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
DN3_DP
AI/O
Downstream port 3 D+ connection
22
DN3_DM
AI/O
Downstream port 3 D– connection
23
DN2_DP
AI/O
Downstream port 2 D+ connection
24
DN2_DM
AI/O
Downstream port 2 D- connection
25
AGND
Power
Analog Ground reference
26
AVCC
Power
Analog voltage supply 3.3V ± 0.3V
27
UP_DP
AI/O
Upstream D+ connection
28
UP_DM
AI/O
Upstream D- connection
Downstream port 3 over-current notice
Ground reference
NOTE:
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
USB 2-port hub
PDIUSBH12
APPLICATION DIAGRAM
3.3V
USB
UPSTREAM
CLKOUT
12MHz
I2C
µC
H12
USB
DOWNSTREAM
5V
POWER SWITCH
AND
OVERCURRENT CIRCUIT
SWITCHED
5V
GOODLINK LED
SV00853
I2C Interface
ADDRESS TABLE
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 PDIUSBH12 implements a slave I2C interface. When
the PDIUSBH12 needs to communicate with the microcontroller it
asserts an interrupt signal. The microcontroller services this interrupt
by reading the appropriate status register on the PDIUSBH12
through the I2C bus. (For more information about the I2C serial bus,
refer to the I 2C Handbook, Philips order number 9397 750 00013).
TYPE OF ADDRESS
PHYSICAL ADDRESS
(MSB to LSB)
Command
0011 011 (binary)
Data
0011 010 (binary)
Protocol
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 I2C interface on the PDIUSBH12 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.
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 PDIUSBH12.
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.
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 PDIUSBH12 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.
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 PDIUSBH12 and the controller.
Repeated start support allows another packet to be sent without
generating a Stop Condition.
Timing
The I2C interface in the PDIUSBH12 can support clock speeds up to
1MHz.
1999 Jul 22
9
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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
Initialization Commands
Set Address / Enable
Hub
D0h
Write 1 byte
Embedded Function 1
D1h
Write 1 byte
Embedded Function 6
D2h
Write 1 byte
Embedded Function 7
D3h
Write 1 byte
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 2
E8h
Write 1 byte
Port 3
E9h
Write 1 byte
Port 2
E0h
Read 1 or 2 bytes
Port 3
E1h
Read 1 or 2 bytes
F7h
Write 1 byte
Send Resume
F6h
None
Read Current Frame Number
F5h
Read 1 or 2 bytes
Hub Commands
Clear Port Feature
Set Port Feature
Get Port Status
Set Status Change Bits
General Commands
1999 Jul 22
10
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
COMMAND DESCRIPTIONS
Set Endpoint Enable
Command Procedure
Command
: D8h
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.
Data
: 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.
Initialization Commands
7
X
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.
6
X
5
X
4
X
3
0
2
0
1
0
0
0
POWER ON VALUE
HUB’S INTERRUPT ENDPOINT
EMBEDDED FUNCTION 1 GENERIC ENDPOINTS
EMBEDDED FUNCTION 6 GENERIC ENDPOINTS
EMBEDDED FUNCTION 7 GENERIC ENDPOINTS
Set Address / Enable
Command
: D0h (Hub), D1h, D2h, D3h,
(Embedded Functions)
Data
: Write 1 byte
RESERVED
SV00841
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.
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
0
Hub’s Interrupt Endpoint
A value of ‘1’ indicates
the hub’s interrupt
endpoint is enabled.
Embedded Function 1 Generic Endpoint
A value of ‘1’ indicates
the embedded function
1 generic endpoints are
enabled.
Embedded Function 6 Generic Endpoint
A value of ‘1’ indicates
the embedded function
6 generic endpoints are
enabled.
Embedded Function 7 Generic Endpoint
A value of ‘1’ indicates
the embedded function
7 generic endpoints are
enabled.
POWER ON VALUE
ADDRESS
ENABLE
SV00825
Address
The value written becomes the address.
Set Mode
Enable
A ‘1’ enables this function.
Command
: F3h
Data
: 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.
1999 Jul 22
11
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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.
Configuration Byte
7
1
6
0
5
0
4
0
3
1
2
1
1
0
0
1
POWER ON VALUE
REMOTE WAKEUP
NO LAZYCLOCK
CLOCK RUNNING
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.
Embedded Function Mode
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.
DEBUG MODE
SoftConnect
CONNECT DOWNSTREAM RESISTORS
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 30KHz (±
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
Clock Division Factor Byte
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. 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 PDIUSBH12
design ensures no glitching during
frequency change. The
programmed value will not be
changed by a bus reset.
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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.
: F4h
Data
: Read 2 bytes
: 00-0Dh
Data
: Optional Read 1 byte
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
Command
7
X
Interrupt Register Byte 1
7
0
6
0
5
0
4
0
3
0
2
0
1
0
6
X
5
X
4
X
3
X
2
X
1
X
0
0
POWER ON VALUE
FULL/EMPTY
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
: 40–4Dh
Data
: Read 1 byte
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
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
ENDPOINT INDEX 11
7
0
ENDPOINT INDEX 12
6
0
5
0
4
0
3
0
2
0
1
0
0
0
POWER ON VALUE
ENDPOINT INDEX 13
DATA RECEIVE/TRANSMIT SUCCESS
BUS RESET
ERROR CODE (SEE TABLE)
RESERVED
SV00845
SETUP PACKET
DATA 0/1 PACKET
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.
PREVIOUS STATUS NOT READ
SV00832
Data Receive/Transmit Success
A ‘1’ indicates data has been
received or transmitted
successfully.
Error Code
See Table 3, Error Codes.
Setup Packet
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.
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.
The hub interrupt endpoint is handled internally by the PDIUSBH12
hardware without the need of microcontroller intervention.
Previous Status not Read
A ‘1’ indicates a second event
occurred before the previous
status was read.
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.]
1999 Jul 22
13
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
Table 3. Error codes
Read Buffer
ERROR
CODE
RESULT
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
0101
Data CRC Error
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
• byte 0:
• byte 1:
• byte 2:
• byte 3:
Data
: Read 1 byte
3
0
2
0
Reserved: can have any value
Number/length of data bytes
Data byte 1
Data byte 2
Write Buffer
Command
: F0h
Data
: 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
4
0
: Read multiple bytes (max 10)
The data in the buffer are organized as follows:
Command
5
0
Data
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).
Read Endpoint Status
6
X
: F0h
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.
Wrong DATA PID; the received DATA PID was not the
expected one
7
X
Command
1
X
0
X
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
SETUP PACKET
Clear Buffer
STALL
Command
: F2h
Data
: None
DATA 0/1 PACKET
BUFFER FULL
RESERVED
Setup Packet
A ‘1’ indicates the last received
packet had a SETUP token.
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.
STALL
A ‘1’ indicates the endpoint is
stalled.
Validate Buffer
SV00833
Data 0/1 Packet
A ‘1’ indicates if the last received
or sent packet had a DATA1 PID.
Buffer Full
A ‘1’ indicates that the buffer is
full.
1999 Jul 22
Command
: FAh
Data
: None
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.
14
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
Set Endpoint Status
Hub Commands
Command
: 40–4Dh
Data
: Write 1 byte
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.
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
: E0–E1h (Clear) and E8h–E9h (Set)
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.
Data
: Write 1 byte
Even when unstalled, writing Set Endpoint Status to ‘0’ initializes the
endpoint.
When the controller receives a Set Feature or a Clear Feature
request, there are two possibilities:
The data written in the data phase is the feature code described in
Table 4.
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 and 3, the controller should translate
the request into a Set Feature or Clear Feature command towards
the PDIUSBH12.
POWER ON VALUE
STALLED
RESERVED
When the PDIUSBH12 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.
SV00834
Stalled
A ‘1’ indicates the endpoint is stalled.
When the PDIUSBH12 is configured in mode 1, there is still only one
power switch output but there are two 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
: F1h
Data
: None
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 it 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 arrival of a SETUP packet flushes the IN buffer and disables the
Validate Buffer and Clear Buffer commands for both IN and OUT
endpoints.
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.
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
USB 2-port hub
PDIUSBH12
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
: E0h–E1h
Data
: Read 1 or 2 bytes
7
X
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.
6
X
5
X
4
0
3
0
2
0
1
0
0
0
POWER ON VALUE
CONNECT
ENABLED
Port Status Byte
SUSPEND
7
X
6
0
5
0
4
0
3
0
2
0
1
0
0
0
OVERCURRENT
POWER ON VALUE
RESET
CONNECT
RESERVED
ENABLED
SUSPEND
SV00847
OVERCURRENT
RESET
Set Status Change Bits
POWER
LOW SPEED
Command
: F7h
Data
: Write 1 byte
RESERVED
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
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
6
X
5
X
4
X
3
0
2
0
1
0
0
0
POWER ON VALUE
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’.
LOCAL POWER
A ‘1’ indicates that power is supplied to
downstream ports. Since the PDIUSBH12
supports gang mode power switching, this
bit is the same for all ports.
EMBEDDED FUNCTION 7
EMBEDDED FUNCTION 1
EMBEDDED FUNCTION 6
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
USB 2-port hub
PDIUSBH12
General Commands
Host Requests
SetFeature PORT_RESET
Send Resume
Command
: F6h
Data
: None
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.
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.
SetFeature PORT_ENABLE
The PDIUSBH12 automatically sends a RESUME command when
an event occurs downstream.
Enable the function by the Set embedded function Address/Enable
command. Set the Enable Status bit.
Read Current Frame Number
SetFeature PORT_SUSPEND
Command
: F5h
Data
: Read One or Two Bytes
Disable the function by the Set embedded function Address/Enable
command. Reset the Enable Status bit and set the Suspend Status
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.
ClearFeature PORT_ENABLE
Disable the function by the Set embedded function Address / Enable
command. Reset the Enable Status bit.
ClearFeature PORT_SUSPEND
7
X
6
X
5
X
4
X
3
X
2
X
1
X
0
X
LEAST SIGNIFICANT BYTE
7
X
6
X
5
X
4
X
3
X
2
X
1
X
0
X
MOST SIGNIFICANT BYTE
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.
ClearFeature any Change Indicator
SV00835
Clear the corresponding status change bit.
Embedded Function
Babbling condition
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.
When the embedded function causes a babbling condition, the
function is automatically disabled by the PDIUSBH12. As soon as
the microcontroller detects the babbling error, it must set the Enable
Status Change bit and reset the Enable Status 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 PDIUSBH12 by
the Set Status Change Bits command.
Remote WakeUp
There are three scenarios when a remote wakeup can occur. The
following describes the course of actions for each of the cases:
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.
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.
3. The device is suspended and the embedded port is enabled:
Send an upstream resume using the Send Resume command.
1999 Jul 22
17
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
RECOMMENDED OPERATING CONDITIONS
SYMBOL
VCC
PARAMETER
TEST CONDITIONS
MIN
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
Operating ambient temperature range in free air
See DC and AC characteristics per device
ABSOLUTE MAXIMUM RATINGS1
PARAMETER
SYMBOL
VCC
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
UNIT
–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
V
±15
mA
±50
mA
±100
DC VCC or GND current
VESD
VCC + 0.5
IIL < 1 µA
3
—
–60
±4000
+150
mA
4
V
°C
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) = ±8000 V.
4. For open-drain pins VESD(MAX) = ±2000 V.
1999 Jul 22
18
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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
0.4
0.1
V
V
Output Levels
VOL
LOW level out
output
ut voltage
IOL = rated drive
IOL = 20 µA
VOH
HIGH level output
out ut voltage
IOH = rated drive
IOH = 20 µA
V
V
2.4
VCC – 0.1
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
02 ports operating
±1
µA
±1
µA
15
µA
13
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 15kΩ to GND
Transceiver capacitance
Pin to GND
2.8
Capacitance
CIN
Output Resistance
ZDRV2
Driver output resistance
Steady state drive
28
43
Ω
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.
D– is the symbol for the USB negative data pin: UP_DM, DN2_DM, DN3_DM.
2. Includes external resistors of 22 W ± 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
USB 2-port hub
PDIUSBH12
AC CHARACTERISTICS (AI/O pins, FULL speed)
SYMBOL
PARAMETER
Driver characteristics
tr
tf
Transition Time:
Rise time
Fall time
tRFM
Rise/fall time matching
VCRS
Output signal crossover voltage
TEST CONDITIONS
MIN
MAX
UNIT
4
4
20
20
ns
ns
CL = 50pF;
Rpu = 1.5kΩ on D+ to VCC
Between 10% and 90%
(tr/tf)
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
EOP Width at Receiver
Must reject as EOP
Must accept
Hub Timings
Characterized and not tested.
Guaranteed by design.
Figure 1
Hub Differential Data Delay
Figure 2
tSOP
Data bit width distortion after SOP
Figure 2
Hub EOP Delay Relative to tHDD
Figure 3
Hub EOP Output Width Skew
Figure 3
tHESK
1999 Jul 22
ns
ns
Full Speed downstream port.
tHDD
tEOPDR
40
82
20
40
ns
–5
3
ns
0
15
ns
–15
+15
ns
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
AC CHARACTERISTICS (AI/O pins, LOW speed)
SYMBOL
PARAMETER
Transition Time
tlff
tRFM
VLCRS
MIN
MAX
UNIT
CL = 50pF and 350pF;
Rpu = 1.5kΩ on D– to VCC
Driver characteristics
tlr
TEST CONDITIONS
Between 10% and 90%
CL = 50pF
Rise time
75
CL = 350pF
CL = 50pF
Fall time
75
CL = 350pF
Rise/fall time matching
ns
300
(tr/tf)
Output signal crossover voltage
ns
ns
300
ns
80
120
%
1.3
2.0
V
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
EOP Width at Receiver
tLEOPR1
Must reject as EOP
tLEOPR2
Must accept
Figure 1
Hub Timings
ns
675
ns
Low Speed downstream port.
tLHDD
Hub Differential Data Delay
Figure 2
tLSOP
Data bit width distortion after SOP
Figure 2
tLEOPDR
Hub EOP Delay Relative to THDD
Figure 3
Hub EOP Output Width Skew
Figure 3
tLHESK
330
300
ns
45
ns
0
200
ns
–300
+300
ns
–65
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
1999 Jul 22
21
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
VDD
CROSSOVER
POINT
CROSSOVER
POINT
DOWNSTREAM
DIFFERENTIAL
DATA
UPSTREAMDIFFERENTIAL
DATA
VSS
CROSSOVER
POINT
Hub Delay
Downstream
tHDD
DOWNSTREAMDIFFERENTIAL
DATA
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
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
USB 2-port hub
PDIUSBH12
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
tf
SCL and SDA fall time
tSU;DAT
Data set-up time
tHD;DAT
Data hold time
tVD;DAT
SCL LOW to data out valid
tSU;STO
Stop condition set-up time
0.3
µs
0.1
µs
100
ns
0
ns
0.4
µs
µs
0.25
A detailed description of the I2C-bus specification, with applications, is given in the brochure “The I 2C-bus and how to use it”. This brochure may
be ordered using the Philips order number 9398 393 40011.
PROTOCOL
BIT 7
MSB
(A7)
START
CONDITION
(S)
tSU;STA
tLOW
BIT 0
LSB
(R/W)
BIT 6
(A6)
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
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
SO28: plastic small outline package; 28 leads; body width 7.5mm
1999 Jul 22
24
SOT136-1
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
DIP28: plastic dual in-line package; 28 leads (600 mil)
1999 Jul 22
25
SOT117-1
Philips Semiconductors
Product specification
USB 2-port hub
PDIUSBH12
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
USB 2-port hub
PDIUSBH12
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
USB 2-port hub
PDIUSBH12
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 1999
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 06221