Product specification
Supersedes data of 1997 Apr 17
1997 Aug 01
Page 2
Philips SemiconductorsProduct specification
PDIUSBH1 1Universal Serial Bus Hub
FEA TURES
•Complies with the Universal Serial Bus specification Rev. 1.0
•Four downstream ports with per packet connectivity
•Embedded function with two endpoints (control and interrupt)
•Integrated FIFO memory for hub and embedded function
•Automatic protocol handling
•Versatile I
2
C interface
•Allows software control of monitor
•Compliant with USB Human Interface and Display Device Class
•Single 3.3V supply with 5V tolerant I/O
DESCRIPTION
The Philips Semiconductors PDIUSBH1 1 is a compound USB hub
IC (hub plus embedded function).
It is used in a microcontroller based system and communicates with
the system microcontroller over the I
approach to implementing a hub and embedded function allows the
designer to maintain the system microcontroller of choice and retain
existing architecture. This cuts down development time and offers
the most cost-effective solution.
Ideal applications for the IC include computer monitors and
keyboards.
The PDIUSBH11 conforms to the USB specification 1.0 and I
serial interface specification. It is also compliant with the USB
Human Input Device and Monitor Control Class specifications.
2
C serial bus. This modular
The embedded function of the PDIUSBH11 appears as PORT1 to
the host system and the four downstream ports are numbered 2
through 5.
ORDERING INFORMATION
PACKAGESTEMPERATURE RANGEOUTSIDE NORTH AMERICANORTH AMERICAPKG. DWG. #
32-pin plastic SO0°C to +70°CPDIUSBH11 DPDIUSBH11 DSOT287-1
32-pin plastic SDIP0°C to +70°CPDIUSBH11 NBPDIUSBH11 NBSOT232-1
BLOCK DIAGRAM
UPSTREAM
PORT
D+
ANALOG
T
X/RX
D–
48 MHz
BIT CLOCK
RECOVERY
INTEGRATED
RAM
2
C
FULL SPEED
HUB
REPEATER
ANALOG
T
X/RX
D–D+
DOWNSTREAM
PORT 2
PORT
CONTROL
LED
ENABLE
ANALOG
T
X/RX
D–D+
DOWNSTREAM
PORT 3
PORT
CONTROL
LED
ENABLE
ANALOG
T
X/RX
D–D+
DOWNSTREAM
PORT 4
PORT
CONTROL
LED
ENABLE
ANALOG
T
X/RX
DOWNSTREAM
PORT 5
NOTE:
1. This is a conceptual block diagram and does not include each individual signal.
PHILIPS
SIE
END OF
FRAME
TIMERS
D–D+
PORT
CONTROL
LED
ENABLE
MEMORY
MANAGEMENT
UNIT
GENERAL
PORT
CONTROLLER
2
C
I
SLAVE
INTERFACE
INTERRUPTSDA SCL
SV00226
1997 Aug 01853–1968 18238
2
Page 3
Philips SemiconductorsProduct specification
HUB
PDIUSBH11Universal Serial Bus Hub
Analog Transceivers
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.
Hub Repeater
The hub repeater is responsible for managing connectivity on a per
packet basis. It implements packet signaling connectivity and
resume connectivity.
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
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 I
2
C-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
ENDPOINT DESCRIPTIONS
The following table summarizes the endpoints supported by the PDIUSBH11.
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.
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 spec.
Philips Serial Interface Engine (PSIE)
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 / destuffing, CRC
checking / generation, PID verification / generation, address
recognition, handshake evaluation / generation.
Memory Management Unit (MMU) and Integrated RAM
The MMU and the integrated RAM is used to handle the large
difference in data-rate between USB, running in burst of 12 Mbit/s
and the I
This allows the microcontroller to read and write USB packets at its
own (low) speed through I
I
This block implements the necessary I
I
microcontroller whenever the PDIUSBH11 needs attention. As a
slave I
2
C interface to the microcontroller, running at 100 kbit/s.
2
C.
2
C Slave Interface
2
C allows for simple micro-coding. An interrupt is used to alert the
2
C device, the PDIUSBH11 I2C clock: SCL is an input and is
2
C interface protocol. A slave
controlled by the microcontroller.
MAXIMUM PACKET SIZE
(bytes)
PIN DESCRIPTION
The PDIUSBH11 has two modes of operation. The first mode
(Mode 0) enables the pins DNx_EN_N to power a LED indicating
the port is enabled. The second mode (Mode 1) utilizes the LED
enable pins as per port overcurrent condition pins.
1997 Aug 01
The voltage level at power up on the TEST1 and TEST2 pins
determine the PDIUSBH1 1 mode of operation. When both of the
pins are connected to Ground, Mode 0 is enabled. When pins
TEST1 and TEST2 are connected to Vcc, Mode 1 is enabled. Note
that in Mode 1 the pin DN2_EN_N remains an LED enable pin. Pin
TEST3 should always be connected to Ground at all times.
3
Page 4
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
PIN DESCRIPTION (MODE 0)
PIN NOPIN SYMBOLI/ODRIVENAME AND FUNCTION
1TEST1IConnect to Ground
2TEST2IConnect to Ground
3TEST3IConnect to Ground
4RESET_NISTPower-on reset
5GNDPOWERGround reference
6XTAL1I/OCrystal connection 1 (48MHz)
7XTAL2I/OCrystal connection 2 (48MHz)
8CLK12MHZO2mA12MHz output clock for external devices
9V
10OCURRENT_NISTOver-current notice to the device
11SWITCH_NOOD8Enables power to downstream ports
12SUSPENDO4mADevice is in suspended state
13DN2_EN_NOOD8Downstream port 2 LED enable indicator
14DN3_EN_NOOD8Downstream port 3 LED enable indicator
15DN4_EN_NOOD8Downstream port 4 LED enable indicator
16DN5_EN_NOOD8Downstream port 5 LED enable indicator
17INT_NOOD4Connect to microcontroller interrupt
18SDAI/OOD4I2C bi-directional data
19SCLI/OOD4I2C bit-clock
20GNDPOWERGround reference
21DN5_DPAI/ODownstream port 5 D+ connection
22DN5_DMAI/ODownstream port 5 D– connection
23DN4_DPAI/ODownstream port 4 D+ connection
24DN4_DMAI/ODownstream port 4 D– connection
25DN3_DPAI/ODownstream port 3 D+ connection
26DN3_DMAI/ODownstream port 3 D– connection
27DN2_DPAI/ODownstream port 2 D+ connection
28DN2_DMAI/ODownstream port 2 D- connection
29AGNDPOWERAnalog Ground reference
30AV
31UP_DPAI/OUpstream D+ connection
32UP_DMAI/OUpstream D- connection
CC
CC
POWER
POWER
Voltage supply 3.3V 0.3V
Analog voltage supply 3.3V 0.3V
1997 Aug 01
4
Page 5
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
PIN DESCRIPTION (MODE 1)
PIN NOPIN SYMBOLI/ODRIVENAME AND FUNCTION
1TEST1IConnect to V
2TEST2IConnect to V
3TEST3IConnect to Ground
4RESET_NISTPower-on reset
5GNDPOWERGround reference
6XTAL1I/OCrystal connection 1 (48MHz)
7XTAL2I/OCrystal connection 2 (48MHz)
8CLK12MHZO2mA12MHz output clock for external devices
9V
10OCURRENT2_NISTDownstream port 2 over-current notice
11SWITCH_NOOD8Enables power to downstream ports
12SUSPENDO4mADevice is in suspended state
13DN2_EN_NOOD8Downstream port 2 LED enable indicator
14OCURRENT3_NISTDownstream port 3 over-current notice
15OCURRENT4_NISTDownstream port 4 over-current notice
16OCURRENT5_NISTDownstream port 5 over-current notice
17INT_NOOD4Connect to microcontroller interrupt
18SDAI/OOD4I2C bi-directional data
19SCLI/OOD4I2C bit-clock
20GNDPOWERGround reference
21DN5_DPAI/ODownstream port 5 D+ connection
22DN5_DMAI/ODownstream port 5 D– connection
23DN4_DPAI/ODownstream port 4 D+ connection
24DN4_DMAI/ODownstream port 4 D- connection
25DN3_DPAI/ODownstream port 3 D+ connection
26DN3_DMAI/ODownstream port 3 D- connection
27DN2_DPAI/ODownstream port 2 D+ connection
28DN2_DMAI/ODownstream port 2 D- connection
29AGNDPOWERAnalog Ground reference
30AV
31UP_DPAI/OUpstream D+ connection
32UP_DMAI/OUpstream D- connection
NOTES:
1. Signals ending in _N indicate active low signals.
ST: Schmitt Trigger
OD4, OD8: Open Drain with 4 or 8 mA drive
AI/O: Analog I/O
CC
CC
POWER
POWER
Voltage supply 3.3V 0.3V
Analog voltage supply 3.3V 0.3V
CC
CC
1997 Aug 01
5
Page 6
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
APPLICATION DIAGRAM
USB
3.3V
UPSTREAM
48MHz
12MHz
H11
USB
5V
POWER SWITCH
AND
OVERCURRENT CIRCUIT
I2C Interface.
2
The I
C bus is used to interface to an external microcontroller
DOWNSTREAM
SWITCHED
5V
needed to control the operation of the hub. For cost consideration,
the target system microcontroller can be shared and utilized for this
purpose. The PDIUSBH11 implements a slave I
2
C interface. When
the PDIUSBH11 needs to communicate with the microcontroller it
asserts an interrupt signal. The microcontroller services this
interrupt by reading the appropriate status register on the
PDIUSBH11 through the I
2
I
C serial bus, refer to the I2C handbook, Philips order number 9397
2
C bus. (For more information about the
750 00013).
2
The I
C interface on the PDIUSBH11 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.
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.
I2C
ENABLE LED
Protocol
2
An I
C transaction starts with a ‘Start Condition’, followed by an
µC
SV00227
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 PDIUSBH11.
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 PDIUSBH11 will send data to the master. The I
must acknowledge all data bytes except the last one. In this way the
2
I
C interface knows when the last byte has been transmitted and it
2
C-master
then releases the SDA line so that the master controller can
generate the STOP condition.
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 PDIUSBH11 and the controller.
ADDRESS TABLE
TYPE OF ADDRESS
Command0011 011 (binary)
Data0011 010 (binary)
1997 Aug 01
PHYSICAL ADDRESS
(MSB to LSB)
Timing
When the master writes data to the PDIUSBH11, the data is
sampled 1 micro-second after the rising edge of SCL. When the
PDIUSBH11 writes data to the master, the data is driven 1
micro-second after the falling edge of SCL.
6
Page 7
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
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
Initialization Commands
Set Address / EnableHubD0hWrite 1 byte
Set Endpoint EnableHub + Embedded FunctionD8hWrite 1 byte
Data Flow Commands
Read Interrupt RegisterF4hRead 1 byte
Select EndpointHub Control OUT00hRead 1 byte (optional)
Embedded Function Control OUT02hRead 1 byte (optional)
Embedded Function Control IN03hRead 1 byte (optional)
Embedded Function Interrupt04hRead 1 byte (optional)
Read Last Transaction StatusHub Control OUT40hRead 1 byte
Embedded Function Control OUT42hRead 1 byte
Embedded Function Control IN43hRead 1 byte
Embedded Function Interrupt44hRead 1 byte
Read Endpoint StatusHub Control OUT80hRead 1 byte
Embedded Function Control OUT82hRead 1 byte
Embedded Function Control IN83hRead 1 byte
Embedded Function Interrupt84hRead 1 byte
Read BufferSelected EndpointF0hRead n bytes
Write BufferSelected EndpointF0hWrite n bytes
Set Endpoint StatusHub Control OUT40hWrite 1 byte
Embedded Function Control OUT42hWrite 1 byte
Embedded Function Control IN43hWrite 1 byte
Embedded Function Interrupt44hWrite 1 byte
Acknowledge SetupSelected EndpointF1hNone
Clear BufferSelected EndpointF2hNone
Validate Buf ferSelected EndpointFAhNone
Hub Commands
Clear Port FeaturePort 2E0hWrite 1 byte
Set Port FeaturePort 2E8hWrite 1 byte
Get Port StatusPort 2E0hRead 1 or 2 bytes
Set Status Change BitsF7hWrite 1 byte
General Commands
Send ResumeF6hNone
Read Current Frame NumberF5hRead 1 or 2 bytes
RECIPIENTCODINGDATA PHASE
Embedded FunctionD1hWrite 1 byte
Hub Control IN01hRead 1 byte (optional)
Hub Control IN41hRead 1 byte
Hub Control IN81hRead 1 byte
Hub Control IN41hWrite 1 byte
Port 3E1hWrite 1 byte
Port 4E2hWrite 1 byte
Port 5E3hWrite 1 byte
Port 3E9hWrite 1 byte
Port 4EAhWrite 1 byte
Port 5EBhWrite 1 byte
Port 3E1hRead 1 or 2 bytes
Port 4E2hRead 1 or 2 bytes
Port 5E3hRead 1 or 2 bytes
1997 Aug 01
7
Page 8
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
COMMAND DESCRIPTIONS
Command Procedure
There are four basic types of commands: Initialization, Data, Hub Specific and General commands. Respectively, these are used t o 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.
Initialization Commands
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.
This command is used to set the USB assigned address and enable the hub or embedded function respectively. The hub always powers up
disabled and should be enabled after a bus RESET.
706050403020100
0
ADDRESS THE VALUE WRITTEN BECOMES THE ADDRESS
ENABLE A ‘1’ ENABLES THIS FUNCTION
POWER ON VALUE
ADDRESS
ENABLE
SV00385
Set Endpoint Enable
Command: D8h
Data: Write 1 byte
Interrupt endpoints can only be enabled when the hub/function is enabled via the Set Address/Enable command.
HUB’S INTERRUPT ENDPOINT A VALUE OF ‘1’ INDICATES THE HUB’S INTERRUPT ENDPOINT IS ENABLED.
FUNCTION’S INTERRUPT ENDPOINT A VALUE OF ‘1’ INDICATES THE EMBEDDED FUNCTION’S INTERRUPT ENDPOINT IS ENABLED.
SV00387
8
Page 9
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
Data Flow Commands
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.
Read Interrupt Register
Command: F4h
Data: Read 1 byte
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.
After a bus reset an interrupt will be generated, however all bits in the interrupt register will be 0. The 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 PDIUSBH11 hardware without the need of microcontroller intervention.
7X6X50403020100
X
POWER ON VALUE
HUB CONTROL OUT ENDPOINT
HUB CONTROL IN ENDPOINT
FUNCTION CONTROL OUT ENDPOINT
FUNCTION CONTROL IN ENDPOINT
FUNCTION INTERRUPT ENDPOINT
RESERVED
SV00505
Select Endpoint
Command: 00–04h
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.
7X6X5X4X3X2X100
X
POWER ON VALUE
FULL / EMPTY
1997 Aug 01
RESERVED
FULL / EMPTY A ‘1’ INDICATES THE BUFFER IS FULL, ‘0’ INDICATES AN EMPTY BUFFER
SV00506
9
Page 10
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
Read Last Transaction Status
Command: 40–44h
Data: Read 1 byte
The
Read Last Transaction Status
command also resets the corresponding interrupt flag in the interrupt register, and clears the status, indicating that it was read.
This command is useful for debugging purposes. Since it keeps track of every transaction, the status information is overwritten for each new
transaction.
706050403020100
0
command is followed by one data read that returns the status of the last transaction of the endpoint. This
POWER ON VALUE
DATA RECEIVE / TRANSMIT SUCCESS
ERROR CODE (SEE TABLE 1)
SETUP PACKET
DATA 0/1 PACKET
PREVIOUS STATUS NOT READ
DATA RECEIVE / TRANSMIT SUCCESS A ‘1’ INDICATES DATA HAS BEEN RECEIVED OR TRANSMITTED SUCCESSFULLY
ERROR CODE SEE TABLE 1
SETUP PACKET A ‘1’ INDICATES THE LAST RECEIVED PACKET HAD A SETUP TOKEN (THIS ALWAYS READ ‘0’ FOR IN BUFFERS.
DATA 0/1 PACKET A ‘1’ INDICATES THAT THE LAST 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.
Table 1.
ERROR CODERESULT
0000No Error
0001PID Encoding Error, Bits 7–4 are not the inversion of bits 3–0
0010PID Unknown, encoding is valid, but PID does not exist
0011Unexpected Packet, Packet is not of the type expected (= token, data or acknowledge), or SETUP token to a
0100Token CRC Error
0101Data CRC Error
0110Time Out Error
0111Babble Error
1000Unexpected End of Packet
1001Sent or Received NAK
1010Sent Stall, a token was received, but the endpoint was stalled
1011Overflow Error, the received packet was longer than the available buffer space
1101Bitstuff Error
1111Wrong DATA PID, the received DATA PID was not the expected one
SV00507
non-control endpoint
1997 Aug 01
10
Page 11
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
Read Endpoint Status
Command: 80–84h
Data: Read 1 byte
0
070605040302010
POWER ON VALUE
RESERVED
SETUP PACKET
STALL
DATA 0/1 PACKET
BUFFER FULL
RESERVED
SETUP PACKET A ‘1’ INDICATES THE LAST RECEIVED PACKET WAS A SETUP TOKEN
STALL A ‘1’ INDICATES THE ENDPOINT IS STALLED
DATA 0/1 PACKET A ‘1’ INDICATES THAT THE LAST RECEIVED OR SENT PACKET HAD A DATA1 PID
BUFFER FULL A ‘1’ INDICATES THAT THE BUFFER IS FULL
SV00508
Read Buffer
Command: F0h
Data: Read multiple bytes (max 10)
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.
The buffer pointer is not reset to the buffer start by the Read Buffer command. This means that reading or writing a buf fer 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).
The data in the buffer are organized as follows:
•byte 0:reserved: can have any value
•byte 1:Number / length of data bytes
•byte 2:Data byte 1
•byte 3: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.
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.
1997 Aug 01
11
Page 12
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
Clear Buffer
Command: F2h
Data: None
When a packet is received completely, an internal endpoint buffer full flag is set. All subsequent packets will be refused by returning a NACK.
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.
V alidate Buffer
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.
Set Endpoint Status
Command: 40–44h
Data: 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.
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.
Even when unstalled, writing Set Endpoint Status to ‘0’ initializes the endpoint.
X7X6X5X4X3X2X100POWER ON VALUE
STALLED
RESERVED
STALLED A ‘1’ INDICATES THE ENDPOINT IS STALLED
SV00509
Acknowledge Setup
Command: F1h
Data: None
The arrival of a SETUP packet flushes the IN buffer and disables the Validate Buffer
endpoints.
The microcontroller needs to re–enable these commands by the
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
Acknowledge Setup command. This ensures that the last SETUP packet stays
command to both the IN and OUT endpoints.
and Clear Buffer commands for both IN and OUT
1997 Aug 01
12
Page 13
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
Hub Commands
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.
Clear/Set Port Feature
Command: E0–E3h (Clear) and E8h–EBh (Set)
Data: Write 1 byte
When the controller receives a
•The request applies to port 1, the embedded port. In this case the request should be handled internally by the controller.
•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 PDIUSBH11.
When the PDIUSBH11 is configured in mode 0, there is only one power switch output and one overcurrent input. This means that th e
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.
When the PDIUSBH11 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.
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 data written in the data phase is the feature code described in Table 2.
Set Feature or a Clear Feature request, there are two possibilities:
Table 2.
FEATUREFEATURE CODE SETCLEAR
F_PORT_ENABLE0Enables a portDisables a port
F_PORT_SUSPEND1Suspends a portResumes a port
FC_PORT_RESET2Resets a portClears a port Reset Change bit
F_PORT_POWER3Powers all portsUnpowers all ports
C_PORT_CONNECTION4–Clears a port Connection Change bit
C_PORT_ENABLE5–Clears a port Enable Change bit
C_PORT_SUSPEND6–Clears a port Suspend Change bit
C_PORT_OVERCURRENT7–Clears a port (Mode 1) or hub (Mode 0) Overcurrent Change bit
1997 Aug 01
13
Page 14
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
Get Port Status
Command: E0h–E3h
Data: 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.
PORT STATUS BYTE
706050403020100
X
POWER ON VALUE
CONNECT
ENABLED
SUSPEND
OVER-CURRENT
RESET
POWER
LOW SPEED
RESERVED
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.
RESET A ‘1’ INDICATES THAT BUS RESET ON THIS PORT IS IN PROGRESS.
POWER A ‘1’ INDICATES THAT POWER IS SUPPLIED TO DOWNSTREAM PORTS.
LOW SPEED A ‘1’ INDICATES THAT LOW SPEED DEVICE IS CONNECTED TO THIS PORT.
IN MODE 0 OF OPERATION, THIS BIT IS THE SAME FOR ALL PORTS.
IN MODE 1, INDIVIDUAL PORT OVERCURRENT INDICATION IS POSSIBLE.
WHEN RESET IS COMPLETED (NORMAL DURATION OF 10MS), THIS BIT INDICATES A ‘0’.
SINCE THE PDIUSBH11 SUPPORTS GANG MODE POWER SWITCHING,
THIS BIT IS THE SAME FOR ALL PORTS.
THIS BIT IS ONLY VALID WHEN CONNECT BIT IS A ‘1’.
SV00503
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.
0
X7X6X5040302010
POWER ON VALUE
CONNECT
ENABLED
SUSPEND
OVERCURRENT
RESET
1997 Aug 01
RESERVED
SV00510
14
Page 15
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
Set Status Change Bits
Command: F7h
Data: 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.
0
X7X6X5X4X3X2010
POWER ON VALUE
LOCAL POWER
EMBEDDED FUNCTION
RESERVED
SV00511
GENERAL COMMANDS
Send Resume
Command: F6h
Data: None
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.
The PDIUSBH11 automatically sends a RESUME command when an event occurs downstream.
Read Current Frame Number
Command: F5h
Data: Read 1 or 2 bytes
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.
7X6X5X4X3X2X1X0
X
7X6X5X4X3X2X1X0
X
LEAST SIGNIFICANT BYTE
MOST SIGNIFICANT BYTE
SV00512
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.
The micro controller 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 PDIUSBH11 by the Set Status Change Bits command.
1997 Aug 01
15
Page 16
Philips SemiconductorsProduct specification
SYMBOL
PARAMETER
CONDITIONS
UNIT
MIN.MAX
PDIUSBH11Universal Serial Bus Hub
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.
SetFeature PORT_SUSPEND
Disable the function by the Set embedded function Address / Enable command. Reset the Enable Status bit and set the Suspend Status bit.
ClearFeature PORT_ENABLE
Disable the function by the Set embedded function Address / Enable command. Reset the Enable Status bit.
ClearFeature PORT_SUSPEND
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
Clear the corresponding status change bit.
Babbling Condition
When the embedded function causes a babbling condition, the function is automatically disabled by the PDIUSBH11. As soon as the micro
controller detects the babbling error , it must set the Enable Status Change bit and reset the Enable Status bit.
Remote WakeUp
There are three scenarios 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
micro–controller 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 micro–controller 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
RECOMMENDED OPERATING CONDITIONS
LIMITS
.
V
T
V
V
CC
V
I/O
AI/O
V
amb
DC supply voltage3.03.6V
DC Input voltage range05.5V
I
DC input range for I/O05.5V
DC input range for analog I/O0V
DC output voltage range0V
O
Operating ambient temperature range in
free air
See DC and AC characteristics
per device
0+70°C
CC
CC
V
V
1997 Aug 01
16
Page 17
Philips SemiconductorsProduct specification
SYMBOL
PARAMETER
CONDITIONS
UNIT
PDIUSBH11Universal Serial Bus Hub
ABSOLUTE MAXIMUM RATINGS
1
In accordance with the Absolute Maximum Rating System (IEC 134) Voltages are referenced to GND (ground = 0V)
LIMITS
MINMAX
I
GND
V
I
V
I
V
I
I
T
P
DC supply voltage–0.5+4.6V
CC
DC input diode currentVI < 0–-50mA
IK
V
DC input voltageNote 2–0.5+5.5V
I
DC input voltage range for I/O’s–0.5V
I/O
DC output diode currentVO > VCC or VO < 0–
OK
DC output voltageNote 2–0.5VCC +0.5V
O
DC output source or sink current for digital
O
pins
DC output source or sink current for D+/D–
O
pins
, I
DC VCC or GND current–
CC
Storage temperature range–60+150°C
stg
Power dissipation per packagemW
tot
VO = 0 to V
VO = 0 to V
CC
CC
–
–
CC
100
+0.5V
50
15
50
mA
mA
mA
mA
NOTES:
1. Stresses beyond those listed may cause permanent damage to the device. These are stress ratings only and functional operation of the
device at these or any other conditions beyond those indicated under “recommended operating conditions” 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 clamp current ratings are observed.
1997 Aug 01
17
Page 18
Philips SemiconductorsProduct specification
PARAMETER
VOLLOW level out ut
V
VOHHIGH level out ut
V
PARAMETER
PDIUSBH11Universal Serial Bus Hub
DC CHARACTERISTICS (DIGIT AL PINS)
LIMITS
MINTYPMAX
Input Levels:
V
V
VTLHLOW to HIGH threshold voltageST (Schmitt Trigger) pins80%V
VTHLHIGH to LOW threshold voltageST (Schmitt Trigger) pins20%V
VHYSHysteresis voltageST (Schmitt Trigger) pins1.1V
Output Levels:
Leakage Current:
I
OZ
I
LOW level input voltage0.9V
IL
HIGH level input voltage2.5V
IH
I
= rated drive0.4
p
p
OL
IOL = 20µA0.1
I
= rated driveVCC –0.4
OH
IOH = 20µAVCC –0.1
OFF-state currentOD (Open Drain) pins
Input leakage current
I
5
1
CC
CC
µA
µA
DC CHARACTERISTICS (AI/O PINS)
LIMITS
MINMAX
Leakage Current:
I
LO
Input Levels:
VDIDifferential input sensitivity|(D+) – (D–)|
VCMDifferential common mode rangeIncludes VDI range0.82.5V
VSESingle ended receiver threshold0.82.0V
Output Levels:
V
OL
V
OH
Capacitance:
C
IN
Output Resistance:
ZDRV
NOTES:
1. D+ is the generic symbol for the USB positive data pins: UP_DP, DN2_DP, DN3_DP, DN4_DP, DN5_DP. D– is the generic symbol for the
USB negative data pins: UP_DM, DN2_DM, DN3_DM, DN4_DM, DN5_DM.
2. Includes external resistors of 24 1% each on D+ and D–.
Hi–Z state data line leakage0V < VIN < 3.3V
1
Static output LOW
Static output HIGH
Transceiver capacitance
2
Driver output resistanceSteady state drive2843
RL of 1.5K to 3.6V
RL of 15K to GND
Pin to GND20pF
0.2V
2.83.6V
10
0.3V
µA
1997 Aug 01
18
Page 19
Philips SemiconductorsProduct specification
SYMBOL
PARAMETER
TEST CONDITIONS
UNIT
PDIUSBH11Universal Serial Bus Hub
LOAD FOR D+/D–
V
TEST POINT
CC
D. U. T .
CL = 50pF, FULL SPEED
= 50 pF, LOW SPEED (MIN TIMING)
C
L
= 350pF, LOW SPEED (MAX TIMING)
C
L
* 1.5K OHM ON D– (LOW SPEED) OR D+ (FULL SPEED) ONLY
24 OHM
15K OHM
AC CHARACTERISTICS (AI/O PINS. FULL SPEED)
Driver Characteristics:
Transition time:
T
V
T
R
T
RFM
CRS
Rise time
Fall tIme
F
Rise/Fall tIme matching(TR/TF)90110%
Output signal crossover voltage1.32.0V
Driver Timings:
T
T
EOPT
DEOP
Source EOP widthFigure 1160175ns
Differential data to EOP transition skewFigure 1–25ns
Receiver Timings:
Receiver data jitter tolerance
T
JR1
T
JR2
To next transition
For paired transitions
EOP width at receiver
T
EOPR1
T
EOPR2
Must reject as EOP
Must accept
Hub Timings:
T
HDD
T
SOP
T
EOPDR
T
HESK
Hub differential data delayFigure 240ns
Data bit width distortion after SOPFigure 2–53ns
Hub EOP delay relative to T
Hub EOP output width skewFigure 3–15+15ns
HDD
CL = 50pF;
= 1.5KΩ on D+ to V
R
pu
Between 10% and 90%
Characterized and not Tested.
Guaranteed by Design.
Figure 1
CL = 50pF;
= 1.5KΩ on D+ to V
R
pu
Figure 3015ns
S1
C
L
1.5K OHM*
TEST
D–/LS
D+/LS
D–/FS
D+/FS
S1
CLOSE
OPEN
OPEN
CLOSE
SV00237
LIMITS
MINMAX
CC
4
4
–18.5
–9
40
20
20
18.5
9
ns
ns
ns
82
CC
1997 Aug 01
19
Page 20
Philips SemiconductorsProduct specification
SYMBOL
PARAMETER
TEST CONDITIONS
UNIT
PDIUSBH11Universal Serial Bus Hub
AC CHARACTERISTICS (AI/O PINS. LOW SPEED)
LIMITS
MINMAX
Driver Characteristics:
CL = 50pF and 350pF;
= 1.5KΩ on D– to V
R
pu
CC
Transition time:
V
T
LR
T
LF
LCRS
Rise time
Fall tIme
Output signal crossover voltage1.32.0V
Driver Timings:
T
LEOPT
T
LDEOP
Source EOP widthFigure 11.251.50ns
Differential data to EOP transition skewFigure 1–40100ns
Receiver Timings:
EOP width at receiver
T
LEOPR1
T
LEOPR2
Must reject as EOP
Must accept
Hub Timings:
T
LHDD
T
LSOP
T
LEOPDR
T
LHESK
Hub differential data delayFigure 2300ns
Data bit width distortion after SOPFigure 2–6545ns
Hub EOP delay relative to T
Hub EOP output width skewFigure 3–300+300ns
HDD
Between 10% and 90%
= 50pF
C
L
= 350pF
C
L
= 50pF
C
L
= 350pF
C
L
Figure 1
75
75
330
300
300
ns
ns
675
CL = 50pF and 350pF;
= 1.5KΩ on D– to V
R
pu
CC
Figure 30200ns
DIFFERENTIAL
DATA LINES
T
PERIOD
CROSSOVER
CROSSOVER
POINT
DIFFERENTIAL DATA TO
SEO/EOP SKEW
N* T
PERIOD
+ T
DEOP
POINT EXTENDED
SOURCE EOP WIDTH: T
RECEIVER EOP WIDTH: T
Figure 1. Differential Data to EOP Transition Skew and EOP Width
EOPT
EOPR1
, T
EOPR2
SV00513
1997 Aug 01
20
Page 21
Philips SemiconductorsProduct specification
PDIUSBH11Universal Serial Bus Hub
V
DD
UPSTREAMDIFFERENTIAL
DATA
V
SS
DOWNSTREAMDIFFERENTIAL
DATA
V
SS
A. DOWNSTREAM HUB DELAYB. UPSTREAM HUB DELAY
SOP DISTORTION
= T
T
SOP
HDD
LOW SPEED TIMINGS ARE DETERMINED IN THE SAME WAY FOR:
T
AND T
LHDD
(SOP) – T
LSOP
CROSSOVER
POINT
Hub Delay
Downstream
T
(NEXT J)
HDD
HDD
CROSSOVER
POINT
DOWNSTREAM
DIFFERENTIAL
DATA
UPSTREAM
DIFFERENTIAL
DATA
Figure 2. Hub Differential Data Delay and SOP Distortion
CROSSOVER
POINT
Hub Delay
Upstream
T
HDD
CROSSOVER
POINT
SV00514
V
DD
UPSTREAMDIFFERENTIAL
DATA
V
SS
DOWNSTREAMDIFFERENTIAL
DATA
V
SS
DOWNSTREAM
PORT
UPSTREAM
END OF CABLE
T
EOP–
T
EOP–
T
EOP+
CROSSOVER
POINT
EXTENDED
CROSSOVER
POINT
EXTENDED
A. DOWNSTREAM EOP DELAYB. UPSTREAM EOP DELAY
EOP DELAY
= T
T
EOPD
EOP–
EOP DELAY RELATIVE TO T
= T
= T
, T
EOPD
EOP+
LEOPDR
– T
–T
, AND T
T
EOPDR
EOP SKEW
T
HESK
LOW SPEED TIMINGS ARE DETERMINED IN THE SAME WAY FOR:
T
LEOPD
HDD
EOP–
HDD
LHESK
Figure 3. Hub EOP Delay and EOP Skew
T
EOP+
CROSSOVER
POINT
EXTENDED
CROSSOVER
POINT
EXTENDED
SV00515
1997 Aug 01
21
Page 22
Philips SemiconductorsProduct specification
SYMBOL
PARAMETER
UNIT
PDIUSBH11Universal Serial Bus Hub
AC CHARACTERISTICS (I2C)
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 V
I2C-bus timing (see Figure ; Note )
1. A detailed description of the I2C-bus specification, with applications, is given in brochure ‘‘
may be ordered using the code 9398 393 40011.
f
SCL
t
SP
t
BUF
t
SU;STA
t
HD;STA
t
LOW
t
HIGH
t
r
t
f
t
SU;DAT
t
HD;DAT
t
VD;DAT
t
SU;STO
and VDD.
SS
LIMITS
MINTYPMAX
SCL clock frequency––100kHZ
Tolerable spike width on bus––100ns
Bus free time4.7––µs
Start condition set-up time4.7––µs
Start condition hold time4.0––µs
SCL LOW time4.7––µs
SCL HIGH time4.0––µs
SCL and SDA rise times––1.0µs
SCL and SDA fall times––0.3µs
Data set-up time250––ns
Data hold time0––ns
SCL LOW to data out valid––3.4µs
Stop condition set-up time4.0––µs
The I2C-bus and how to use it
”. This brochure
PROTOCOL
SCL
SDA
START
CONDITION
(S)
t
SU;STA
t
BUF
t
HD;STA
t
LOW
BIT 7
MSB
(A7)
t
HIGH
t
r
t
f
t
SU;DAT
BIT 6
(A6)
1/f
SCL
t
HD;DAT
BIT 0
LSB
(R/W)
ACKNOWLEDGE
(A)
t
VD:DAT
Figure 4. I2C-bus timing diagram; rise and fall times refer to VIL and V
IH
STOP
CONDITION
(P)
t
SU;STO
SV00756
1997 Aug 01
22
Page 23
Philips SemiconductorsProduct specification
PDIUSBH1 1Universal Serial Bus Hub
SO32:plastic small outline package; 32 leads; body width 7.5mmSOT287-1
Philips Semiconductors and Philips Electronics North America Corporation reserve 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. Applications that are described herein for any of these products are for illustrative purposes
only. Philips Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing
or modification.
LIFE SUPPORT APPLICA TIONS
Philips Semiconductors and Philips Electronics North America Corporation Products are not designed for use in life support appliances, devices,
or systems where malfunction of a Philips Semiconductors and Philips Electronics North America Corporation Product can reasonably be expected
to result in a personal injury. Philips Semiconductors and Philips Electronics North America Corporation customers using or selling Philips
Semiconductors and Philips Electronics North America Corporation Products for use in such applications do so at their own risk and agree to fully
indemnify Philips Semiconductors and Philips Electronics North America Corporation for any damages resulting from such improper use or sale.
Philips Semiconductors
811 East Arques Avenue
P.O. Box 3409
Sunnyvale, California 94088–3409
Telephone 800-234-7381
This data sheet contains the design target or goal specifications for product development. Specifications
may change in any manner without notice.
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.
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.
Copyright Philips Electronics North America Corporation 1997
All rights reserved. Printed in U.S.A.
1997 Apr 17
26
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.