Philips PDIUSBH11NB, PDIUSBH11D Datasheet

0 (0)

INTEGRATED CIRCUITS

PDIUSBH11

Universal Serial Bus Hub

Product specification

1997 Aug 01

Supersedes data of 1997 Apr 17

 

m n r

Philips PDIUSBH11NB, PDIUSBH11D Datasheet

Philips Semiconductors

Product specification

 

 

 

 

 

Universal Serial Bus Hub

PDIUSBH11

 

 

 

 

 

 

FEATURES

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 I2C interface

Allows software control of monitor

Compliant with USB Human Interface and Display Device Class

Single 3.3V supply with 5V tolerant I/O

ORDERING INFORMATION

DESCRIPTION

The Philips Semiconductors PDIUSBH11 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 I2C serial bus. This modular 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 I2C serial interface specification. It is also compliant with the USB

Human Input Device and Monitor Control Class specifications.

The embedded function of the PDIUSBH11 appears as PORT1 to the host system and the four downstream ports are numbered 2 through 5.

PACKAGES

TEMPERATURE RANGE

OUTSIDE NORTH AMERICA

NORTH AMERICA

PKG. DWG. #

 

 

 

 

 

32-pin plastic SO

0°C to +70°C

PDIUSBH11 D

PDIUSBH11 D

SOT287-1

 

 

 

 

 

32-pin plastic SDIP

0°C to +70°C

PDIUSBH11 NB

PDIUSBH11 NB

SOT232-1

 

 

 

 

 

BLOCK DIAGRAM

 

 

 

 

 

UPSTREAM

 

 

 

 

 

 

 

 

 

 

 

 

 

PORT

 

 

 

 

 

 

48 MHz

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D+

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INTEGRATED

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RAM

 

 

 

 

 

 

 

 

 

 

 

 

BIT CLOCK

 

 

 

 

 

 

 

ANALOG

 

 

 

 

RECOVERY

 

 

 

 

 

 

 

TX/RX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FULL SPEED

 

PHILIPS

MEMORY

I2C

 

 

 

 

 

 

 

 

 

 

 

MANAGEMENT

SLAVE

 

 

 

 

 

 

 

 

 

 

 

 

SIE

 

 

 

 

 

 

 

 

 

 

 

 

UNIT

INTERFACE

 

 

 

 

 

HUB

 

 

 

 

 

 

END OF

 

 

 

 

 

 

 

 

 

 

 

 

 

FRAME

 

 

 

 

 

 

 

REPEATER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TIMERS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GENERAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PORT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTROLLER

 

ANALOG

PORT

ANALOG

PORT

 

ANALOG

PORT

ANALOG

PORT

 

 

TX/RX

CONTROL

TX/RX

CONTROL

TX/RX

CONTROL

TX/RX

CONTROL

 

 

D+

LED

D+

LED

 

D+

LED

D+

LED

INTERRUPT

SDA SCL

 

 

ENABLE

 

 

ENABLE

 

 

ENABLE

 

 

ENABLE

 

 

 

DOWNSTREAM

DOWNSTREAM

 

DOWNSTREAM

DOWNSTREAM

 

 

 

PORT 2

 

PORT 3

 

 

PORT 4

 

 

PORT 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SV00226

NOTE:

1. This is a conceptual block diagram and does not include each individual signal.

1997 Aug 01

2

853±1968 18238

Philips Semiconductors

Product specification

 

 

 

Universal Serial Bus Hub

PDIUSBH11

 

 

 

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 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.

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 I2C interface to the microcontroller, running at 100 kbit/s.

This allows the microcontroller to read and write USB packets at its own (low) speed through I2C.

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 PDIUSBH11 needs attention. As a slave I2C device, the PDIUSBH11 I2C clock: SCL is an input and is controlled by the microcontroller.

ENDPOINT DESCRIPTIONS

The following table summarizes the endpoints supported by the PDIUSBH11.

FUNCTION

ENDPOINT

ENDPOINT TYPE

TRANSFER TYPE

