Product specification
Supersedes data of 1997 Apr 17
1997 Aug 01
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
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
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
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
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
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
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
Loading...
+ 18 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.