Part Number Hot Search : 
LPD6803 P756E90 EL3021 MAX1537A 0MFFI01 0MFFI01 74ABT540 00BGI
Product Description
Full Text Search
 

To Download ISP1130 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ISP1130 universal serial bus compound hub with integrated keyboard controller rev. 01 23 march 2000 objective speci?cation c c 1. general description the ISP1130 integrates a universal serial bus (usb) hub with a keyboard controller into a single chip, which complies with universal serial bus speci?cation rev. 1.1 and the usb device class de?nition for human interface devices (hid) . the hub has 1 to 2 downstream ports and 1 to 3 non-removable embedded functions, one of which is dedicated to the keyboard operation. the hub controller is fully implemented in hardware, ensuring a fast response to host requests. the integrated 5 v to 3.3 v regulator allows direct connection to the usb power supply v bus . the downstream ports are either bus-powered or hybrid-powered and can interface low-power usb devices such as a joystick or a mouse. ISP1130 uses softconnect? technology to connect to the usb host upon detection of v bus . the low power consumption in suspend mode allows easy design of equipment that is compliant with the acpi?, onnow? and usb power management requirements. the integrated keyboard controller is based on the 80c51 family and has 8 kbytes of mask rom and 256 bytes of data ram. the code memory is protected against reading by an external device. a built-in watchdog timer resets the device in case of a microcontroller hang-up. to reduce power consumption, the microcontroller can be put in sleep mode or power-down mode. a serial i 2 c-bus interface is provided for optional access to an external eeprom. this allows the user to program the vendor id, product id or activate the built-in keyboard matrix. the ISP1130 has built-in overcurrent sense inputs, supporting individual and global overcurrent protection for downstream ports. all ports (including the hub) have goodlink? indicator outputs for easy visual monitoring of usb traf?c. the ISP1130 has a reduced frequency (6 mhz) crystal oscillator to minimize electro magnetic interference (emi). these features allow signi?cant cost savings in system design and easy implementation of advanced usb functionality into pc peripherals. 2. features n compound usb hub device with integrated hub repeater, hub controller, serial interface engine (sie), data transceivers and 5 v to 3.3 v voltage regulator n complies with universal serial bus speci?cation rev. 1.1 and device class de?nition for human interface devices (hid) n complies with acpi, onnow and usb power management requirements
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 2 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. n supports bus-powered and hybrid-powered application n 1 to 2 downstream ports with automatic speed detection n 1 to 3 non-removable embedded functions, 1 dedicated for keyboard operation n 8 18 scan line matrix for hid compliant keyboard applications n integrated 80c51 microcontroller core with 8 kbytes mask rom and 256 bytes data ram n on-chip watchdog timer for automatic fault recovery n internal power-on reset and low-voltage reset circuit n individual power switching for downstream ports n individual port overcurrent protection with built-in sense circuits n 6 mhz crystal oscillator with on-chip pll for low emi n reduced power consumption by putting microcontroller in sleep mode or power-down mode n visual usb traf?c monitoring (goodlink) for hub and downstream ports n i 2 c-bus interface to read vendor id, product id and con?guration bits from external eeprom n operation over the extended usb bus voltage range (4.0 to 5.5 v) n operating temperature range - 40 to + 85 c n available in 56-pin sdip and ssop packages. 3. ordering information table 1: ordering information type number package name description version ISP1130dl ssop56 plastic shrink small outline package; 56 leads; body width 7.5 mm sot371-1 ISP1130n sdip56 plastic shrink dual in-line package; 56 leads (600 mil) sot400-1
philips semiconductors ISP1130 usb compound hub with keyboard controller 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. objective speci?cation rev. 01 23 march 2000 3 of 68 4. block diagram fig 1. block diagram of ISP1130. h andbook, full pagewidth mgs811 3 1.5 k w key matrix ports led ports analog tx/rx analog tx/rx 3.3 v hub repeater end of frame timers device handler 16 bytes ram hub controller port controller micro- controller 80c51 watch dog timer program divider 48 mhz 6 mhz xtal2 to led to eeprom xtal1 hub goodlink to/from keyboard pll oscillator bit clock recovery philips sie softconnect 23 to 25 ale, psen 53 mx5 to mx7 mx my 3 18 to 20 mx0 to mx2 16 26 to 28, 31 to 43 my0 to my15 48 47 49, 52 50, 51 synclk 12 mcu_clock 7 8 9 dn1_dm ea, int 10 5 v 3.3 v v cc 30 gnd voltage regulator 8 kbyte mask rom 256 bytes ram internal supply connect internal reset v reg(3.3) v pu(3.3) 2 2 4 scrlock goodlink oc detect power sw 13 psw1 15 oc1/dpgl1 dn1_dp analog tx/rx 11 12 memsel/upgl goodlink oc detect power sw 14 4 16 dn2_dm psw2 oc2/dpgl2 dn2_dp power-on reset 3 6 5, 17, 29, 46, 56 reset int0 int1 54 numlock 21 mx3/scl 22 mx4/sda 44 my16/rd 45 my17/wr 55 capslock upstream port downstream port 1 downstream port 2 up_dm up_dp ISP1130
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 4 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 5. pinning information 5.1 pinning fig 2. pin con?guration ssop56. fig 3. pin con?guration sdip56. handbook, halfpage ISP1130dl mgs810 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 52 51 50 55 56 54 53 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 27 28 xtal1 xtal2 reset v cc gnd up_dm dn1_dm dn2_dm mx0 mx1 mx2 mx3/scl mx4/sda mx5 mx6 mx7 my0 my1 my2 v pu(3.3) up_dp dn1_dp dn2_dp psw1 oc1/dpgl1 oc2/dpgl2 gnd gnd capslock numlock scrlock int psen ale ea synclk memsel/upgl gnd my16/rd my15 my14 my13 my12 my11 my10 my9 my8 my7 my6 my5 my4 my3 v reg(3.3) gnd psw2 my17/wr handbook, halfpage ISP1130n mgs798 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 52 51 50 55 56 54 53 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 27 28 xtal1 xtal2 reset v cc gnd v pu(3.3) up_dm up_dp dn1_dm dn1_dp dn2_dm dn2_dp psw1 oc1/dpgl1 oc2/dpgl2 mx0 gnd mx1 mx2 mx3/scl mx4/sda mx5 mx6 mx7 my0 my1 my2 gnd capslock numlock scrlock int psen ale ea synclk memsel/upgl gnd my16/rd my15 my14 my13 my12 my11 my10 my9 my8 my7 my6 my5 my4 my3 v reg(3.3) gnd psw2 my17/wr
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 5 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 5.2 pin description table 2: pin description (ssop56 and sdip56) symbol [1] pin type description xtal1 1 i crystal oscillator input (6 mhz) xtal2 2 o crystal oscillator output (6 mhz) reset 3 i reset input (schmitt trigger); a low level produces an asynchronous reset; connect to v cc for power-on reset (internal por circuit) v cc 4 - supply voltage; connect to usb supply v bus gnd 5 - ground supply v pu(3.3) 6 - regulated supply voltage (3.3 v 10%) from internal regulator; used to connect pull-up resistor on up_dp line; pin function is controlled via the device status register (see ta b l e 3 6 ): connect = 0 v pu(3.3) ?oating (high impedance) connect = 1 v pu(3.3) = 3.3 v up_dm 7 ai/o upstream port d - connection (analog) up_dp 8 ai/o upstream port d + connection (analog) dn1_dm 9 ai/o downstream port 1 d - connection (analog) dn1_dp 10 ai/o downstream port 1 d + connection (analog) dn2_dm 11 ai/o downstream port 2 d - connection (analog) dn2_dp 12 ai/o downstream port 2 d + connection (analog) psw1 13 o power switch control output for downstream port 1 (open-drain) psw2 14 o power switch control output for downstream port 2 (open-drain) oc1/ dpgl1 15 ai/o pin function is controlled via the usbcon register (see ta b l e 5 3 ): enableovercurrent = 0 goodlink led indicator output for downstream port 1 (analog, open-drain); to connect an led use a 330 w series resistor enableovercurrent = 1 overcurrent sense input for downstream port 1 (analog or digital); overcurrent sensing can be either analog (analogocdisable = 0) or digital (analogocdisable = 1) oc2/ dpgl2 16 ai/o pin function is controlled via the usbcon register (see ta b l e 5 3 ): enableovercurrent = 0 goodlink led indicator output for downstream port 2 (analog, open-drain); to connect an led use a 330 w series resistor enableovercurrent = 1 overcurrent sense input for downstream port 2 (analog or digital); overcurrent sensing can be either analog (analogocdisable = 0) or digital (analogocdisable = 1) gnd 17 - ground supply mx0 18 i keyboard matrix return line (5 v tolerant, open drain) [2] mx1 19 i keyboard matrix return line (5 v tolerant, open drain) [2]
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 6 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. mx2 20 i keyboard matrix return line (5 v tolerant, open drain) [2] mx3/scl 21 i/o pin function is controlled via the i2c0con register (see ta b l e 7 6 ): ens1 = 0 keyboard matrix return line (5 v tolerant, open drain) [2] ens1 = 1 i 2 c-bus clock output (5 v tolerant, open drain) [2] mx4/sda 22 i/o pin function is controlled via the i2c0con register (see ta b l e 7 6 ): ens1 = 0 keyboard matrix return line (5 v tolerant, open drain) [2] ens1 = 1 bidirectional i 2 c-bus data line (5 v tolerant, open drain) [2] mx5 23 i keyboard matrix return line(5 v tolerant, open drain) [2] mx6 24 i keyboard matrix return line (5 v tolerant, open drain) [2] mx7 25 i keyboard matrix return line (5 v tolerant, open drain) [2] my0 26 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my1 27 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my2 28 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] gnd 29 - ground supply v reg(3.3) 30 - regulated supply voltage (3.3 v 10%) from internal regulator; used to supply external devices my3 31 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my4 32 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my5 33 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my6 34 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my7 35 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my8 36 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my9 37 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my10 38 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my11 39 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my12 40 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my13 41 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my14 42 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my15 43 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] my16/ rd 44 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] ; used as read strobe when accessing external memory my17/ wr 45 i/o bidirectional keyboard matrix scan line (5 v tolerant) [3] ; used as write strobe when accessing external memory gnd 46 - ground supply table 2: pin description (ssop56 and sdip56) continued symbol [1] pin type description
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 7 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] symbol names with an overscore (e.g. name) indicate active low signals. [2] mxn pins have an internal 8.2 k w pull-up resistor. [3] myn pins have an internal 82 k w pull-down resistor (keyboard matrix enabled) or an internal 8.2 k w pull-up resistor (keyboard matrix disabled). this is controlled by bit disablekbdmatrix in the usbcon register, see ta bl e 5 3 . 6. functional description the ISP1130 is a compound usb hub with an integrated keyboard controller. it has 2 bus-powered downstream ports with 3 non-removable embedded functions, the ?rst of which is dedicated to the keyboard function. the downstream ports can be used to connect low-speed or full-speed usb peripherals, such as a mouse, printer, another keyboard or another hub. the block diagram is shown in figure 1 . the embedded functions have no external hardware connections. they provide usb endpoints for equipment functions implemented by a microcontroller. each endpoint has an associated fifo buffer in the on-board ram, which can be accessed by the integrated microcontroller via memory mapped registers using special commands (see section 9 ). an optional serial i 2 c-bus interface (see section 11 ) is provided for external eeprom access, allowing the user to program the vendor id, product id or activate the built-in keyboard matrix. memsel/ upgl 47 o pin function is controlled via the usbcon register (see ta b l e 5 3 ): gl-memselselection = 0 upstream port goodlink indicator output (open-drain) gl-memselselection = 1 chip select output for external serial eeprom (open-drain) synclk 48 o embedded microcontroller clock output; used for emulation ea 49 i external address enable input (internal pull-up); used to access external memory ale 50 o address latch enable output; used to demultiplex ad0 during external memory access psen 51 o program store enable output; selects external memory for program execution int 52 i external interrupt input (edge-triggered) scrlock 53 o control output for scroll lock led (open-drain) numlock 54 o control output for num lock led (open-drain) capslock 55 o control output for caps lock led (open-drain) gnd 56 - ground supply table 2: pin description (ssop56 and sdip56) continued symbol [1] pin type description
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 8 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 6.1 80c51 microcontroller an integrated 80c51 microcontroller serves as a keyboard controller. it has 8 kbytes of mask rom and 256 bytes of ram. the i/o ports have been con?gured as an 8 18 line scan matrix. three led control outputs are available for keyboard status indicators (caps lock, num lock and scroll lock). interfacing to the usb hub is done via 3 registers (command, data, status), which are accessible via the external data memory address space (movx instruction). the keyboard ?rmware resides in the rom and enumerates the embedded function as hid compatible keyboard device during hub initialization. the microcontroller runs on a 12 mhz clock, derived from the pll oscillator. a watchdog timer resets the microcontroller in case of a software hang-up. 6.2 analog transceivers the integrated transceivers interface directly to the usb cables through external 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 slew rates are adjusted according to the speed of the device connected and lie within the range mentioned in the usb speci?cation rev. 1.1 . 6.3 philips serial interface engine (sie) the philips sie implements the full usb protocol layer. it is completely hardwired for speed and needs no ?rmware intervention. the functions of this block include: synchronization pattern recognition, parallel/serial conversion, bit (de-)stuf?ng, crc checking/generation, packet identi?er (pid) veri?cation/generation, address recognition, handshake evaluation/generation. 6.4 hub repeater the hub repeater is responsible for managing connectivity on a per packet basis. it implements packet signalling and resume connectivity. low-speed devices can be connected to downstream ports. if a low-speed device is detected the repeater will not propagate upstream packets to the corresponding port, unless they are preceded by a preamble pid. 6.5 end-of-frame timers this block contains the speci?ed 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. 6.6 general and individual port controller the general and individual port controllers together provide status and control of individual downstream ports. any port status change will be reported to the host via the hub status change (interrupt) endpoint.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 9 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 6.7 goodlink indication of a good usb connection is provided through goodlink technology. an led can be directly connected via an external 330 w resistor. the ISP1130 supports goodlink indication for the hub (upstream port) via output memsel/ upgl and for the two downstream ports via ocn/ dpgln, controlled via bits gl-memselselection and enableovercurrent in the usbcon register (see ta b l e 5 3 ). during enumeration the led blinks on momentarily. after successful con?guration of the ISP1130, the led is permanently on. the hub goodlink indicator blinks off for approximately 128 ms when the hub receives a packet addressed to it. downstream goodlink indicators blink upon an acknowledgment from the associated port. in suspend mode the led is off. this feature provides a user-friendly indication of the status of the hub, the connected downstream devices and the usb traf?c. it is a useful diagnostics tool to isolate faulty usb equipment and helps to reduce ?eld support and hotline costs. 6.8 softconnect the connection to the usb is accomplished by bringing d + (for full-speed usb devices) high through a 1.5 k w pull-up resistor. in the ISP1130, the 1.5 k w pull-up resistor is integrated on-chip and by default is disconnected from the +3.3 v supply. the integrated microcontroller controls the connection of the internal resistor on d + to v pu(3.3) via bit softconnect_n in the usbcon register (see ta b l e 5 3 ). bit connect in the device status register switches on v pu(3.3) (default is off) to an alternative external pull-up resistor. a functional schematic diagram is given in figure 4 . this mechanism allows the microcontroller to complete its initialization sequence before deciding to establish connection to the usb. re-initialization of the usb connection can also be performed without disconnecting the cable. it should be noted that the tolerance of the internal resistors is higher (30%) than is speci?ed by the usb speci?cation (5%). however, the overall v se voltage speci?cation for the connection can still be met with good margin (see ta b l e 9 2 ). the decision to use this feature lies with the usb equipment designer. fig 4. softconnect control logic. i dth 1.5 k w (internal pull-up) 1.5 k w (external pull-up) connect (device status register) softconnect_n (configuration register) ISP1130 3.3 v supply up_dp mgl920 v pu(3.3)
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 10 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 6.9 bit clock recovery the bit clock recovery circuit recovers the clock from the incoming usb data stream using a 4 oversampling principle. it is able to track jitter and frequency drift as speci?ed by the usb speci?cation rev. 1.1 . 6.10 voltage regulator a 5 to 3.3 v dc-dc regulator is integrated on-chip to supply the analog transceiver and internal logic. this can also be used to supply the terminal 1.5 k w pull-up resistor on the d + line of the upstream connection. 6.11 pll clock multiplier a 6 to 48 mhz clock multiplier phase-locked loop (pll) is integrated on-chip. this allows for the use of low-cost 6 mhz crystals. the low crystal frequency also minimizes electro-magnetic interference (emi). the pll requires no external components. 6.12 overcurrent detection an overcurrent detection circuit for downstream ports has been integrated on-chip. it is self-reporting, resets automatically, has a low trip time and requires no external components. the ISP1130 supports individual overcurrent detection. 6.13 power-on reset the ISP1130 has an internal power-on reset circuit, which generates a reset pulse when the supply voltage is switched on and when the supply voltage drops below a predetermined threshold value (see ta b l e 8 9 ). 6.14 i 2 c-bus interface a serial i 2 c-bus interface (single master or slave, bit rate up to 400 khz) is provided to read vendor id, product id and other con?guration data from an external eeprom (e.g., philips pcf8582 or equivalent). for more information, see section 11 . the i 2 c-bus interface timing is programmable and complies with the standard mode and the fast mode of operation as described in the i 2 c-bus and how to use it , order number 9398 393 40011.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 11 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 7. endpoint descriptions each usb device is logically composed of several independent endpoints. an endpoint acts as a terminus of a communication ?ow between the host and the device. at design time each endpoint is assigned a unique number (endpoint identi?er, see ta b l e 3 ). the combination of the device address (given by the host during enumeration), the endpoint number and the transfer direction allows each endpoint to be uniquely referenced. 7.1 endpoint con?guration the ISP1130 hub has 1 to 2 downstream ports and 1 to 3 embedded functions. the upstream and downstream ports are fully handled by hardware and require no ?rmware intervention. downstream port 2 can be disabled by connecting both d + and d - to v cc . the number of embedded functions can be con?gured from 1 to 3 via the usbcona register. these embedded functions give access to the keyboard controller and other optional software functions. the functions are assigned as follows: ? embedded function 1: standard keyboard ? embedded function 2: C multimedia functions (e.g. volume control) C acpi system control C application launch keys ? embedded function 3: user-de?ned functions. each embedded function has two endpoint types: endpoint 0 (control) and endpoint 1 (generic: bulk and/or interrupt). the embedded function endpoints can handle a maximum of 8 bytes per transfer. table 3: endpoint allocation function ports endpoint identi?er transfer type endpoint index direction [1] max. packet size (bytes) hub 0: upstream 1, 2 [4] : downstream 0 control - [2] out 64 - [2] in 64 1 interrupt - [2] in 1 embedded function 1 3 (or 2 [5] ) 0 control 0 out 8 1in 8 1 generic [3] 2 out 8 3in 8 embedded function 2 4 (or 3 [5] ) 0 control 4 out 8 5in 8 1 generic [3] 6 out 8 7in 8
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 12 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] in: input for the usb host; out: output from the usb host. [2] hub endpoints are not indexed. [3] generic endpoint can be used as bulk or interrupt endpoint. [4] port 2 can be disabled by connecting both d + and d - to v cc . [5] the port number is reduced by 1 when downstream port 2 is disabled. 7.2 hub endpoint 0 (control) all usb devices and functions must implement a default control endpoint (id = 0). this endpoint is used by the host to con?gure the device and to perform generic usb status and control access. the ISP1130 hub supports the following usb descriptor information through its control endpoint 0, which can handle transfers of 64 bytes maximum: ? device descriptor ? con?guration descriptor ? interface descriptor ? endpoint descriptor ? hub descriptor ? string descriptor. 7.3 hub endpoint 1 (interrupt) endpoint 1 is used by the ISP1130 hub to provide port status change information to the host. this endpoint can be accessed only after the hub has been con?gured by the host (by sending the set con?guration command). endpoint 1 is an interrupt endpoint: the host polls it once every 255 ms by sending an in token. if the hub has detected no change in the port status it returns a nak (not acknowledge) response to this request, otherwise it sends the status change byte (see ta b l e 4 ). embedded function 3 5 (or 4 [5] ) 0 control 8 out 8 9in 8 1 generic [3] 10 out 8 11 in 8 table 3: endpoint allocation continued function ports endpoint identi?er transfer type endpoint index direction [1] max. packet size (bytes) table 4: status change byte: bit allocation bit symbol description 0 hub sc a logic 1 indicates a status change on the hubs upstream port 1 port 1 sc a logic 1 indicates a status change on downstream port 1 2 port 2 sc a logic 1 indicates a status change on downstream port 2 or on embedded function 1 (downstream port 2 disabled) 3 port 3 sc a logic 1 indicates a status change on embedded function 1 or on embedded function 2 (downstream port 2 disabled)
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 13 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 8. host requests the ISP1130 handles all standard usb requests from the host via control endpoint 0. the control endpoint can handle a maximum of 64 bytes per transfer. remark: please note that the usb data transmission order is least signi?cant bit (lsb) ?rst. in the following tables multi-byte variables are displayed least signi?cant byte ?rst. 8.1 standard requests ta b l e 5 shows the supported standard usb requests. some requests are explicitly unsupported. all other requests will be responded with a stall packet. 4 port 4 sc a logic 1 indicates a status change on embedded function 2 or on embedded function 3 (downstream port 2 disabled) 5 port 5 sc a logic 1 indicates a status change on embedded function 3; not used if downstream port 2 is disabled 6 reserved not used 7 reserved not used table 4: status change byte: bit allocation continued bit symbol description table 5: standard usb requests request name bmrequesttype byte 0 [7:0] (bin) brequest byte 1 (hex) wvalue byte 2, 3 (hex) windex byte 4, 5 (hex) wlength byte 6, 7 (hex) data address set address x000 0000 05 address [1] 00, 00 00, 00 none con?guration get con?guration 1000 0000 08 00, 00 00, 00 01, 00 con?guration value = 01h set con?guration (0) x000 0000 09 00, 00 00, 00 00, 00 none set con?guration (1) x000 0000 09 01, 00 00, 00 00, 00 none descriptor get con?guration descriptor 1000 0000 06 00, 02 00, 00 length [2] con?guration, interface and endpoint descriptors get device descriptor 1000 0000 06 00, 01 00, 00 length [2] device descriptor get string descriptor (0) 1000 0000 06 00, 03 00, 00 length [2] language id string get string descriptor (1) 1000 0000 06 01, 03 09, 04 length [2] manufacturer string get string descriptor (2) 1000 0000 06 02, 03 09, 04 length [2] product string
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 14 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] device address: 0 to 127. [2] returned value in bytes. [3] msb speci?es endpoint direction: 0 = out, 1 = in. the ISP1130 accepts either value. 8.2 hub speci?c requests in ta b l e 6 the supported hub speci?c requests are listed, as well as some unsupported requests. ta b l e 7 provides the feature selectors for setting or clearing port features. feature clear device feature (remote_wakeup) x000 0000 01 01, 00 00, 00 00, 00 none clear endpoint (1) feature (halt/stall) x000 0010 01 00, 00 81, 00 00, 00 none set device feature (remote_wakeup) x000 0000 03 01, 00 00, 00 00, 00 none set endpoint (1) feature (halt/stall) x000 0010 03 00, 00 81, 00 00, 00 none status get device status 1000 0000 00 00, 00 00, 00 02, 00 device status get interface status 1000 0001 00 00, 00 00, 00 02, 00 zero get endpoint (0) status 1000 0010 00 00, 00 00/80 [3] , 00 02, 00 endpoint 0 status get endpoint (1) status 1000 0010 00 00, 00 81, 00 02, 00 endpoint 1 status unsupported set descriptor 0000 0000 07 xx, xx xx, xx xx, xx descriptor; stall get interface 1000 0001 0a 00, 00 xx, xx 01, 00 stall set interface x000 0001 0b xx, xx xx, xx 00, 00 stall synch frame 1000 0010 0c 00, 00 xx, xx 02, 00 stall table 5: standard usb requests continued request name bmrequesttype byte 0 [7:0] (bin) brequest byte 1 (hex) wvalue byte 2, 3 (hex) windex byte 4, 5 (hex) wlength byte 6, 7 (hex) data table 6: hub speci?c requests request name bmrequesttype byte 0 [7:0] (bin) brequest byte 1 (hex) wvalue byte 2, 3 (hex) windex byte 4, 5 (hex) wlength byte 6, 7 (hex) data descriptor get hub descriptor 1010 0000 06 00, 00/29 [1] 00, 00 length [2] , 00 hub descriptor feature clear hub feature (c_local_power) x010 0000 01 00, 00 00, 00 00, 00 none clear port feature (feature selectors) x010 0011 01 feature [3] , 00 port [4] , 00 00, 00 none set port feature (feature selectors) x010 0011 03 feature [3] , 00 port [4] , 00 00, 00 none
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 15 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] usb speci?cation rev. 1.0 uses 00h, usb speci?cation rev. 1.1 speci?es 29h. [2] returned value in bytes. [3] feature selector value, see ta bl e 7 . [4] downstream port identi?er: 1 to 5 (1, 2: downstream ports, 3 to 5: embedded functions 1 to 3). if downstream port 2 is disabled, the port identi?ers are 1 to 4 (1: downstream port, 2 to 4: embedded functions 1 to 3). status get hub status 1010 0000 00 00, 00 00, 00 04, 00 hub status and status change ?eld get port status 1010 0011 00 00, 00 port [4] , 00 04, 00 port status unsupported get bus status 1010 0011 02 00, 00 port [4] , 00 01, 00 stall clear hub feature (c_over_current) x010 0000 01 01, 00 00, 00 00, 00 stall set hub descriptor x010 0000 07 xx, xx 00, 00 3e, 00 stall set hub feature (c_local_power) x010 0000 03 00, 00 00, 00 00, 00 stall set hub feature (c_over_current) x010 0000 03 01, 00 00, 00 00, 00 stall table 6: hub speci?c requests continued request name bmrequesttype byte 0 [7:0] (bin) brequest byte 1 (hex) wvalue byte 2, 3 (hex) windex byte 4, 5 (hex) wlength byte 6, 7 (hex) data table 7: port feature selectors feature selector name value (hex) set feature clear feature port_connection 00 not used not used port_enable 01 not used disables a port port_suspend 02 suspends a port resumes a port port_overcurrent 03 not used not used port_reset 04 resets and enables a port not used port_power 08 powers on a port powers off a port port_low_speed 09 not used not used c_port_connection 10 not used clears port connection change bit c_port_enable 11 not used clears port enable change bit c_port_suspend 12 not used clears port suspend change bit c_port_overcurrent 13 not used clears port overcurrent change bit c_port_reset 14 not used clears port reset change bit
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 16 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 8.3 descriptors the ISP1130 hub controller supports the following standard usb descriptors: ? device ? con?guration ? interface ? endpoint ? hub ? string. [1] xx represents the hardware setting devrev, which indicates the 8-bit device release number. this value is incremented upon silicon revision. [2] controlled via bit stringdescriptorenable in the set mode command (see ta b l e 2 5 ). table 8: device descriptor values in square brackets are optional. offset (bytes) field name size (bytes) value (hex) comments 0 blength 1 12 descriptor length = 18 bytes 1 bdescriptortype 1 01 type = device 2 bcdusb 2 10, 01 usb speci?cation rev. 1.1 4 bdeviceclass 1 09 hub_classcode 5 bdevicesubclass 1 00 - 6 bdeviceprotocol 1 00 - 7 bmaxpacketsize0 1 40 packet size = 64 bytes 8 idvendor 2 vid vendor id; programmable via the set vid/pid command (see ta bl e 4 3 ) 10 idproduct 2 pid product id; programmable via the set vid/pid command (see ta bl e 4 3 ) 12 bcddevice 2 00, xx [1] device release 1.0 (xx = 01h); silicon revision increments this value 14 imanufacturer 1 00 no manufacturer string (default) [01] manufacturer string enabled [2] 15 iproduct 1 00 no product string (default) [02] product string enabled [2] 16 iserialnumber 1 00 no serial number string 17 bnumcon?gurations 1 01 one con?guration table 9: con?guration descriptor values in square brackets are optional. offset (bytes) field name size (bytes) value (hex) comments 0 blength 1 09 descriptor lengt h=9b ytes 1 bdescriptortype 1 02 type = configuration 2 wtotallength 2 19, 00 total length of con?guration, interface and endpoint descriptors (25 bytes) 4 bnuminterfaces 1 01 one interface
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 17 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] value in units of 2 ma. 5 bcon?gurationvalue 1 01 con?guration value = 1 6 icon?guration 1 00 no con?guration string 7 bmattributes 1 a0 bus-powered with remote wake-up (default) [e0] hybrid-powered with remote wake-up; con?gured via bit 7 in the usbcon register (see ta b l e 5 3 ) 8 maxpower [1] 1 32 100 ma table 10: interface descriptor offset (bytes) field name size (bytes) value (hex) comments 0 blength 1 09 descriptor lengt h=9b ytes 1 bdescriptortype 1 04 type = interface 2 binterfacenumber 1 00 - 3 balternatesetting 1 00 no alternate setting 4 bnumendpoints 1 01 status change (interrupt) endpoint 5 binterfaceclass 1 09 hub_classcode 6 binterfacesubclass 1 00 - 7 binterfaceprotocol 1 00 no class-speci?c protocol 8 binterface 1 00 no interface string table 11: endpoint descriptor offset (bytes) field name size (bytes) value (hex) comments 0 blength 1 07 descriptor lengt h=7b ytes 1 bdescriptortype 1 05 type = endpoint 2 bendpointaddress 1 81 endpoint 1, direction: in 3 bmattributes 1 03 interrupt endpoint 4 wmaxpacketsize 2 01, 00 packet size = 1 byte 6 binterval 1 ff polling interval (255 ms) table 12: hub descriptor offset (bytes) field name size (bytes) value (hex) comments 0 bdesclength 1 09 descriptor lengt h=9b ytes 1 bdescriptortype 1 29 type = hub 2 bnbrports 1 03 [2] number of downstream ports (1 or 2; default = 2) + number of embedded functions (1 to 3; default = 1) table 9: con?guration descriptor continued values in square brackets are optional. offset (bytes) field name size (bytes) value (hex) comments
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 18 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] value in units of 2 ms. [2] depending on the number of embedded functions con?gured, the value ranges from 03h to 05h or from 02h to 04h (downstream port 2 disabled). remark: downstream port 2 can be disabled by connecting both d + and d - to v cc . embedded functions are con?gured via the usbcona register (see ta b l e 5 5 ). [3] default value (08h): ports 1 and 2 removable, port 3 non-removable. the value can be 08h, 18h or 38h depending on the con?gured number of embedded functions (1, 2 or 3). when downstream port 2 is disabled, the possible values are 4ch, 0ch or 1ch (1, 2 or 3 embedded functions). [1] unicode encoded string. [2] x represents the hardware setting devname (4 bits), which speci?es the ?nal digit (x) in the device name string isp113x. the unicode representation of this digit is 0000.0000.0011.devname. 3 whubcharacteristics 2 0d, 00 individual power switching, individual overcurrent protection 15, 00 individual power switching, no overcurrent protection 5 bpwron2pwrgood [1] 1 32 100 ms 6 bhubcontrcurrent 1 64 maximum hub controller current (100 ma) 7 deviceremovable 1 08 [3] downstream ports removable; embedded functions non-removable 8 portpwrctrlmask 1 ff must be all ones for compatibility with usb speci?cation rev. 1.0 table 13: string descriptors string descriptors are optional and therefore disabled by default; they can be enabled via the set mode command (see ta b l e 2 5 ). offset (bytes) field name size (bytes) value (hex) comments string descriptor (0): language id string 0 blength 1 04 descriptor lengt h=4b ytes 1 bdescriptortype 1 03 type = string 2 bstring 2 09, 04 langid code zero string descriptor (1): manufacturer string 0 blength 1 2e descriptor length = 46 bytes 1 bdescriptortype 1 03 type = string 2 bstring 44 uc [1] philips semiconductors string descriptor (2): product string 0 blength 1 10 descriptor length = 16 bytes 1 bdescriptortype 1 03 type = string 2 bstring 14 uc [1] isp113x [2] ; x = 0h for the ISP1130 table 12: hub descriptor continued offset (bytes) field name size (bytes) value (hex) comments
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 19 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 8.4 hub responses this section describes the hub responses to requests from the usb host. 8.4.1 get device status the hub returns 2 bytes, see ta b l e 1 4 . 8.4.2 get con?guration the hub returns 1 byte, see ta b l e 1 5 . 8.4.3 get interface status the hub returns 2 bytes, see ta b l e 1 6 . 8.4.4 get hub status the hub returns 4 bytes, see ta b l e 1 7 . table 14: get device status response bit # function value description 0 self-powered 0 bus-powered 1 hybrid-powered 1 remote wake-up 0 no remote wake-up 1 remote wake-up enabled 2 to 15 reserved 0 - table 15: get con?guration response bit # function value description 0 con?guration value 0 device not con?gured 1 device con?gured 1 to 7 reserved 0 - table 16: get interface status response bit # function value description 0 to 15 reserved 0 - table 17: get hub status response bit # function value description 0 local power source 0 local power supply good 1 overcurrent indicator 0 no overcurrent condition 1 hub overcurrent condition detected 2 to 15 reserved 0 - 16 local power status change 0 no change in local power status 17 overcurrent indicator change 0 no change in overcurrent condition 1 overcurrent condition changed 18 to 31 reserved 0 -
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 20 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 8.4.5 get port status the hub returns 4 bytes. the ?rst 2 bytes contain the port status bits (wportstatus, see ta b l e 1 8 ). the last 2 bytes hold the port status change bits (wportchange, see ta b l e 1 9 ). 8.4.6 get con?guration descriptor the hub returns 25 bytes containing the con?guration descriptor (9 bytes, see ta b l e 9 ), the interface descriptor (9 bytes, see ta b l e 1 0 ) and the endpoint descriptor (7 bytes, see ta b l e 1 1 ). 8.4.7 get device descriptor the hub returns 18 bytes containing the device descriptor, see ta b l e 8 . table 18: get port status response (wportstatus) bit # function value description 0 current connect status 0 no device present 1 device present on this port 1 port enabled/disabled 0 port disabled 1 port enabled 2 suspend 0 port not suspended 1 port suspended 3 overcurrent indicator 0 no overcurrent condition 1 overcurrent condition detected 4 reset 0 reset not asserted 1 reset asserted 5 to 7 reserved 0 - 8 port power 0 port powered off 1 port power on 9 low-speed device attached 0 full-speed device attached 1 low-speed device attached 10 to 15 reserved 0 - table 19: get port status response (wportchange) bit # function value description 0 connect status change 0 no change in current connect status 1 current connect status changed 1 port enabled/disabled change 0 no port error 1 port disabled by a port error 2 suspend change 0 no change in suspend status 1 resume complete 3 overcurrent indicator change 0 no change in overcurrent status 1 overcurrent indicator changed 4 reset change 0 no change in reset status 1 reset complete 5 to 15 reserved 0 -
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 21 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 8.4.8 get hub descriptor the hub returns 9 bytes containing the hub descriptor, see ta b l e 1 2 . 8.4.9 get string descriptor (0) the hub returns 4 bytes containing the language id, see ta b l e 1 3 . 8.4.10 get string descriptor (1) the hub returns 46 bytes containing the manufacturer name, see ta b l e 1 3 . 8.4.11 get string descriptor (2) the hub returns 16 bytes containing the product name, see ta b l e 1 3 .
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 22 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9. commands there are three basic types of commands: initialization, data and general commands. respectively, these are used to initialize the hub and the embedded functions; for data ?ow between the hub, embedded functions and the host; for controlling individual downstream ports; and general hub operation. the embedded microcontroller has access to the hub functions via 3 dedicated control registers (command, data, status), which are mapped to the external data memory address space of the 80c51. see section 10.4 hub control registers . a summary of the available commands is given in ta b l e 2 0 . some commands have the same command code (e.g., read buffer and write buffer). in these cases, the direction of the transaction (read or write) indicates which command is executed. to execute a command, the speci?ed code must be written to the command register. any following transaction data can then be read or written via the data register. table 20: command summary name destination code (hex) transaction initialization commands set address/enable embedded function 1 d0 write 1 byte embedded function 2 d1 write 1 byte embedded function 3 d2 write 1 byte set endpoint enable device d8 write 1 byte set mode device f3 write 2 bytes data ?ow commands read interrupt register device f4 read 2 bytes select endpoint function 1 control out 00 read 1 byte (optional) function 1 control in 01 read 1 byte (optional) function 1 endpoint out 02 read 1 byte (optional) function 1 endpoint in 03 read 1 byte (optional) function 2 control out 04 read 1 byte (optional) function 2 control in 05 read 1 byte (optional) function 2 endpoint out 06 read 1 byte (optional) function 2 endpoint in 07 read 1 byte (optional) function 3 control out 08 read 1 byte (optional) function 3 control in 09 read 1 byte (optional) function 3 endpoint out 0a read 1 byte (optional) function 3 endpoint in 0b read 1 byte (optional) read buffer selected endpoint f0 read n bytes write buffer selected endpoint f0 write n bytes
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 23 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. select endpoint/ clear interrupt function 1 control out 40 read 1 byte function 1 control in 41 read 1 byte function 1 endpoint out 42 read 1 byte function 1 endpoint in 43 read 1 byte function 2 control out 44 read 1 byte function 2 control in 45 read 1 byte function 2 endpoint out 46 read 1 byte function 2 endpoint in 47 read 1 byte function 3 control out 48 read 1 byte function 3 control in 49 read 1 byte function 3 endpoint out 4a read 1 byte function 3 endpoint in 4b read 1 byte set endpoint status function 1 control out 40 write 1 byte function 1 control in 41 write 1 byte function 1 endpoint out 42 write 1 byte function 1 endpoint in 43 write 1 byte function 2 control out 44 write 1 byte function 2 control in 45 write 1 byte function 2 endpoint out 46 write 1 byte function 2 endpoint in 47 write 1 byte function 3 control out 48 write 1 byte function 3 control in 49 write 1 byte function 3 endpoint out 4a write 1 byte function 3 endpoint in 4b write 1 byte clear buffer selected endpoint f2 read 1 byte validate buffer selected endpoint fa none general commands read device status device fe read 1 byte set device status device fe write 1 byte read current frame number device f5 read 1 or 2 bytes read embedded port status embedded function 1 e0 read 1 byte embedded function 2 e1 read 1 byte embedded function 3 e2 read 1 byte write embedded port status embedded function 1 e0 write 1 byte embedded function 2 e1 write 1 byte embedded function 3 e2 write 1 byte set vid/pid device fb write 4 bytes read chip id device fd read 2 bytes get last error device ff read 1 byte table 20: command summary continued name destination code (hex) transaction
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 24 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9.1 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. 9.1.1 set address/enable command sets the usb assigned address and enables the embedded function. this also enables the associated control endpoint. embedded functions each must have a unique usb address. code (hex) d0 to d2 (embedded functions 1 to 3) transaction write 1 byte. 9.1.2 set endpoint enable command enables the speci?ed endpoints of the hub and/or the embedded functions. the corresponding function must ?rst be enabled via the set address/enable command. code (hex) d8 transaction write 1 byte. table 21: set address/enable command: bit allocation bit 7 6 5 4 3 2 1 0 symbol devenable devaddress reset 00000000 access wwwwwwww table 22: set address/enable command: bit description bit symbol description 7 devenable a logic 1 enables the embedded function 6 to 0 devaddress usb assigned address of the embedded function table 23: set endpoint enable command: bit allocation bit 7 6 5 4 3 2 1 0 symbol ----- func3 genendp enable func2 genendp enable func1 genendp enable reset xxxxx0 0 0 access wwwwwwww table 24: set endpoint enable command: bit description bit symbol description 7 to 3 - reserved 2 func3genendpenable a logic 1 enables the generic endpoint of embedded function 3 1 func2genendpenable a logic 1 enables the generic endpoint of embedded function 2 0 func1genendpenable a logic 1 enables the generic endpoint of embedded function 1
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 25 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9.1.3 set mode command selects the operating mode and (de)activates features. the command is followed by one data write, containing the con?guration byte. code (hex) f3 transaction write 1 byte (con?guration). 9.2 data ?ow commands data ?ow commands are used to manage the data transmission between the usb endpoints and the embedded microcontroller. much of the data ?ow is initiated via an interrupt to the microcontroller. the data ?ow commands are used to access the endpoints and determine whether the endpoint fifos contain valid data. remark: the in buffer of an endpoint contains input data for the host, the out buffer receives output data from the host. 9.2.1 read interrupt register command shows the source(s) of an interrupt to the microcontroller. after writing the command, two bytes are read which hold the interrupt register contents. byte 1 contains the least signi?cant bits (7 to 0), byte 2 the most signi?cant bits (15 to 8). code (hex) f4 transaction read 2 bytes. table 25: set mode command, con?guration byte: bit allocation bit 7 6 5 4 3 2 1 0 symbol - clock restart string descriptor enable remote wakeup enable always pll clock use intdn resistor - interrupt onnak reset x0000001 access wwwwwwww table 26: set mode command, con?guration byte: bit description bit symbol description 7 - reserved 6 clockrestart a logic 1 will cause a clock restart for 2 ms upon a bus transition, when the device is in suspend mode. this allows the device to wake up without resume signaling. 5 stringdescriptorenable a logic 1 enables the string descriptor. the default string will be sent to the host upon request. 4 remotewakeupenable a logic 1 enables remote wake-up by key press (embedded function 1). 3 alwayspllclock a logic 1 indicates that the internal clocks and pll are always running, even in suspend mode. a logic 0 stops the internal clock, crystal oscillator and pll. 2 useintdnresistor a logic 1 causes the downstream pull-down resistors to be connected. 1 - reserved; must always be logic 0 0 interruptonnak a logic 1 will generate an interrupt upon sending a nak. a logic 0 will only report successful transactions.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 26 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. remark: all hub endpoints are handled internally by the ISP1130 hardware without the need of microcontroller intervention. the interrupt register bits are cleared as follows: ? reading the device status register resets the devicestatusregchange bit ? reading the embedded port status register of a port resets the associated portstatusregchange bit ? the select endpoint/clear interrupt command clears the endpoint interrupt bits of the selected endpoint. table 27: interrupt register: bit con?guration bit 15 14 13 12 11 10 9 8 symbol device statusreg change port5 statusreg change port4 statusreg change port3 statusreg change func3 endp1 in func3 endp1 out func3 contlin endp func3 contlout endp reset 00000000 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol func2 endp1 in func2 endp1 out func2 contlin endp func2 contlout endp func1 endp1 in func1 endp1 out func1 contlin endp func1 contlout endp reset 00000000 access rrrrrrrr table 28: interrupt register: bit description bit symbol description byte 2 15 devicestatusregchange status register change on hub device 14 port5statusregchange status register change on embedded function 3 13 port4statusregchange status register change on embedded function 2 12 port3statusregchange status register change on embedded function 1 11 func3endp1in endpoint 1 in of embedded function 3 10 func3endp1out endpoint 1 out of embedded function 3 9 func3contlinendp control endpoint in of embedded function 3 8 func3contloutendp control endpoint out of embedded function 3 byte 1 7 func2endp1in endpoint 1 in of embedded function 2 6 func2endp1out endpoint 1 out of embedded function 2 5 func2contlinendp control endpoint in of embedded function 2 4 func2contloutendp control endpoint out of embedded function 2 3 func1endp1in endpoint 1 in of embedded function 1 2 func1endp1out endpoint 1 out of embedded function 1 1 func1contlinendp control endpoint in of embedded function 1 0 func1contloutendp control endpoint out of embedded function 1
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 27 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9.2.2 select endpoint command selects an endpoint and initializes an internal pointer to the start of the associated ram buffer. optionally, this command can be followed by a data read, which returns the status of the endpoint buffer (see ta b l e 2 9 ). code (hex) 00 to 0b (endpoint index 0 to 11) transaction read 1 byte (optional). [1] this bit is only de?ned for control endpoints; it is active only when the interruptonnak feature has been enabled via the se t mode command (see ta b l e 2 5 ). [2] this bit will be logic 0 for in buffers (host packets are received via the out buffer). 9.2.3 read buffer command returns the data buffer contents of the selected endpoint. following the command, a maximum of (n + 2) bytes can be read, n representing the size of the endpoint buffer (see ta b l e 3 ). after each byte the internal buffer pointer is automatically incremented by 1. to reset the buffer pointer to the start of the buffer, use the select endpoint command. code (hex) f0 transaction read multiple bytes (max. n + 2, n = buffer size). reading a buffer may be interrupted by any other command (except for select endpoint). the data in the buffer are organized as shown in ta b l e 3 1 . table 29: endpoint buffer status byte: bit allocation bit 7 6 5 4 3 2 1 0 symbol --- sent nak packet overwritten setup packet stall status full empty status reset xxx00000 access rrrrrrrr table 30: endpoint buffer status byte: bit description bit symbol description 7 to 5 - reserved 4 sentnak [1] a logic 1 indicates that the device has sent a nak. this bit is reset when the device returns an acknowledge (ack) after receiving an out packet, or when it gets an ack after sending an in packet. 3 packetoverwritten a logic 1 indicates that the previous packet was overwritten by a setup packet. this bit is reset by a select endpoint/clear interrupt command on this endpoint. 2 setuppacket [2] a logic 1 indicates that the last successfully received packet had a setup token. this bit is reset by a select endpoint/clear interrupt command on this endpoint. 1 stallstatus a logic 1 indicates that the endpoint is in stalled state. 0 fullemptystatus a logic 1 indicates that the buffer is full, a logic 0 indicates that it is empty.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 28 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] a logic 1 indicates that the packet was successfully received via the usb bus. [2] a logic 1 indicates that the packet in the buffer has a setup token. 9.2.4 write buffer command fills the data buffer of the selected endpoint. following the command, a maximum of (n + 2) bytes may be written, n representing the size of the endpoint buffer (see ta b l e 3 ). after each byte the internal buffer pointer is automatically incremented by 1. to reset the buffer pointer to the start of the buffer, use the select endpoint command. code (hex) f0 transaction write multiple bytes (max. n + 2, n = buffer size). writing a buffer may be interrupted by any other command (except for select endpoint). the data must be organized in the same way as shown in ta b l e 3 1 . upon writing, the value of byte 0 must be zero. remark: there is no protection against writing or reading past a buffers boundary, against writing into an out buffer or reading from an in buffer. any of these actions could cause an incorrect operation. data residing in an out buffer are only meaningful after a successful transaction. 9.2.5 select endpoint/clear interrupt selects the endpoint and clears the associated interrupt. in case of a control endpoint, it also clears the setuppacket and packetoverwritten status bits. a data read following the command returns the endpoint buffer status (see ta b l e 2 9 and ta b l e 3 0 ). code (hex) 40 to 4b (endpoint index 0 to 11) transaction read 1 byte. 9.2.6 clear buffer command unlocks the buffer of the selected endpoint, allowing the reception of new packets. an optional data read may follow the command, returning the packet status (see ta b l e 3 2 ). code (hex) f2 transaction read 1 byte (optional). when a packet has been received successfully, an internal buffer full ?ag is set. any subsequent packets will be refused by returning a nak. after reading all data, the microcontroller must free the buffer using the clear buffer command. table 31: endpoint buffer organization byte # bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 7 0 0/1 [1] 0/1 [2] xxxxxx 1 x n (number of data bytes in the buffer) 2 data byte 0 ... ... n + 2 data byte n - 1
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 29 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9.2.7 validate buffer command indicates the presence of valid data for transmission to the usb host. code (hex) fa transaction none. after writing data into an endpoints in buffer, the microcontroller must set the buffer full ?ag by means of 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. remark: a control in buffer cannot be validated when the packet overwritten bit of the corresponding out buffer is set. 9.2.8 set endpoint status command stalls or unstalls the indicated endpoint. code (hex) 40 to 4b (endpoint index 0 to 11) transaction 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 with the set endpoint status command. 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 ?ushes the buffer: in 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. remark: a set endpoint status command with a stalled bit of logic 0 will always initialize the endpoint, even when it was not stalled. table 32: packet status byte: bit allocation bit 7 6 5 4 3 2 1 0 symbol -------packet overwritten reset xxxxxxx0 access rrrrrrrr table 33: packet status byte: bit description bit symbol description 7 to 1 - reserved 0 packetoverwritten a logic 1 indicates that the previous packet was overwritten by a setup packet. in that case the buffer is not cleared. table 34: set endpoint status command: bit allocation bit 7 6 5 4 3 2 1 0 symbol conditional stall rate feedback mode disable ---- stalled reset 0 0 0xxxx0 access wwwwwwww
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 30 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] a conditionalstall does not work if the packetoverwritten status bit is set. 9.3 general commands 9.3.1 read device status returns the device status register contents, see ta b l e 3 6 and ta b l e 3 7 . when the suspendchange, connectchange or busreset bit is logic 1, the corresponding bit in the interrupt register is set and a microcontroller interrupt is generated. code (hex) fe transaction read 1 byte. 9.3.2 set device status changes the device status register. the contents of read-only bits are ignored. code (hex) fe transaction write 1 byte. table 35: set endpoint status command: bit description bit symbol description 7 conditionalstall a logic 1 stalls both endpoints of a control endpoint (endpoint identi?er = 0), unless the setup packet bit is set. in that case the entire command is ignored. 6 ratefeedbackmode a logic 1 switches an interrupt endpoint to rate feedback mode, a logic 0 enables toggle mode. 5 disable a logic 1 disables the selected endpoint, a logic 0 enables it again. a bus reset (re-)enables all endpoints. 4 to 1 - reserved 0 stalled a logic 1 stalls the selected endpoint. a logic 0 unstalls the endpoint and (re-)initializes it, whether it was stalled or not. table 36: device status register: bit allocation bit 7 6 5 4 3 2 1 0 symbol ---bus reset suspend change suspend connect change connect reset xxxxxxx0 access w w w r r r/w r r/w table 37: device status register: bit description bit symbol description 7 to 5 - reserved 4 busreset a logic 1 signals that the device received a bus reset. upon a bus reset the device will automatically enter its default state (uncon?gured and responding to address 0). this bit is cleared when it is read. 3 suspendchange a logic 1 signals that the value of the suspend bit has changed. the suspend bit changes when the device enters suspend mode or when it receives a resume signal on its upstream port. this bit is cleared when it is read.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 31 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9.3.3 read current frame number reports the frame number (11 bits) of the last successfully received start of frame (sof). it is followed by one or two data reads containing the frame number. byte 1 contains the least signi?cant bits of the frame number (bits 7 to 0), byte 2 holds the most signi?cant bits (bits 10 to 8) padded with zeroes (see ta b l e 3 8 ). code (hex) f5 transaction read 1 or 2 bytes. 9.3.4 read embedded port status returns the embedded port status register contents, see ta b l e 3 9 and ta b l e 4 0 . when the suspendchange or busreset bit is logic 1, the corresponding bit in the interrupt register is set (see ta b l e 2 7 and ta b l e 2 8 ) and a microcontroller interrupt is generated. this command resets the suspendchange, connectchange and busreset bits. code (hex) e0 to e2 (embedded function 1 to 3) transaction read 1 byte. 9.3.5 write embedded port status changes the embedded port status register. contents of read-only bits are ignored. code (hex) e0 to e2 (embedded function 1 to 3) transaction write 1 byte. 2 suspend upon reading this bit indicates the current suspend status: a logic 1 indicates that no activity occurred on the upstream port for more than 3 ms. any activity on the upstream port will reset this bit to logic 0. writing a logic 0 into this bit will generate a remote wake-up, if the device is suspended (suspend = 1). otherwise, writing a logic 0 has no effect. remark: writing a logic 1 never has any effect. 1 connectchange a logic 1 signals that the value of the connect bit has changed. this bit is cleared when it is read. 0 connect writing a logic 1 causes the device to connect its pull-up resistor to the upstream port, a logic 0 disconnects the pull-up resistor. upon reading this bit indicates the current connect status. table 37: device status register: bit description continued bit symbol description table 38: frame number: bit allocation bit 15 14 13 12 11 10 9 8 symbol ----- fr ame[10:8] reset 00000000 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol frame[7:0] reset 00000000 access rrrrrrrr
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 32 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9.3.6 read chip id reports the chip identi?cation code (12 bits), comprising the device release number devrev (see table 8 device descriptor ) and the last digit of the device name devname (see table 13 string descriptors ). byte 1 contains the least signi?cant bits of the chip identi?cation code, byte 2 the most signi?cant bits (see ta b l e 4 1 and ta b l e 4 2 ). code (hex) fd transaction read 2 bytes. table 39: embedded port status register: bit allocation bit 7 6 5 4 3 2 1 0 symbol ---port reset suspend change suspend connect change connect reset xxx00000 access w w w r r r/w r r/w table 40: embedded port status register: bit description bit symbol description 7 to 5 - reserved 4 portreset a logic 1 signals that a set port feature (port_reset) request was received by the embedded port. if this bit is logic 1, reading it will clear the bit, enable the embedded port and report the end of the reset to the host. 3 suspendchange a logic 1 signals that the value of the suspend bit has changed. the suspend bit changes when the device enters suspend mode or when it receives a resume signal on its upstream port. this bit is cleared when it is read. 2 suspend upon reading this bit indicates the current suspend status: a logic 1 indicates that the embedded port is suspended. writing a logic 0 into this bit will generate a remote wake-up, if the embedded port is suspended (suspend = 1). otherwise, writing a logic 0 has no effect. remark: writing a logic 1 never has any effect. 1 connectchange a logic 1 signals that the value of the connect bit has changed. this bit is cleared when it is read. 0 connect writing a logic 1 causes the embedded port to be connected, a logic 0 disconnects the embedded port. upon reading this bit indicates the current connect status. table 41: chip identi?cation code: bit allocation bit 15 14 13 12 11 10 9 8 symbol ---- devname[3:0] reset 00000001 access rrrrrrrr bit 7 6 5 4 3 2 1 0 symbol devrev[7:0] reset 00000000 access rrrrrrrr
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 33 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 9.3.7 set vid/pid modi?es the vendor id and the product id codes, which are reported in the device descriptor (see ta b l e 8 ). code (hex) fb transaction write 4 bytes. 9.3.8 get last error reports the 4-bit error code of the last generated error. the bit erroroccurred is refreshed upon each new packet transfer. code (hex) ff transaction read 1 byte. table 42: chip identi?cation code: bit description bit symbol description 15 to 12 - reserved 11 to 8 devname[3:0] devname speci?es the ?nal digit (x) in the device name string isp113x. the unicode representation of this digit is 0000.0000.0011.devname. for ISP1130 the value of x is 0h. 7 to 0 devrev[7:0] devrev represents the 8-bit device release number (01h = release 1.0). this value is incremented upon silicon revision. table 43: set vid/pid command: data byte allocation byte description 0 vendor id (lower byte) 1 vendor id (upper byte) 2 product id (lower byte) 3 product id (upper byte) table 44: last error byte: bit allocation bit 7 6 5 4 3 2 1 0 symbol - - - error occurred errorcode[3:0] reset xxx00000 access rrrrrrrr table 45: register bits description bit symbol description 7 to 5 - reserved 4 erroroccurred a logic 1 indicates that the last packet generated an error. 3 to 0 errorcode[3:0] error code; for error interpretation see table 46 transaction error codes
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 34 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 10. keyboard controller 10.1 microcontroller core the integrated 80c51 microcontroller has 8 kbytes of mask rom and 256 bytes of ram. the i/o ports have been con?gured as an 8 18 line keyboard scan matrix. interfacing to the usb hub is done via 3 registers (command, data, status), which are accessible via the external data memory address space (movx instruction). the keyboard ?rmware resides in the rom and enumerates the embedded function as hid compatible keyboard device during hub initialization. the microcontroller runs on a 12 mhz clock (f mcu_clock ), derived from the pll oscillator. a watchdog timer resets the microcontroller in case of a software hang-up. 10.2 memory map 10.2.1 data memory the internal data memory of ISP1130 is divided into two physically separate areas: 256 bytes ram and 128 bytes of special function registers (sfrs). addressing is done as follows (see figure 5 ): ? ram (00h to 7fh) : direct and indirect addressing; for indirect addressing registers r0 and r1 of the selected register bank are used as address pointers ? ram (80h to ffh) : indirect addressing, using registers r0 and r1 of the selected register bank as address pointers table 46: transaction error codes error code (binary) description 0000 no error 0001 pid encoding error; bits 7 to 4 are not the inverse of bits 3 to 0 0010 pid unknown; encoding is valid, but pid does not exist 0011 unexpected packet; packet is not of the expected type (token, data, or acknowledge), or is a 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 (not acknowledge) 1010 sent stall; a token was received, but the endpoint was stalled 1011 over?ow; the received packet was larger than the available buffer space 1100 sent empty packet (iso only) 1101 bit stuf?ng error 1110 sync error 1111 wrong (unexpected) toggle bit in data pid; data was ignored
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 35 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. ? sfrs (80h to ffh) : direct addressing ? 4 register banks (00h to 1fh) : direct addressing; only 1 register bank may be enabled at any time ? bit-addressable locations (20h to 2fh) : direct addressing; these 16 bytes can be used as 128 bit-addressable locations. 10.2.2 program memory the ISP1130 has 8 kbytes of masked rom for storing the 80c51 operating software. in order to protect the rom against illegal copying, execution of a movc instruction from external code memory has been blocked. instead of reading the program memory, it accesses the on-chip data memory. 10.3 special function registers (sfrs) the sfrs of the 80c51 can only be directly addressed. the memory map is given in ta b l e 4 7 . fig 5. data memory organization. w idth mgs799 ffh indirect addressing sfrs direct addressing only direct & indirect addressing 7fh 80h 20h 00h 4 banks of r0 to r7 data memory space fig 6. program memory organization. handbook, halfpage mgs800 1fffh 8 kbytes on-chip user rom 0000h
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 36 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 10.3.1 program status word register (psw) the psw register of the 80c51 is bit-addressable. the names and functions of the bits are shown in ta b l e 4 8 and ta b l e 4 9 . [1] all bits are individually addressable. table 47: sfr memory map address range (hex) offset 0 1 2 3 4 5 6 7 f8 to ff wdtkey wdt f0 to f7 b e8 to ef e0 to e7 acc d8 to df i2c0con i2c0sta i2c0dat i2c0adr d0 to d7 psw c8 to cf c0 to c7 usbcon usbcona b8 to bf ip b0 to b7 p3 a8 to af ie a0 to a7 p2 98 to 9f 90 to 97 p1 88 to 8f tcon tmod tl0 tl1 th0 th1 80 to 87 p0 sp dpl dph pcon table 48: psw register: bit allocation 7 6 5 4 3 2 1 0 cy ac f0 rs1 rs0 ov - p table 49: psw register: bit description bit [1] symbol description psw.7 cy carry ?ag; receives carry out from bit 7 of alu operands psw.6 ac auxiliary carry ?ag; receives carry out from bit 3 of addition operands psw.5 f0 ?ag 0; general purpose status ?ag psw.4 rs1 register bank selector bit 1; see ta b l e 5 0 psw.3 rs0 register bank selector bit 0; see ta b l e 5 0 psw.2 ov over?ow ?ag; set by arithmetic operations psw.1 - user-de?nable general purpose ?ag psw.0 p parity ?ag, indicating the number of 1 bits in the accumulator (logic 0 = even, logi c 1 = odd); refreshed by hardware upon each instruction cycle
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 37 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 10.3.2 power control register (pcon) 10.3.3 usb control register (usbcon) table 50: register bank selection rs1 rs0 register bank address range (hex) 00 0 00to07 0 1 1 08 to 0f 10 2 10to17 11 3 18to1f table 51: pcon register: bit allocation bit 7 6 5 4 3 2 1 0 symbol - - - wle gf1 gf0 pd idl reset 000 0 0 000 access r/w r/w r/w r/w r/w r/w r/w r/w table 52: pcon register: bit description bit symbol description 7 to 5 - reserved 4 wle watchdog load enable. writing a logic 1 enables writing to the watchdog timer register and starts the watchdog timer for the ?rst time. a logic 0 disables writing to the watchdog timer register. the watchdog timer can be stopped by writing 55h to the wdtkey register (see ta bl e 7 0 ) or by a hardware reset. 3 gf1 general purpose ?ag set or reset by software. 2 gf0 general purpose ?ag set or reset by software. 1 pd writing a logic 1 activates power-down mode and switches off the clock. when the microcontroller wakes up from power-down mode this bit is cleared to logic 0. 0 idl writing a logic 1 activates idle mode, switching off the normal clock and turning on the sleep clock. a reset or interrupt returns the microcontroller from idle to normal mode and clears this bit to logic 0. table 53: usbcon register: bit allocation bit 7 6 5 4 3 2 1 0 symbol self powered enable synclk disable kbdmatrix gl-memsel selection enable overcurrent analogoc disable soft connect_n suspend clock reset 011 1 1 110 access www w w www
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 38 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 10.3.4 usb control a register (usbcona) table 54: usbcon register: bit description bit symbol description 7 self powered a logic 0 selects bus-powered operation. a logic 1 enables (hybrid) self-powered operation. 6 enable synclk a logic 1 enables a 12 mhz clock signal on output synclk, used during external emulation of the microcontroller. a logic 0 disables the clock signal on synclk. 5 disable kbdmatrix a logic 0 selects internal 82 k w pull-down resistors on the myn lines (keyboard matrix enabled). a logic 1 selects internal 8.2 k w pull-up resistors on the myn lines (keyboard matrix disabled). 4 gl- memsel selection a logic 0 enables upstream goodlink indication, using output memsel/ upgl to drive the led. a logic 1 con?gures pin memsel/ upgl as a chip select output for accessing an external serial eeprom via the i 2 c-bus interface. 3 enable over current a logic 1 con?gures pins ocn/ dpgln as overcurrent detection inputs. a logic 0 con?gures pins ocn/ dpgln as downstream port goodlink indicator outputs. 2 analogoc disable a logic 0 enables internal analog overcurrent sensing on pins ocn/ dpgln (if enabled via bit enableovercurrent). a logic 1 selects digital overcurrent sensing. 1 soft connect_n a logic 0 connects an internal 1.5 k w pull-up resistor to the upstream usb port (pin up_dp). a logic 1 disables the pull-up resistor. 0 suspend clock a logic 1 switches off the clock after 2 ms following a suspend interrupt. a logic 0 causes the clock to remain active during suspend state. a change from logic 0 to logic 1 in the suspend interrupt service routine switches off the clock after 1 ms. table 55: usbcona register: bit allocation bit 7 6 5 4 3 2 1 0 symbol reserved portcount1 portcount0 reset 00000001 access wwwwwwww table 56: usbcona register: bit description bit symbol description 7 to 2 - reserved 1, 0 portcount[1:0] number of enabled embedded functions: 00 unde?ned 01 1 embedded function (default) 10 2 embedded functions 11 3 embedded functions
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 39 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 10.4 hub control registers the hub control registers (command and data) are mapped to the external data memory space of the 80c51 as shown in ta b l e 5 7 . to access these registers use a movx instruction. 10.5 interrupt structure the ISP1130 implements a 6-source interrupt structure with 2 priority levels. the interrupt vector addresses and polling sequence is given in ta b l e 5 8 . the interrupt priority levels are set via the interrupt polarity (ip) register (see ta b l e 6 1 ) and the interrupts can be enabled or disabled via the interrupt enable (ie) register (see ta b l e 5 9 ). external interrupt 0 (ex0) is generated by the usb core when an activity occurs for any of the three embedded functions. interrupt ex0 is level-triggered and sets bit ie0 in the tcon register. ie0 is cleared by hardware when the service routine is entered. external interrupt 1 (ex1) is generated by a key press in the matrix. interrupt ex1 is level-triggered and sets bit ie1 in the tcon register. ie1 is cleared by hardware when the service routine is entered. when the device is in suspend state (the microcontroller clock is disabled), interrupt ex1 is registered and an internal remote wakeup is generated to restart the pll and the clocks. when the device resumes its function and the clock to microcontroller core has been restored, the ?rmware branches to the interrupt service routine for ex1. external interrupt 2 (in2) is generated by input pin int, which is edge-triggered (high-to-low transition). timer 0 and timer 1 interrupts are generated by a timer register over?ow (except for timer 0 in mode 3), signalled by bits tf0 and tf1 in the tcon register. the bit that generated the interrupt is cleared by hardware, when the service routine is entered. table 57: hub control registers: address mapping register access address (hex) command write fffe data read/write ffff table 58: interrupt vectors and polling sequence source description vector address ex0 external 0 interrupt (usb) 0003h et0 timer 0 interrupt 000bh ex1 external 1 interrupt (keyboard) 0013h et1 timer 1 interrupt 001bh i2c i 2 c-bus interrupt 0023h in2 external 2 interrupt (input int) 002bh
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 40 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] all bits are individually addressable. [1] all bits are individually addressable. [2] a logic 0 indicates a low priority, a logic 1 indicates a high priority. 10.6 timers/counters the ISP1130 contains two 16-bit timer/counters (timer 0 and timer 1), which are used for generating interrupt requests. each timer has a control bit c/ t in the timer control register (tcon, see ta b l e 6 7 ), which selects the timer or counter function. in the ISP1130 this bit must always be 0 for timer operation. table 59: ie register: bit allocation bit 7 6 5 4 3 2 1 0 symbol ea - in2 i2c et1 ex1 et0 ex0 reset 000 0 0 000 access r/w r/w r/w r/w r/w r/w r/w r/w table 60: ie register: bit description bit [1] symbol description ie.7 ea enable all interrupts; a logic 0 disables all interrupts, a logic 1 allows all interrupt sources to be individually enabled or disabled ie.6 - reserved ie.5 in2 a logic 1 enables external interrupt 2 (input int) ie.4 i2c a logic 1 enables i 2 c interrupt ie.3 et1 a logic 1 enables timer 1 over?ow interrupt ie.2 ex1 a logic 1 enables external interrupt 1 (keyboard) ie.1 et0 a logic 1 enables timer 0 over?ow interrupt ie.0 ex0 a logic 1 enables external interrupt 0 (usb) table 61: ip register: bit allocation bit 7 6 5 4 3 2 1 0 symbol - - in2 i2c et1 ex1 et0 ex0 reset xx0 0 0 000 access r/w r/w r/w r/w r/w r/w r/w r/w table 62: ip register: bit description bit [1] symbol description [2] ip.7 - reserved ip.6 - reserved ip.5 in2 priority of external interrupt 2 (input int) ip.5 i2c priority of i 2 c interrupt ip.3 et1 priority of timer 1 interrupt ip.2 ex1 priority of external interrupt 1 (keyboard) ip.1 et0 priority of timer 0 interrupt ip.0 ex0 priority of external 0 (usb) interrupt
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 41 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. both timers can be programmed independently to operate in 4 different modes via the timer mode register (tmod, see ta b l e 6 3 ). when timer 0 is in mode 3, timer 1 can be programmed to modes 0, 1 or 2 but it cannot set an interrupt request ?ag or generate an interrupt. each timer consists of two 8-bit registers in the sfr memory space: tln and thn (see ta b l e 6 6 ). the timer registers are incremented every machine cycle of the 80c51 core. since one machine cycle consists of 6 clock periods, the timer counts at a rate of 1 6 f mcu_clock . this corresponds with 2 mhz for the default microcontroller clock frequency of 12 mhz. the timers are started and stopped under software control via the sfr tcon (see ta b l e 6 7 ). each timer sets its interrupt request ?ag when the timer register over?ows from all 1s to all 0s (normal timer) or to the reload value (auto-reload timer). when a timer interrupt is generated, the corresponding interrupt request ?ag is cleared by the hardware upon entering the interrupt service routine. table 63: tmod register: bit allocation timer 1: bits 7 to 4; timer 0: bits 3 to 0 7 6 5 4 3 2 1 0 gate c/ tm1 m0gatec/ tm1 m0 table 64: tmod register: bit description bit symbol description 7 gate timer 1 counter gate control; must always be 0 6c/ t timer 1 counter/timer select; must always be 0 5 m1 timer 1 mode selector bit 1; see ta bl e 6 3 4 m0 timer 1 mode selector bit 0; see ta bl e 6 3 3 gate timer 0 counter gate control; must always be 0 2c/ t timer 0 counter/timer select; must always be 0 1 m1 timer 0 mode selector bit 1; see ta bl e 6 3 0 m0 timer 0 mode selector bit 0; see ta bl e 6 3 table 65: timer mode selection m1, m0 mode description 00 0 13-bit timer 01 1 16-bit timer 10 2 8-bit auto-reload timer 11 3 timer 0 : tl0 is an 8-bit timer controlled by timer 0 control bits; th0 is an 8-bit timer controlled by timer 1 control bits timer 1 : stopped table 66: timer register addresses register sfr address description tl0 8ah timer 0: lower byte th0 8ch timer 0: upper byte tl1 8bh timer 1: lower byte th1 8dh timer 1: upper byte
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 42 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] all bits are individually addressable. 10.7 watchdog timer the watchdog timer is a counter that resets the microcontroller upon over?ow. this allows recovery from erroneous processor states (e.g. caused by electrical noise or rf-interference). to prevent the watchdog timer from over?owing, the software must reload the counter within a prede?ned (programmable) time. the watchdog timer is a 19-bit counter, consisting of an 11-bit prescaler and an 8-bit sfr (wdt). the counter is clocked in state 2 of every cpu cycle (= 6 clocks) and generates a reset when register wdt over?ows. for a 12 mhz clock frequency, the interval between over?ows can be programmed between 1.024 ms (wdt = ffh) and 262.144 ms (wdt = 00h). after a reset the wdt register contains all zeroes. to enable loading of the watchdog timer, bit wle in the pcon register must be set to logic 1 (see ta b l e 5 1 ). when this is done for the ?rst time, it also starts the timer. the watchdog timer can be disabled by writing 55h to the wdtkey register, or by a hardware reset. table 67: tcon register: bit allocation bit 7 6 5 4 3 2 1 0 symbol tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 reset 000 0 0 000 access r r/w r r/w r r/w r r/w table 68: tcon register: bit description bit [1] symbol description tcon.7 tf1 timer 1 over?ow ?ag; set by hardware upon timer 1 over?ow; cleared by hardware upon entering the interrupt service routine tcon.6 tr1 timer 1 run control bit; 0 = timer off, 1 = timer on tcon.5 tf0 timer 0 over?ow ?ag; set by hardware upon timer 0 over?ow; cleared by hardware upon entering the interrupt service routine tcon.4 tr0 timer 0 run control bit; 0 = timer off, 1 = timer on tcon.3 ie1 external interrupt 1 ?ag; set by hardware when a keyboard interrupt is detected; cleared by hardware upon entering the interrupt service routine tcon.2 it1 triggering mode for external interrupt 1, set by software; must always be logic 0 (= high-to-low transition) tcon.1 ie0 external interrupt 0 ?ag; set by hardware when a usb core interrupt is detected; cleared by hardware upon entering the interrupt service routine tcon.0 it0 triggering mode for external interrupt 0, set by software; must always be 0 (= high-to-low transition) table 69: watchdog timer registers: address mapping register access address (hex) wdtkey write fe wdt write ff
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 43 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] this register can only be written if bit wle in the pcon register is set to logic 1. 10.7.1 watchdog timer software example the following example shows how the watchdog timer operation might be handled in a user program. ;at program start wdt equ 0ffh ;address of watchdog timer sfr pcon equ 087h ;address of power-control sfr wdt_int equ 156 ;wdt internal 100 * prescaler overflow ;call to subroutine which reloads the wdt lcall watchdog ;watchdog subroutine watchdog: orl pcon,#10h ;set wle bit in pcon mov wdt,#wdt_int ;load watchdog timer with interval ret table 70: wdtkey register: bit allocation bit 7 6 5 4 3 2 1 0 symbol wdk[7:0] reset 01010101 access wwwwwwww table 71: wdtkey register: bit description bit symbol description 7 to 0 wdk[7:0] watchdog key: a value of 55h disables the watchdog timer and inhibits the setting of bit pd in the pcon register. any other value than 55h will (re)enable the watchdog timer. table 72: wdt register: bit allocation bit 7 6 5 4 3 2 1 0 symbol wdl[7:0] reset 00000000 access wwwwwwww table 73: wdt register: bit description bit symbol description 7 to 0 wdl[7:0] watchdog load value. the watchdog timer interval is given by (256 - wdl) in units of 1.024 ms (12 mhz clock frequency).
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 44 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 10.8 i/o description the following groups of i/o lines are available for interfacing a keyboard matrix to the ISP1130: mx0 to mx7 return lines for keyboard matrix; inputs with internal 8.2 k w pull-up resistors, 5 v tolerant. inputs mx3 and mx4 are multiplexed with the scl and sda lines respectively. this allows the ISP1130 ?rmware to read con?guration data from an external eeprom via sda and scl, e.g. upon a hardware or a usb bus reset. my0 to my17 scan lines for keyboard matrix; bidirectional lines with internal 82 k w pull-down resistors and 8.2 k w pull-up resistors. the pull-down resistors are selected by setting bit disablekbdmatrix in the usbcon register. in idle mode these lines are inputs, which are or-ed together to generate an interrupt when a key is pressed. capslock / numlock / scrlock open drain outputs for driving caps lock, num lock and scroll lock indicator leds (max. 8 ma). remark: when accessing external functions or devices via the ISP1130 bus lines, it is recommended to isolate the myn lines by means of analog switches, controlled via output memsel/ upgl. this prevents bus con?icts during keyboard scanning. 10.9 i/o port mapping ta b l e 7 4 provides the mapping of standard 80c51 input/output ports with respect to their use in ISP1130. 10.10 keyboard matrix implementation the ISP1130 can support a maximum key matrix size of 18 8, totalling 144 keys. a typical implementation of the keyboard matrix is shown in figure 7 . table 74: mapping of i/o ports between ISP1130 and 80c51 ISP1130 ports 80c51 ports description my0 to my7 p0.0 to p0.7 keyboard scan lines my8 to my15 p2.0 to p2.7 keyboard scan lines my16 p1.0 keyboard scan lines my17 p1.1 keyboard scan lines memsel/ upgl p1.2 chip select output for an external eeprom; upstream port goodlink indicator output capslock p1.3 control output for caps lock led indicator numlock p1.4 control output for num lock led indicator scrlock p1.5 control output for scroll lock led indicator n.c. p1.6 not used n.c. p1.7 not used mx0 to mx7 p3.0 to p3.7 keyboard return lines
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 45 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. the keyboard scanning algorithm is as follows: 1. when no key press is detected within a prede?ned time interval, the microcontroller switches the myn scan lines to input and enters idle mode. 2. pressing any key will result in the high level of an mxn line to be transferred to an myn input. such a high level (4.45 v typ.) exceeds v ih and generates an interrupt, since all myn lines are or-ed together. 3. upon a keyboard interrupt the microcontroller exits idle mode and resumes standard keyboard matrix scanning to determine which key was pressed. this algorithm helps to reduce emi and power consumption. 10.11 suspend and resume 10.11.1 suspend when there is no activity on the usb bus for more than 3 ms, the device generates an interrupt to the microcontroller to enter suspend state. the microcontroller can respond to a suspend interrupt in three ways, depending on the value of bit suspendclock in the usbcon register when servicing the interrupt: fig 7. typical keyboard matrix implementation. w idth mgs801 82 k w 8.2 k w 8.2 k w mxn myn ISP1130 keyboard matrix my0 my1 my2 my3 my4 my5 my6 internal circuit disablekbdmatrix (usbcon register) v cc v cc internal circuit my7 mx0 mx1 mx2 mx3 mx4 mx5 mx6 mx7 my8 my9 my10 my11 my12 my13 my14 my15 my16 my17
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 46 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. ? suspendclock = 0 : the operating clocks of the usb core and the microcontroller remain on during suspend state. the devices power consumption is not reduced and therefore this state does not guarantee suspend current requirements. ? suspendclock = 1 : the internal clocks are automatically switched off after 2 ms. this allows the microcontroller adequate time to process the suspend interrupt and enter power-down mode. power consumption is reduced to its minimum to meet the suspend current requirements of usb speci?cation rev. 1.1 . ? suspendclock is changed from 0 to 1 : the clocks are switched off after 1 ms. this option can be used if the microcontroller requires more time than 2 ms to prepare for suspend mode. remark: after a resume operation, the microcontroller has to clear bit suspendclock to logic 0 to enable further suspend operations. 10.11.2 resume the ISP1130 can resume operation from suspend state in three ways, depending on whether the operating clocks are active or not: ? operating clock on : clearing the suspend bit of the device status register to logic 0 will generate a remote wake-up signal. ? operating clock off : the following events will generate a remote wake-up signal: C key press (activity on the myn lines) C usb bus activity. upon a remote wake-up signal, the usb core ?rst enables the pll and the clocks. when the clocks have stabilized, an interrupt wakes up the microcontroller from power-down mode. the microcontroller resumes program execution from where it left off. a resume signal is then generated on the upstream port. 11. i 2 c-bus interface a simple i 2 c-bus interface is provided in the ISP1130 to read con?guration data from an external eeprom upon a (power-on) reset or a bus reset from the usb host. the interface hardware supports both single master and slave operation at bus speeds up to 400 khz. for this application the user must con?gure the i 2 c-bus interface as single master via software. after reading the eeprom con?guration data, the i 2 c-bus driver software module and the eeprom must be disabled, since the scl and sda lines are multiplexed with keyboard matrix scan lines (mx3 and mx4 respectively). output memsel/ upgl is available for (de)selecting the eeprom. the i 2 c-bus interface is intended for bidirectional communication between ics via two serial bus wires, sda (data) and scl (clock). both lines are driven by open-drain circuits and must be connected to the positive supply voltage via pull-up resistors. in the ISP1130 8.2 k w pull-up resistors are integrated on pins mx3/scl and mx4/sda.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 47 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 11.1 protocol the i 2 c-bus protocol de?nes the following conditions: ? bus free : both sda and scl are high ? start : a high-to-low transition on sda, while scl is high ? stop : a low-to-high transition on sda, while scl is high ? data valid : after a start condition, data on sda are stable during the high period of scl; data on sda may only change while scl is low. each device on the i 2 c-bus has a unique slave address, which the master uses to select a device for access. the master starts a data transfer using a start condition and ends it by generating a stop condition. transfers can only be initiated when the bus is free. the receiver must acknowledge each byte by means of a low level on sda during the ninth clock pulse on scl. for detailed information please consult the i 2 c-bus and how to use it ., order number 9398 393 40011. 11.2 hardware connections via the i 2 c-bus interface the ISP1130 can be connected to an external eeprom (pcf8582 or equivalent). the hardware connections are shown in figure 8 . the scl and sda pins are multiplexed with pins mx3 and mx4 respectively. pin memsel/ upgl can be used as a chip select output to select external devices, such as smart card readers, uarts, etc. the slave address which ISP1130 uses to access the eeprom is 1010000b. page mode addressing is not supported, so pins a0, a1 and a2 of the eeprom must be connected to gnd (logic 0). fig 8. eeprom connection diagram. i dth mgs808 mx4/sda mx3/scl a1 a2 a0 sda scl v dd r p r p v dd ISP1130 usb hub pcf8582 eeprom or equivalent i 2 c-bus
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 48 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 11.3 data transfer the i 2 c-bus interface can be used to read con?guration data from an external eeprom, e.g. upon a hardware or usb bus reset. the eeprom must be enabled and disabled using output pin memsel/ upgl. to select the i 2 c-bus function of pins mx3/scl and mx4/sda, bit ens1 in the i2c0con register must be set to logic 1. the number and the organization of the data bytes read from the eeprom can be determined by the ?rmware designer. the i 2 c-bus interface is accessed via a number of sfrs, shown in ta b l e 7 5 . table 75: i 2 c register addresses register sfr address description i2c0con d8h i 2 c-bus control register i2c0sta d9h i 2 c-bus status register i2c0dat dah i 2 c-bus data register i2c0adr dbh i 2 c-bus address register table 76: i2c0con register: bit allocation bit 7 6 5 4 3 2 1 0 symbol cr2 ens1 sta sto si aa cr1 cr0 reset 000 0 0 000 access r/w r/w r/w r/w r/w r/w r/w r/w table 77: i2c0con register: bit description bit [1] symbol description i2c0con.7 cr2 selects i 2 c-bus bit frequency in master mode, see ta b l e 7 8 i2c0con.6 ens1 enable serial i/o . a logic 1 enables the i 2 c-bus interface and sets pins mx3/scl and mx4/sda to logic 1. a logic 0 disables the i 2 c-bus interface and clears bit sto to logic 0, allowing mx3/scl and mx4/sda to be used as open drain i/o pins. i2c0con.5 sta start ?ag . in slave mode a logic 1 generates a start condition as soon as the bus is free. in master mode a logic 1 generates a repeated start condition. i2c0con.4 sto stop ?ag . in master mode a logic 1 generates a stop condition. this bit is cleared by hardware if a stop condition is detected on the bus. in slave mode a logic 1 can be used to recover from an error: it causes sda and scl to be released and the device to be unaddressed. i2c0con.3 si serial interrupt ?ag . a logic 1 signals a valid status change (see ta b l e 8 3 ), causing the scl low period to be stretched and the transfer to be suspended. this bit must be cleared by software when servicing the interrupt.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 49 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] all bits are individually addressable. [1] bits are transmitted or received msb (sd7) ?rst. i2c0con.2 aa assert acknowledge . a logic 1 indicates that an ack (low level on sda during acknowledge pulse on scl) is returned for one of the following conditions: ? own slave address received ? general call address received, if bit gc = 1 (i2c0con) ? data byte received when in master receive mode ? data byte received when addressed in slave receiver mode. i2c0con.1 cr1 selects i 2 c-bus bit frequency in master mode, see ta b l e 7 8 i2c0con.0 cr0 selects i 2 c-bus bit frequency in master mode, see ta b l e 7 8 table 78: i 2 c-bus bit frequency (master mode) cr2 cr1 cr0 i 2 c-bus bit frequency (12 mhz oscillator) 0 0 0 200 khz 0 0 1 7.5 khz 0 1 0 300 khz 0 1 1 400 khz 1 0 0 50 khz 1 0 1 3.75 khz 1 1 0 75 khz 1 1 1 100 khz table 77: i2c0con register: bit description continued bit [1] symbol description table 79: i2c0dat register: bit allocation bit 7 6 5 4 3 2 1 0 symbol sd[7:0] reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 80: i2c0dat register: bit description bit symbol description 7 to 0 sd[7:0] [1] data byte (just received or to be transmitted); a logic 0 value corresponds with a low level on sda, a logic 1 with a high level table 81: i2c0sta register: bit allocation bit 7 6 5 4 3 2 1 0 symbol sc[4:0] - - - reset 11111000 access rrrrrrrr
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 50 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. table 82: i2c0sta register: bit description bit symbol description 7 to 3 sc[4:0] status code, see ta b l e 8 3 2 to 0 - reserved, always zero table 83: i 2 c-bus status codes status byte sc[4:0] description (see table 84 ) master transmit mode 08h 00001 start condition has been transmitted 10h 00010 repeated start condition has been transmitted 18h 00011 sla and w have been transmitted, ack was received 20h 00100 sla and w have been transmitted, a ck was received 28h 00101 data byte has been transmitted, ack was received 30h 00110 data byte has been transmitted, a ck was received 38h 00111 arbitration was lost in sla, r/w or data byte master receive mode 08h 00001 start condition has been transmitted 10h 00010 repeated start condition has been transmitted 38h 00111 arbitration was lost while returning a ck 40h 01000 sla and r have been transmitted, ack was received 48h 01001 sla and r have been transmitted, a ck was received 50h 01010 data byte has been received, ack was returned 58h 01011 data byte has been received, a ck was returned slave receive mode 60h 01100 own sla and w have been received, ack was returned 68h 01101 arbitration was lost in sla, r/w as master; own sla and w have been received, ack was returned 70h 01110 general call has been received, ack was returned 78h 01111 arbitration was lost in sla, r/w as master; general call has been received 80h 10000 previously addressed with own sla; data byte has been received, ack was returned 88h 10001 previously addressed with own sla; data byte has been received, a ck was returned 90h 10010 previously addressed with general call; data byte has been received, ack was returned 98h 10011 previously addressed with general call; data byte has been received, a ck was returned a0h 10100 stop or repeated start condition has been received, while still addressed as slave receiver or transmitter
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 51 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. slave transmit mode a8 10101 own sla and r have been received, ack was returned b0 10110 arbitration was lost in sla, r/w as master; own sla and r have been received, ack was returned b8 10111 data byte has been transmitted, ack was received c0 11000 data byte has been transmitted, a ck was received c8 11001 last data byte has been transmitted (aa = 0 in i2c0con), ack was received miscellaneous 00h 00000 bus error in master or addressed slave mode, caused by erroneous start or stop condition f8h 11111 no relevant status information is available; bit si in the i2c0con register is cleared to logic 0 table 84: symbols used in i 2 c-bus symbol description sla slave address (7 bits) r read bit (logic 1) w write bit (logic 0) ack acknowledgment (logic 0) a ck no acknowledgment (logic 1) data data byte to or from i 2 c-bus table 83: i 2 c-bus status codes continued status byte sc[4:0] description (see table 84 ) table 85: i2c0adr register: bit allocation bit 7 6 5 4 3 2 1 0 symbol sa[6:0] gc reset 00000000 access r/w r/w r/w r/w r/w r/w r/w r/w table 86: i2c0adr register: bit description bit symbol description 7 to 1 sa[6:0] own slave address of the microcontroller; only used in slave mode, ignored in master mode 0 gc a logic 1 causes the device to respond to a general call address (00h). a logic 0 lets the device ignore address 00h.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 52 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 12. hub power modes usb hubs can either be self-powered or bus-powered. self-powered self-powered hubs have a 5 v local power supply on board which provide power to the hub and the downstream ports. the usb speci?cation rev. 1.1 requires that these hubs limit the current to 500 ma per downstream port and report overcurrent conditions to the host. the hub may optionally draw 100 ma from the usb supply (v bus ) to power the interface functions ( hybrid-powered ). bus-powered bus-powered hubs obtain all power from the host or an upstream self-powered hub. the maximum current is 100 ma per downstream port. current limiting and reporting of overcurrent conditions are both optional. the ISP1130 has bus-powered downstream ports and supports individual power switching via pins pswn. 12.1 voltage drop requirements 12.1.1 bus-powered hubs bus-powered hubs are guaranteed to receive a supply voltage of 4.5 v at the upstream port connector and must provide a minimum of 4.4 v to the downstream port connectors. the voltage drop of 100 mv across bus-powered hubs includes: ? hub pcb (power and ground traces, ferrite beads) ? power switch (fet on-resistance) ? overcurrent sense device. the pcb resistance may cause a drop of 25 mv, which leaves 75 mv for the power switch and overcurrent sense device. the voltage drop components are shown in figure 9 . for bus-powered hubs overcurrent protection is optional. it may be implemented for all downstream ports on a global or individual basis. the ISP1130 has individual overcurrent protection for its downstream ports. (1) includes pcb traces, ferrite beads, etc. fig 9. typical voltage drop components in bus-powered mode (no overcurrent detection). handbook, full pagewidth mgr783 low-ohmic pmos switch isp1122 power switch v bus d + d - gnd shield v bus d + d - gnd shield 4.40 v(min) 4.50 v(min) downstream port connector upstream port connector hub board resistance voltage drop 25 mv voltage drop 75 mv (1)
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 53 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 13. overcurrent detection the ISP1130 has an analog overcurrent detection circuit for monitoring downstream port lines. this circuit automatically reports an overcurrent condition to the host and turns off the power to the faulty port. the host must reset the condition ?ag. pins oc1/ dpgl1 and oc2/ dpgl2 can be used for individual port overcurrent detection or goodlink indication. the pin functionality is selected via bit enableovercurrent in the usbcon register, see ta b l e 5 3 . 13.1 overcurrent circuit description the integrated overcurrent detection circuit of ISP1130 senses the voltage drop across the power switch or an extra low-ohmic sense resistor. when the port draws too much current, the voltage drop across the power switch exceeds the trip voltage threshold ( d v trip ). the overcurrent circuit detects this and switches off the power switch control signal after a delay of 15 ms (t trip ). this delay acts as a debounce period to minimize false tripping, especially during the inrush current produced by hot plugging of a usb device. 13.2 power switch selection from the voltage drop analysis given in figure 9 , the power switch has a voltage drop budget of 75 mv. for individual self-powered mode, the current drawn per port can be up to 500 ma. thus the power switch should have maximum on-resistance of 150 m w . if the voltage drop due to the hub board resistance can be minimized, the power switch can have more voltage drop budget and therefore a higher on-resistance. power switches with a typical on-resistance of around 100 m w ?t into this application. the ISP1130 overcurrent detection circuit has been designed with a nominal trip voltage ( d v trip ) of 85 mv. this gives a typical trip current of approximately 850 ma for a power switch with an on-resistance of 100 m w 1 . 13.3 tuning the overcurrent trip voltage the ISP1130 trip voltage can optionally be adjusted through external components to set the desired trip current. this is done by inserting tuning series resistors at pins ocn/ dpgln (see figure 10 ). r td tunes down the trip voltage d v trip according to equation 1 . (1) with i oc(nom) = 0.5 m a. 1. the following pmos power switches have been tested to work well with the ISP1130: philips php109, vishay siliconix si2301ds, fairchild fdn338p. d v trip d v trip intrinsic () i oc r td C =
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 54 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 13.4 reference circuit a typical example of individual port power switching and individual overcurrent detection is given in figure 11 . the rc circuit (10 k w and 1 m f) around the pmos switch provides for soft turn-on. series resistors between pins ocn/ dpgln and the supply voltage may be used to tune down the overcurrent trip voltage (see figure 10 ). i oc(nom) = 0.5 m ai oc(nom) = 0.5 m a a. hybrid-powered mode. b. bus-powered mode. fig 10. tuning the overcurrent trip voltage. handbook, halfpage mbl161 v cc r td low-ohmic pmos switch v cc ISP1130 ocn/dpgln i oc handbook, halfpage mbl160 v bus r td low-ohmic pmos switch v cc ISP1130 ocn/dpgln i oc power switches 1 and 2 are low-ohmic pmos devices as speci?ed in section 13.2 . fig 11. hybrid-powered hub; individual port power switching; individual overcurrent detection. handbook, full pagewidth mbl162 psw1 psw2 oc1/dpgl1 oc2/dpgl2 5 v power supply 3% 1 - + v bus d + d - gnd shield + 4.85 v(min) + 4.85 v(min) + 4.75 v (min) 1 2 v bus d + d - gnd shield + 4.75 v (min) 2 v cc gnd 330 k w (2 ) downstream ports ISP1130 120 m f ferrite bead 120 m f ferrite bead low-ohmic pmos switch 10 k w 0.1 m f low-ohmic pmos switch 10 k w 0.1 m f
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 55 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 14. limiting values [1] equivalent to discharging a 100 pf capacitor via a 1.5 k w resistor (human body model). [2] values are given for device only; in-circuit v esd(max) = 8000 v. [3] for open-drain pins v esd(max) = 2000 v. table 87: absolute maximum ratings in accordance with the absolute maximum rating system (iec 60134). symbol parameter conditions min max unit v cc supply voltage - 0.5 + 6.0 v v i input voltage - 0.5 - v i latchup latchup current v i < 0 or v i >v cc - 200 ma v esd electrostatic discharge voltage i li <15 m a [1] [2] - 4000 [3] v t stg storage temperature - 60 + 150 c p tot total power dissipation - mw table 88: recommended operating conditions symbol parameter conditions min max unit v cc supply voltage 4.0 5.5 v v i input voltage 0 5.5 v v i(ai/o) input voltage on analog i/o pins (d + /d - ) 0 3.6 v v o(od) open-drain output pull-up voltage 0 5.5 v t amb operating ambient temperature - 40 + 85 c
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 56 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 15. static characteristics [1] in suspend mode the minimum voltage is 2.7 v. table 89: static characteristics; supply pins v cc = 4.0 to 5.5 v; v gnd =0v; t amb = - 40 to + 85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit v reg(3.3) regulated supply voltage 3.0 [1] 3.3 3.6 v v th(por) power-on reset threshold voltage 2.03 v i cc operating supply current - - ma i cc(susp ) suspend supply current 1.5 k w pull-up on upstream port d + (pin dp0) - - m a no pull-up on upstream port d + (pin dp0) - - m a table 90: static characteristics: digital pins v cc = 4.0 to 5.5 v; v gnd =0v; t amb = - 40 to + 85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit input levels v il low-level input voltage - - 0.8 v v ih high-level input voltage driven 2.0 - - v ?oating 2.7 - 3.6 v schmitt trigger inputs v th(lh) positive-going threshold voltage 1.4 - 1.9 v v th(hl) negative-going threshold voltage 0.9 - 1.5 v v hys hysteresis voltage 0.4 - 0.7 v output levels v ol low-level output voltage (open-drain outputs) i ol = rated drive - - 0.4 v i ol =20 m a - - 0.1 v v oh high-level output voltage (open-drain outputs) i oh = - rated drive 2.4 - - v i oh = - 20 m av cc - 0.1 - - v leakage current i li input leakage current - - 1 m a open-drain outputs i oz off-state output current - - 1 m a table 91: static characteristics: overcurrent sense pins v cc = 4.0 to 5.5 v; v gnd =0v; t amb = - 40 to + 85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit d v trip overcurrent detection trip voltage on pins ocn d v=v cc - v ocn 85 mv
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 57 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. [1] d + is the usb positive data pin (up_dp, dnn_dp); d - is the usb negative data pin (up_dm, dnn_dm). [2] includes external resistors of 18 w 1% on both d + and d - . [3] this voltage is available at pin v reg(3.3) . [4] in suspend mode the minimum voltage is 2.7 v. 16. dynamic characteristics to be determined. table 92: static characteristics: analog i/o pins (d + , d - ) [1] v cc = 4.0 to 5.5 v; v gnd =0v; t amb = - 40 to + 85 c; unless otherwise speci?ed. symbol parameter conditions min typ max unit input levels v di differential input sensitivity | v i(d + ) - v i(d - ) | 0.2 - - v v cm differential common mode voltage includes v di range 0.8 - 2.5 v v il low-level input voltage - - 0.8 v v ih high-level input voltage 2.0 - - v output levels v ol low-level output voltage r l = 1.5 k w to + 3.6v - - 0.3 v v oh high-level output voltage r l =15k w to gnd 2.8 - 3.6 v leakage current i lz off-state leakage current - - 10 m a capacitance c in transceiver capacitance pin to gnd - - 20 pf resistance z drv [2] driver output impedance steady-state drive 28 - 44 w z inp input impedance 10 - - m w termination v term [3] termination voltage for upstream port pull-up (r pu ) 3.0 [4] - 3.6 v
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 58 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 17. application information fig 12. typical application circuit. handbook, full pagewidth r3 470 w r14 4.7 k w u1 ISP1130 u2 sn75240 gnd c gnd d b 1 2 3 4 8 7 6 5 gnd a gnd up_1 up_2 mgs809 47 46 45 44 43 42 41 40 39 38 36 35 34 33 32 31 30 29 48 49 50 51 52 53 54 55 56 my16/rd my15 my14 my13 my12 my11 my10 my8 my9 my7 my6 my5 my4 my3 v reg(3.3) gnd 37 numlock scroll lock num lock caps lock d3 psen my17/wr ale synclk memsel/upgl ea scrlock capslock gnd gnd int my0 my1 my2 26 27 28 mx5 mx6 mx7 23 24 25 mx2 mx3/scl mx4/sda 20 21 22 mx0 mx1 17 18 19 14 15 16 11 12 13 8 9 10 5 6 7 2 3 4 1 xtal1 xtal2 v cc v pu(3.3) gnd up_dp up_dm dn1_dp dn1_dm dn2_dp dn2_dm gnd v cc2 v cc1 reset psw1 psw2 psw1 psw2 oc1/dpgl1 oc2/dpgl2 c2 22 pf l7 1 c1 22 pf xtal1 6 mhz j1 l1 2 l2 3 4 5 upstream port c3 47 pf c4 47 pf v cc r4 470 w d2 r5 470 w d1 r8 22 w r9 22 w v cc v cc v cc up_1 up_2 l8 1 j2 l3 2 l4 3 4 5 downstream port 1 c5 47 pf c6 47 pf r10 22 w r11 22 w v cc1 dn_1 dn_2 l9 1 j3 l5 2 l6 3 4 5 downstream port 2 c7 47 pf c8 47 pf r12 22 w r13 22 w v cc2 dn_3 dn_4 r6 q1 php125 r1 100 k w 47 k w psw1 r7 q2 php125 r2 100 k w 47 k w psw2 c10 0.1 m f c9 0.1 m f v cc v cc1 v cc2 v cc c11 4.7 m f c12 4.7 m f u3 sn75240 gnd c gnd d b 1 2 3 4 8 7 6 5 gnd a gnd dn_1 dn_2 dn_3 dn_4
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 59 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 18. test information the dynamic characteristics of the analog i/o ports (d + and d - ) as listed in section 16 , were determined using the circuit shown in figure 13 . load capacitance: c l = 50 pf (full-speed mode) c l = 200 pf or 600 pf (low-speed mode, minimum or maximum timing). speed selection: full-speed mode (fs): 1.5 k w pull-up resistor on d + low-speed mode (ls): 1.5 k w pull-up resistor on d - . fig 13. load impedance for d + and d - pins. mgs802 handbook, halfpage s1 s1 test point test closed closed open open d - /ls d + /ls d - /fs d + /fs c l v cc 15 k w 1.5 k w 18 w d.u.t.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 60 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 19. package outline fig 14. ssop56 package outline. unit a 1 a 2 a 3 b p cd (1) e (1) eh e ll p qz y w v q references outline version european projection issue date iec jedec eiaj mm 0.4 0.2 2.35 2.20 0.25 0.3 0.2 0.22 0.13 18.55 18.30 7.6 7.4 0.635 10.4 10.1 1.0 0.6 1.2 1.0 0.85 0.40 8 0 o o 0.18 0.25 1.4 0.1 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. sot371-1 95-02-04 99-12-27 (1) w m b p d h e e z e c v m a x a y 56 29 mo-118 28 1 q a a 1 a 2 l p q detail x l (a ) 3 pin 1 index 0 5 10 mm scale ssop56: plastic shrink small outline package; 56 leads; body width 7.5 mm sot371-1 a max. 2.8
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 61 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. fig 15. sdip56 package outline. unit b 1 cee m h l references outline version european projection issue date iec jedec eiaj mm dimensions (mm are the original dimensions) sot400-1 95-12-06 b max. w m e e 1 1.3 0.8 0.53 0.40 0.32 0.23 52.4 51.6 14.0 13.6 3.2 2.8 0.18 1.778 15.24 15.80 15.24 17.15 15.90 2.3 5.08 0.51 4.0 m h c (e ) 1 m e a l seating plane a 1 w m b 1 e d a 2 z 0 5 10 mm scale note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. (1) (1) d (1) z 56 1 29 28 b e pin 1 index a max. 12 a min. a max. sdip56: plastic shrink dual in-line package; 56 leads (600 mil) sot400-1
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 62 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 20. soldering 20.1 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). 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 re?ow soldering is often used. 20.2 surface mount packages 20.2.1 re?ow soldering re?ow soldering requires solder paste (a suspension of ?ne solder particles, ?ux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. several methods exist for re?owing; 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. typical re?ow peak temperatures range from 215 to 250 c. the top-surface temperature of the packages should preferable be kept below 230 c. 20.2.2 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. to overcome these problems the double-wave soldering method was speci?cally 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 with high upward pressure followed by a smooth laminar wave. ? for packages with leads on two sides and a pitch (e): C 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; C smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. 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.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 63 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. during placement and before soldering, the package must be ?xed 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 is cured. typical dwell time is 4 seconds at 250 c. a mildly-activated ?ux will eliminate the need for removal of corrosive residues in most applications. 20.2.3 manual soldering fix the component by ?rst soldering two diagonally-opposite end leads. use a low voltage (24 v or less) soldering iron applied to the ?at part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 c. 20.3 through-hole mount packages 20.3.1 soldering by dipping or by solder wave 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. the device may be mounted up to the seating plane, but the temperature of the plastic body must not exceed the speci?ed maximum storage temperature (t stg(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. 20.3.2 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 up to 5 seconds.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 64 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 20.4 package related soldering information [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) can not 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 de?nitely 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 pitch (e) equal to or larger than 0.65 mm; it is de?nitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm. table 93: suitability of ic packages for wave, re?ow and dipping soldering methods mounting package soldering method wave re?ow [1] dipping through-hole mount dbs, dip, hdip, sdip, sil suitable [2] - suitable surface mount bga, lfbga, sqfp, tfbga not suitable suitable - hbcc, hlqfp, hsqfp, hsop, htqfp, htssop, sms not suitable [3] suitable - plcc [4] , so, soj suitable suitable - lqfp, qfp, tqfp not recommended [4] [5] suitable - ssop, tssop, vso not recommended [6] suitable -
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 65 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. 21. revision history table 94: revision history rev date cpcn description 01 20000323 objective speci?cation; initial version.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 66 of 68 9397 750 06895 ? philips electronics n.v. 2000 all rights reserved. 22. data sheet status [1] please consult the most recently issued data sheet before initiating or completing a design. 23. de?nitions short-form speci?cation the data in a short-form speci?cation 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 de?nition limiting values given are in accordance with the absolute maximum rating system (iec 60134). 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 speci?cation 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 speci?ed use without further testing or modi?cation. 24. 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 licence 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 speci?ed. 25. licenses 26. trademarks acpi is an open industry speci?cation for pc power management, co-developed by intel corp., microsoft corp. and toshiba goodlink is a trademark of royal philips electronics onnow is a trademark of microsoft corp. smbus is a bus speci?cation for pc power management, developed by intel corp. based on the i 2 c-bus from royal philips electronics softconnect is a trademark of royal philips electronics datasheet status product status de?nition [1] objective speci?cation development this data sheet contains the design target or goal speci?cations for product development. spec i?cation may change in any manner without notice. preliminary speci?cation quali?cation this data sheet contains preliminary data, and supplementary data will be published at a la ter 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 speci?cation production this data sheet contains ?nal speci?cations. philips semiconductors reserves the right to make ch anges at any time without notice in order to improve design and supply the best possible product. purchase of philips i 2 c components purchase of philips i 2 c components conveys a license under the philips i 2 c patent to use the components in the i 2 c system provided the system conforms to the i 2 c speci?cation de?ned by philips. this speci?cation can be ordered using the code 9398 393 40011.
philips semiconductors ISP1130 usb compound hub with keyboard controller objective speci?cation rev. 01 23 march 2000 67 of 68 9397 750 06895 ? philips electronics n.v. 2000. all rights reserved. philips semiconductors - a worldwide company argentina: see south america australia: tel. +61 2 9704 8141, fax. +61 2 9704 8139 austria: tel. +43 160 101, fax. +43 160 101 1210 belarus: tel. +375 17 220 0733, fax. +375 17 220 0773 belgium: see the netherlands brazil: see south america bulgaria: tel. +359 268 9211, fax. +359 268 9102 canada: tel. +1 800 234 7381 china/hong kong: tel. +852 2 319 7888, fax. +852 2 319 7700 colombia: see south america czech republic: see austria denmark: tel. +45 3 288 2636, fax. +45 3 157 0044 finland: tel. +358 961 5800, fax. +358 96 158 0920 france: tel. +33 14 099 6161, fax. +33 14 099 6427 germany: tel. +49 40 23 5360, fax. +49 402 353 6300 hungary: see austria india: tel. +91 22 493 8541, fax. +91 22 493 8722 indonesia: see singapore ireland: tel. +353 17 64 0000, fax. +353 17 64 0200 israel: tel. +972 36 45 0444, fax. +972 36 49 1007 italy: tel. +39 039 203 6838, fax +39 039 203 6800 japan: tel. +81 33 740 5130, fax. +81 3 3740 5057 korea: tel. +82 27 09 1412, fax. +82 27 09 1415 malaysia: tel. +60 37 50 5214, fax. +60 37 57 4880 mexico: tel. +9-5 800 234 7381 middle east: see italy netherlands: tel. +31 40 278 2785, fax. +31 40 278 8399 new zealand: tel. +64 98 49 4160, fax. +64 98 49 7811 norway: tel. +47 22 74 8000, fax. +47 22 74 8341 philippines: tel. +63 28 16 6380, fax. +63 28 17 3474 poland: tel. +48 22 5710 000, fax. +48 22 5710 001 portugal: see spain romania: see italy russia: tel. +7 095 755 6918, fax. +7 095 755 6919 singapore: tel. +65 350 2538, fax. +65 251 6500 slovakia: see austria slovenia: see italy south africa: tel. +27 11 471 5401, fax. +27 11 471 5398 south america: tel. +55 11 821 2333, fax. +55 11 829 1849 spain: tel. +34 33 01 6312, fax. +34 33 01 4107 sweden: tel. +46 86 32 2000, fax. +46 86 32 2745 switzerland: tel. +41 14 88 2686, fax. +41 14 81 7730 taiwan: tel. +886 22 134 2865, fax. +886 22 134 2874 thailand: tel. +66 27 45 4090, fax. +66 23 98 0793 turkey: tel. +90 216 522 1500, fax. +90 216 522 1813 ukraine: tel. +380 44 264 2776, fax. +380 44 268 0461 united kingdom: tel. +44 208 730 5000, fax. +44 208 754 8421 united states: tel. +1 800 234 7381 uruguay: see south america vietnam: see singapore yugoslavia: tel. +381 11 3341 299, fax. +381 11 3342 553 for all other countries apply to: philips semiconductors, international marketing & sales communications, building be, p.o. box 218, 5600 md eindhoven, the netherlands, fax. +31 40 272 4825 internet: http://www.semiconductors.philips.com (sca69)
? philips electronics n.v. 2000. printed in the netherlands all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. date of release: 23 march 2000 document order number: 9397 750 06895 contents philips semiconductors ISP1130 usb compound hub with keyboard controller 1 general description . . . . . . . . . . . . . . . . . . . . . . 1 2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 ordering information . . . . . . . . . . . . . . . . . . . . . 2 4 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 5 pinning information . . . . . . . . . . . . . . . . . . . . . . 4 5.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 functional description . . . . . . . . . . . . . . . . . . . 7 6.1 80c51 microcontroller. . . . . . . . . . . . . . . . . . . . 8 6.2 analog transceivers . . . . . . . . . . . . . . . . . . . . . 8 6.3 philips serial interface engine (sie). . . . . . . . . 8 6.4 hub repeater. . . . . . . . . . . . . . . . . . . . . . . . . . . 8 6.5 end-of-frame timers . . . . . . . . . . . . . . . . . . . . . 8 6.6 general and individual port controller . . . . . . . . 8 6.7 goodlink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 6.8 softconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 6.9 bit clock recovery . . . . . . . . . . . . . . . . . . . . . . 10 6.10 voltage regulator . . . . . . . . . . . . . . . . . . . . . . 10 6.11 pll clock multiplier. . . . . . . . . . . . . . . . . . . . . 10 6.12 overcurrent detection . . . . . . . . . . . . . . . . . . . 10 6.13 power-on reset . . . . . . . . . . . . . . . . . . . . . . . . 10 6.14 i 2 c-bus interface. . . . . . . . . . . . . . . . . . . . . . . 10 7 endpoint descriptions . . . . . . . . . . . . . . . . . . . 11 7.1 endpoint configuration . . . . . . . . . . . . . . . . . . 11 7.2 hub endpoint 0 (control) . . . . . . . . . . . . . . . . . 12 7.3 hub endpoint 1 (interrupt). . . . . . . . . . . . . . . . 12 8 host requests . . . . . . . . . . . . . . . . . . . . . . . . . . 13 8.1 standard requests . . . . . . . . . . . . . . . . . . . . . 13 8.2 hub specific requests . . . . . . . . . . . . . . . . . . . 14 8.3 descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 8.4 hub responses . . . . . . . . . . . . . . . . . . . . . . . . 19 9 commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 9.1 initialization commands . . . . . . . . . . . . . . . . . 24 9.2 data flow commands . . . . . . . . . . . . . . . . . . . 25 9.3 general commands . . . . . . . . . . . . . . . . . . . . 30 10 keyboard controller. . . . . . . . . . . . . . . . . . . . . 34 10.1 microcontroller core . . . . . . . . . . . . . . . . . . . . 34 10.2 memory map. . . . . . . . . . . . . . . . . . . . . . . . . . 34 10.3 special function registers (sfrs) . . . . . . . . . . 35 10.4 hub control registers. . . . . . . . . . . . . . . . . . . . 39 10.5 interrupt structure . . . . . . . . . . . . . . . . . . . . . . 39 10.6 timers/counters . . . . . . . . . . . . . . . . . . . . . . . 40 10.7 watchdog timer. . . . . . . . . . . . . . . . . . . . . . . . 42 10.8 i/o description. . . . . . . . . . . . . . . . . . . . . . . . . 44 10.9 i/o port mapping . . . . . . . . . . . . . . . . . . . . . . . 44 10.10 keyboard matrix implementation . . . . . . . . . . 44 10.11 suspend and resume . . . . . . . . . . . . . . . . . . . 45 11 i 2 c-bus interface. . . . . . . . . . . . . . . . . . . . . . . . 46 11.1 protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 11.2 hardware connections . . . . . . . . . . . . . . . . . . 47 11.3 data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . 48 12 hub power modes . . . . . . . . . . . . . . . . . . . . . . 52 12.1 voltage drop requirements . . . . . . . . . . . . . . . 52 13 overcurrent detection . . . . . . . . . . . . . . . . . . . 53 13.1 overcurrent circuit description . . . . . . . . . . . . 53 13.2 power switch selection . . . . . . . . . . . . . . . . . . 53 13.3 tuning the overcurrent trip voltage . . . . . . . . . 53 13.4 reference circuit . . . . . . . . . . . . . . . . . . . . . . . 54 14 limiting values . . . . . . . . . . . . . . . . . . . . . . . . . 55 15 static characteristics . . . . . . . . . . . . . . . . . . . . 56 16 dynamic characteristics . . . . . . . . . . . . . . . . . 57 17 application information. . . . . . . . . . . . . . . . . . 58 18 test information . . . . . . . . . . . . . . . . . . . . . . . . 59 19 package outline . . . . . . . . . . . . . . . . . . . . . . . . 60 20 soldering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 20.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 62 20.2 surface mount packages . . . . . . . . . . . . . . . . 62 20.3 through-hole mount packages . . . . . . . . . . . . 63 20.4 package related soldering information . . . . . . 64 21 revision history . . . . . . . . . . . . . . . . . . . . . . . . 65 22 data sheet status . . . . . . . . . . . . . . . . . . . . . . . 66 23 definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 24 disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 25 licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 26 trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . . 66


▲Up To Search▲   

 
Price & Availability of ISP1130

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X