DIRECTION

MAXIMUM PACKET SIZE

NUMBER

(bytes)

 

 

 

 

 

 

 

 

 

 

HUB

0

Default

Control

IN, OUT

8

 

 

 

 

 

1

Status change

Interrupt

IN

1

 

 

 

 

 

 

 

EMBEDDED

0

Default

Control

IN, OUT

8

 

 

 

 

 

 

 

1

Interrupt

Interrupt

IN

8

 

 

 

 

 

 

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.

The voltage level at power up on the TEST1 and TEST2 pins determine the PDIUSBH11 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.

1997 Aug 01

3

Philips Semiconductors

Product specification

 

 

 

Universal Serial Bus Hub

PDIUSBH11

 

 

 

PIN DESCRIPTION (MODE 0)

PIN NO

PIN SYMBOL

I/O

DRIVE

NAME AND FUNCTION

 

 

 

 

 

1

TEST1

I

 

Connect to Ground

 

 

 

 

 

2

TEST2

I

 

Connect to Ground

 

 

 

 

 

3

TEST3

I

 

Connect to Ground

 

 

 

 

 

4

RESET_N

I

ST

Power-on reset

 

 

 

 

 

5

GND

POWER

 

Ground reference

 

 

 

 

 

6

XTAL1

I/O

 

Crystal connection 1 (48MHz)

 

 

 

 

 

7

XTAL2

I/O

 

Crystal connection 2 (48MHz)

 

 

 

 

 

8

CLK12MHZ

O

2mA

12MHz output clock for external devices

 

 

 

 

 

9

VCC

POWER

 

Voltage supply 3.3V 0.3V

10

OCURRENT_N

I

ST

Over-current notice to the device

 

 

 

 

 

11

SWITCH_N

O

OD8

Enables power to downstream ports

 

 

 

 

 

12

SUSPEND

O

4mA

Device is in suspended state

 

 

 

 

 

13

DN2_EN_N

O

OD8

Downstream port 2 LED enable indicator

 

 

 

 

 

14

DN3_EN_N

O

OD8

Downstream port 3 LED enable indicator

 

 

 

 

 

15

DN4_EN_N

O

OD8

Downstream port 4 LED enable indicator

 

 

 

 

 

16

DN5_EN_N

O

OD8

Downstream port 5 LED enable indicator

 

 

 

 

 

17

INT_N

O

OD4

Connect to microcontroller interrupt

 

 

 

 

 

18

SDA

I/O

OD4

I2C bi-directional data

19

SCL

I/O

OD4

I2C bit-clock

20

GND

POWER

 

Ground reference

 

 

 

 

 

21

DN5_DP

AI/O

 

Downstream port 5 D+ connection

22

DN5_DM

AI/O

 

Downstream port 5 D± connection

23

DN4_DP

AI/O

 

Downstream port 4 D+ connection

24

DN4_DM

AI/O

 

Downstream port 4 D± connection

25

DN3_DP

AI/O

 

Downstream port 3 D+ connection

26

DN3_DM

AI/O

 

Downstream port 3 D± connection

27

DN2_DP

AI/O

 

Downstream port 2 D+ connection

28

DN2_DM

AI/O

 

Downstream port 2 D- connection

29

AGND

POWER

 

Analog Ground reference

 

 

 

 

 

30

AVCC

POWER

 

Analog voltage supply 3.3V 0.3V

31

UP_DP

AI/O

 

Upstream D+ connection

32

UP_DM

AI/O

 

Upstream D- connection

1997 Aug 01

4

Philips Semiconductors

Product specification

 

 

 

Universal Serial Bus Hub

PDIUSBH11

 

 

 

PIN DESCRIPTION (MODE 1)

PIN NO

PIN SYMBOL

I/O

DRIVE

NAME AND FUNCTION

 

 

 

 

 

1

TEST1

I

 

Connect to VCC

2

TEST2

I

 

Connect to VCC

3

TEST3

I

 

Connect to Ground

 

 

 

 

 

4

RESET_N

I

ST

Power-on reset

 

 

 

 

 

5

GND

POWER

 

Ground reference

 

 

 

 

 

6

XTAL1

I/O

 

Crystal connection 1 (48MHz)

 

 

 

 

 

7

XTAL2

I/O

 

Crystal connection 2 (48MHz)

 

 

 

 

 

8

CLK12MHZ

O

2mA

12MHz output clock for external devices

 

 

 

 

 

9

VCC

POWER

 

Voltage supply 3.3V 0.3V

10

OCURRENT2_N

I

ST

Downstream port 2 over-current notice

 

 

 

 

 

11

SWITCH_N

O

OD8

Enables power to downstream ports

 

 

 

 

 

12

SUSPEND

O

4mA

Device is in suspended state

 

 

 

 

 

13

DN2_EN_N

O

OD8

Downstream port 2 LED enable indicator

 

 

 

 

 

14

OCURRENT3_N

I

ST

Downstream port 3 over-current notice

 

 

 

 

 

15

OCURRENT4_N

I

ST

Downstream port 4 over-current notice

 

 

 

 

 

16

OCURRENT5_N

I

ST

Downstream port 5 over-current notice

 

 

 

 

 

17

INT_N

O

OD4

Connect to microcontroller interrupt

 

 

 

 

 

18

SDA

I/O

OD4

I2C bi-directional data

19

SCL

I/O

OD4

I2C bit-clock

20

GND

POWER

 

Ground reference

 

 

 

 

 

21

DN5_DP

AI/O

 

Downstream port 5 D+ connection

22

DN5_DM

AI/O

 

Downstream port 5 D± connection

23

DN4_DP

AI/O

 

Downstream port 4 D+ connection

24

DN4_DM

AI/O

 

Downstream port 4 D- connection

25

DN3_DP

AI/O

 

Downstream port 3 D+ connection

26

DN3_DM

AI/O

 

Downstream port 3 D- connection

27

DN2_DP

AI/O

 

Downstream port 2 D+ connection

28

DN2_DM

AI/O

 

Downstream port 2 D- connection

29

AGND

POWER

 

Analog Ground reference

 

 

 

 

 

30

AVCC

POWER

 

Analog voltage supply 3.3V 0.3V

31

UP_DP

AI/O

 

Upstream D+ connection

32

UP_DM

AI/O

 

Upstream D- connection

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

1997 Aug 01

5

Philips Semiconductors

Product specification

 

 

 

Universal Serial Bus Hub

PDIUSBH11

 

 

 

APPLICATION DIAGRAM

USB

3.3V

UPSTREAM

 

 

 

 

48MHz

12MHz

 

 

I2C

 

H11

μC

 

USB

5V

DOWNSTREAM

 

POWER SWITCH

SWITCHED

AND

5V

OVERCURRENT CIRCUIT

ENABLE LED

SV00227

I2C Interface.

Protocol

The I2C bus is used to interface to an external microcontroller needed to control the operation of the hub. For cost consideration, the target system microcontroller can be shared and utilized for this purpose. The PDIUSBH11 implements a slave I2C 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 I2C bus. (For more information about the I2C serial bus, refer to the I2C handbook, Philips order number 9397 750 00013).

The I2C 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.

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.

An I2C transaction starts with a `Start Condition', followed by an address. When the address matches either the command or data address the transaction starts and runs until a `Stop Condition' or another `Start Condition' (repeated start) occurs.

The command address is write-only and is unable to do a read. The next bytes in the message are interpreted as commands. Several command bytes can be sent after one command address. Each of the command bytes is acknowledged and passed on to the Memory

Management Unit inside the 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 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.

Repeated start support allows another packet to be sent without generating a Stop Condition.

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.

ADDRESS TABLE

TYPE OF ADDRESS

PHYSICAL ADDRESS

(MSB to LSB)

 

 

 

Command

0011 011 (binary)

 

 

Data

0011 010 (binary)

 

 

1997 Aug 01

6

Philips Semiconductors

Product specification

 

 

 

Universal Serial Bus Hub

PDIUSBH11

 

 

 

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

D1h

Write 1 byte

 

 

 

 

Set Endpoint Enable

Hub + Embedded Function

D8h

Write 1 byte

 

 

 

 

Data Flow Commands

 

 

 

 

 

 

 

Read Interrupt Register

 

F4h

Read 1 byte

Select Endpoint

Hub Control OUT

00h

Read 1 byte (optional)

 

Hub Control IN

01h

Read 1 byte (optional)

 

 

 

 

 

Embedded Function Control OUT

02h

Read 1 byte (optional)

 

 

 

 

 

Embedded Function Control IN

03h

Read 1 byte (optional)

 

Embedded Function Interrupt

04h

Read 1 byte (optional)

Read Last Transaction Status

Hub Control OUT

40h

Read 1 byte

 

Hub Control IN

41h

Read 1 byte

 

Embedded Function Control OUT

42h

Read 1 byte

 

Embedded Function Control IN

43h

Read 1 byte

 

Embedded Function Interrupt

44h

Read 1 byte

Read Endpoint Status

Hub Control OUT

80h

Read 1 byte

 

Hub Control IN

81h

Read 1 byte

 

Embedded Function Control OUT

82h

Read 1 byte

 

 

 

 

 

Embedded Function Control IN

83h

Read 1 byte

 

 

 

 

 

Embedded Function Interrupt

84h

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

 

Embedded Function Control OUT

42h

Write 1 byte

 

Embedded Function Control IN

43h

Write 1 byte

 

 

 

 

 

Embedded Function Interrupt

44h

Write 1 byte

Acknowledge Setup

Selected Endpoint

F1h

None

Clear Buffer

Selected Endpoint

F2h

None

Validate Buffer

Selected Endpoint

FAh

None

Hub Commands

 

 

 

 

 

 

 

Clear Port Feature

Port 2

E0h

Write 1 byte

 

Port 3

E1h

Write 1 byte

 

Port 4

E2h

Write 1 byte

 

Port 5

E3h

Write 1 byte

Set Port Feature

Port 2

E8h

Write 1 byte

 

Port 3

E9h

Write 1 byte

 

Port 4

EAh

Write 1 byte

 

Port 5

EBh

Write 1 byte

Get Port Status

Port 2

E0h

Read 1 or 2 bytes

 

Port 3

E1h

Read 1 or 2 bytes

 

Port 4

E2h

Read 1 or 2 bytes

 

Port 5

E3h

Read 1 or 2 bytes

Set Status Change Bits

 

F7h

Write 1 byte

General Commands

 

 

 

 

 

 

 

Send Resume

 

F6h

None

Read Current Frame Number

 

F5h

Read 1 or 2 bytes

1997 Aug 01

7

Philips Semiconductors

Product specification

 

 

 

Universal Serial Bus Hub

PDIUSBH11

 

 

 

COMMAND DESCRIPTIONS

Command Procedure

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.

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.

Set Address / Enable

Command

: D0h (Hub), D1h (Embedded Function)

Data

: Write 1 byte

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.

 

7

6

5

4

3

2

1

0

 

 

 

 

0

0

0

0

0

0

0

0

 

 

POWER ON VALUE

 

 

 

 

 

 

 

 

 

 

 

 

ADDRESS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ENABLE

 

 

 

 

 

 

 

 

 

 

 

ADDRESS

THE VALUE WRITTEN BECOMES THE ADDRESS

ENABLE

 

A `1' ENABLES THIS FUNCTION

 

 

 

 

 

 

 

 

 

 

 

 

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.

7

6

5

4

3

2

1

0

 

 

 

 

X

X

X

X

X

X

0

0

 

 

POWER ON VALUE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HUB'S INTERRUPT ENDPOINT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUNCTION'S INTERRUPT ENDPOINT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESERVED

 

 

 

 

 

 

 

 

 

 

 

 

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

1997 Aug 01

8

Loading...
+ 18 hidden pages