You are on page 1of 44

8-BIT MCUs for Universal Serial Bus Peripherals

PRODUCT PREVIEW

JANUARY 1998

USE IN LIFE SUPPORT DEVICES OR SYSTEMS MUST BE EXPRESSLY AUTHORIZED. SGS-THOMSON PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF SGS-THOMSON Microelectronics. As used herein: 1. Life support devices or systems are those which (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided with the product, can be reasonably expected to result in significant injury to the user. 2. A critical component is any component of a life support device or system whose failure to perform can reasonably be expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.

TABLE OF CONTENTS

INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 PRODUCT SUMMARY . . . . . . . . . . . . . . . . . . . . . . .7 ST7277 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 ST7263 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 ST72671 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 ST92161 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 ST92162 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 ST92163 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 ST92164 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 APPLICATION NOTE . . . . . . . . . . . . . . . . . . . . . . .35 APPLICATION EXAMPLES . . . . . . . . . . . . . . . . . .37

8/16-BIT MCUs

FOR UNIVERSAL SERIAL BUS (USB) DEVICES & HUBS


INTRODUCTION The USB (Universal Serial Bus) is an industry standard that brings Plug and Play technology to PC peripherals such as keyboards, mouse, scanners, modems, monitors, multimedia devices, etc... What characterises USB is the ease of use. No need to worry about the type of connectors to use, the drivers to load, the configuration to select, everything is performed automatically using a unique type of connector. Peripherals are detected and configured automatically anytime they are physically attached to the host. The OS then loads the corresponding drivers. The USB topology is made up of 3 items: A single host embedded in the PC which controls all the transactions. Hubs which provide connecting ports and power (if needed). Devices which represent a collection of functions. The system allows up to 127 functions.

HUB Kbd

HUB Monitor

HOST/HUB PC

Mouse
DEVICE

Phone
DEVICE

Speakers DEVICE

Printer
DEVICE

Figure 1. USB Topology Example

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

5/44

8/16-BIT MCUs

SGS-THOMSONs new 8-bit microcontrollers offer a wide range of dedicated solutions for USB. These highly integrated USB microcontrollers are based on two different cores and a wide library of peripherals. These optimize the cost and performance of SGS-THOMSON microcontrollers for the targeted applications.
s s

The low speed USB families are based on the ST7 core. The full speed USB families are based on the ST9 core.

Together with our tailormade microcontrollers, SGS-THOMSON provides complete solutions that include a library of software such as generic drivers for low speed, full speed functions and HUBs. All products are available in EPROM versions for development, OTP versions for preproduction and ROM versions for production.

Figure 2. ST72E77 USB Microcontroller

6/44

8/16-BIT MCUs

PRODUCT SUMMARY
USB Family ROM RAM Peripherals Low Speed Interface Full Speed interface HUB Function Package Target Market Availability

ST7277

Sync pro, DDC, 512I2C, PWM, ADC, 16-2478032-48 SCI, Timer, 1.5K-60K Infra Red, Power 1K-2K on-off Timer, ADC, SCI, I2C, Power on-off Timer, ADC, SCI, I2C, DAC with PWM outputs I2C, UART (software), Watchdog Timer

2 end points

SDIP56 QFP64

Monitor

EPROM now, OTP now, ROM Q1 98

ST7263

4-8 -16K

256512

3 end points

SO34 SDIP32

Low Speed device with multiple interfaces Low Speed device HUB with one embedded interface HUB Keyboard with embedded interfaces Full Speed USB composite peripherals

EPROM Q2 98 OTP Q3 98 ROM Q4 98 EPROM now, OTP now, ROM Q1 98 EPROM Q1 98, OTP Q2 98, ROM Q3 98 EPROM Q1 98, OTP Q2 98, ROM Q4 98

ST7267x

1632K

5121K

2 endpoints

SDIP56 QFP64

ST92161

6K

256

4 end points

4 down streams

SO34 SDIP42

ST92162

8K

256

Watchdog Timer I2C, SCI, External Memory Access, Multifunction Timer, Watchdog Timer, ADC

4 end points

3 down streams

SDIP56 QFP64

ST92163

16K

2K

16 end points

SDIP56 QFP64

EPROM Q1 98, OTP Q2 98, ROM Q4 98

ST92164

8K

512

I2C, SCI, Watchdog Timer

8 end points

4 down streams

SDIP56 QFP64

HUB devices with multiple em- EPROM Q1 98, bedded interfac- OTP Q2 98, es (e.g. Monitors, ROM Q4 98 Audio...)

7/44

8/16-BIT MCUs

DEVELOPMENT TOOLS A full range of development tools is available, including In-Circuit Emulators, OTP/EPROM programming boards and Gang programmers for each device. Software development tools include Assembly Language and C Language programming suites, as well as a proprietary Windows Debugger and a third party Debugger. All tools are developed and produced by SGS-THOMSON, ensuring that a complete set of tools (emulators, EPROM programmers, gang programmers) are ready as soon as silicon is available and that continuous hardware and software updating are performed. Development tools, training and installation are provided by SGS-THOMSON..

Debugger, C Compiler Real time Emulator

OTP/EPROM Programmer (gang and EPB)

Evaluation Kit (demoboard) Documentation

Figure 3. Development Tools

APPLICATION SUPPORT Although USB makes life easy for the user, it is because of its underlying complexity. As a result, it appears that it is difficult for PC peripheral manufacturers to implement the technology. It requires different types of expertise. SGS-THOMSON can contribute to make this implementation as easy as possible for its customers. We offer various types of support. It starts with open, modular software such as generic USB drivers for low or full speed devices and hubs. They are written in C and fully documented. Full demo software, provides complete solutions for typical applications (e. g. monitor, mouse, audio etc.) including a host DLL and user interface. Customized software can also be developed. SGS-THOMSON provides complete training on USB, ST USB devices and ST software. In addition SGS-THOMSON can provide its expertise to support customers performing plug tests for USB compliance.
1 pfli LJ9 \og\ik
8/44

ST7277
PRODUCT PREVIEW

8-BIT USB MCU FOR MONITORS WITH UP TO 60K ROM, 2K RAM, ADC, TIMER, INFRA RED, SYNC, PWM/BRM, DDC/DMA, I2C & SCI
s s s

s s s

s s

s s s s s s s

s s s s

User ROM: up to 60 KBytes Data RAM: up to 2 KBytes (256 Bytes stack) 8 MHz Maximum Internal Clock Frequency in fast mode, 4 MHz in normal mode Run, Wait and Halt CPU modes RAM Retention Mode Sync Processor for Mode Recognition, power management and composite video blanking, clamping and free-running frequency generation. Corrector mode Analyzer mode USB (Universal Serial Bus) for monitor function compliant with USB 1.5Mbs specification version 1.0 and USB HID specification version 1.0 Integrated 3.3V voltage regulator & transceiver Suspend and Resume operations Fast I2C Multi Master Interface DDC Bus Interface fully compliant with DDC1, 2B, 2B+, 2AB, 2Bi standards 32 I/O lines 8 Open Drain I/Os with high current capacity (10 mA) on port A 5 lines programmable as interrupt inputs 16-bit timer with 2 input captures and 2 output compare functions (with 1 output pin) 8-bit Analog to Digital Converter with 8 channels on port B 8 10-bit PWM/BRM Digital to Analog outputs One 12-bit PWM/BRM Digital to Analog output Asynchronous Serial Communications Interface Infra red controller Master Reset and Power on/off reset Programmable Watchdog for system reliability 56-pin Shrink Dual In line Plastic package or 64pin Plastic Quad Flat Pack Fully static operation 0 to + 70 oC Operating Temperature Range 4.0V to 5.5V supply operating range 24 MHz Quartz Oscillator

PQFP64

PSDIP56

63 basic instructions/17 main address modes 8x8 unsigned multiply instruction s True bit manipulation s Versatile Development Tools (DOS and Windows) including assembler, linker, Ccompiler, archiver, source level debugger, and hardware emulator Device Summary
s s

PSDIP56 PQFP64 ROM RAM ADC 16-Bit Timer I2C Bus DDC/DMA Sync Pro PWM I/O USB IR SCI EPROM Device

ST72771N9 ST72771R9 60K 2K

N7 R7 48K 1.5K

N6 R6 32K 1K

N5 R5 24K 768

N4 R4 16K 512

8 channels 1 one multimaster yes yes 9 32 yes yes yes ST72E771N9D1 (CSDIP56) or ST72E771R9G1 (CQFP64)

January 1998

Rev. 1.2 9

9/44

This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

ST7277

GENERAL DESCRIPTION
INTRODUCTION The ST7277 is a HCMOS microcontroller unit (MCU) from the ST7 family with dedicated peripherals for Monitor applications. It is based around an industry standard 8-bit core and offers an enhanced instruction set. The processor runs with an external clock at 24 MHz with a 5V (typical) supply. Due to the fully static design of this device, operation down to DC is possible. Under software control the ST7277 can be placed in WAIT or HALT mode thus reducing power consumption. The enhanced instruction set and addressing modes afford real programming potential. In addition to standard 8-bit data management the ST7 features true bit manipulation, 8x8 unsigned multiplication and indirect addressing modes. The device includes an ST7 core, an on-chip oscillator, Sync Processor for video timing & Vfback analysis, up to 60K ROM, up to 2K RAM, USB/ DMA, I/O, a timer with 2 input captures and 2 output compares, an 8-channel Analog to Digital Converter, DDC/DMA, I2C multi Master, SCI Serial Communications Interface, Watchdog Reset, an Infra Red Control preprocessor, and one 12-bit and eight 10-bit PWM/BRM outputs for analog DC control of external functions.

Figure 1. ST7277 Block Diagram


PORT A

PA0-PA6 PA7/BLANKOUT VD D A VS S A

Up to 60K Bytes ROM ADC PORT B Up to 2K Bytes RAM INFRA RED


AIN 0-AIN7

PB1..7/ AIN1..7 PB0/ VFBACK/AIN0 IRIN USBV C C USBDP USBDM USBGND PC7/TDO PC6/RDI PC5/SDAI PC4/SCLI PC3/SDAD PC2/RX/SCLD PC1/HSYNCI2 PC0/OCMP/HFBACK RESET

ADDRESS / DATA BUSES

USB SIE IC
SDAI
HSYNCI2

TDO

SCI (UART)

USB DMA

PORT C
OCMP

DDC DMA

TIMER
HFBACK/VFBACK

WATCH D OG
H/CSYNC VSYNC

CONTROL 8-BIT CORE ALU


PCL PCH SP X Y A CC
SYNC PROCESSOR

RDI

DDC

SCLI

SCLD SDAD

VSYNCI1 HSYNCI1 PD7/VSYNCI2 PD6/CLAMPOUT PD5/ITA PD4/ITB PD3/ITC PD2/VSYNCO PD1/HSYNCO PD0/CSYNCI DA0 DA1,DA8
VSYNCO CLAMPOUT

POWER ON/OFF PORT D POWER SUPPLY INTERNAL CLOCK OSC /3 or 6 PWM/BRM

V DD V SS OSCIN OSCOUT

CSYNCI

HSYNCO

VSYNCI2

VR01735Q

10/44

10

ST72E77 ST72T77
PRODUCT PREVIEW

8-BIT MCU FOR MONITORS WITH 60K EPROM/OTP, 2K RAM, ADC, TIMER, INFRA RED, USB, SYNC, PWM/BRM, DDC/DMA, I2C & SCI
s s s

s s s

s s

s s s s s s s s s s s

User EPROM/OTP: 60 KBytes Data RAM: 2 KBytes (256 Bytes stack) 8 MHz Maximum Internal Clock Frequency in fast mode, 4 MHz in normal mode Run, Wait and Halt CPU modes RAM Retention Mode Sync Processor for Mode Recognition, power management and composite video blanking, clamping and free-running frequency generation. Corrector mode Analyzer mode USB (Universal Serial Bus) for monitor function compliant with USB 1.5Mbs specification version 1.0 and USB HID specification version 1.0 Integrated 3.3V voltage regulator & transceiver Suspend and Resume operations Fast I2C Multi Master Interface DDC Bus Interface fully compliant with DDC1, 2B, 2B+, 2AB, 2Bi standards 32 I/O lines 8 Open Drain I/Os with high current capacity (10 mA) on port A 5 lines programmable as interrupt inputs 16-bit timer with 2 input captures and 2 output compare functions (with 1 output pin) 8-bit Analog to Digital Converter with 8 channels on port B 8 10-bit PWM/BRM Digital to Analog outputs One 12-bit PWM/BRM Digital to Analog output Asynchronous Serial Communications Interface Infra red controller Master Reset and Power on/off reset Programmable Watchdog for system reliability 56-pin DIL package or 64-pin Quad Flat Pack 0 to + 70 oC Operating Temperature Range 4.0V to 5.5V supply operating range 24 MHz Quartz Oscillator Versatile Development Tools (DOS and Windows) including assembler, linker, Ccompiler, archiver, source level debugger, hardware emulator and programmers

PSDIP56

PQFP64

CSDIP56

CQFP64

Device Summary
Sales type ST72E771N9D1 ST72E771R9G1 ST72T771N9B1 ST72T771R9Q1 Program Memory 60K EPROM 60K OTP RAM Package CSDIP56 CQFP64 PSDIP56 PQFP64

2K

Rev. 1.2
January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

11/44

11

ST72E77 ST72T77

Notes:

12/44

12

ST7263
LOW SPEED USB 8-BIT MCU WITH UP TO 16K ROM, UP TO 512 Bytes RAM, ADC, TIMER, SCI, I2C
PRODUCT PREVIEW

s s s s s

s s s

s s s s s s s

User ROM: up to 16 KBytes Data RAM: up to 512 Bytes (256 Bytes stack) 8 MHz Maximum Internal Clock Frequency Run, Wait and Halt CPU modes USB (Universal Serial Bus) for low speed applications compliant with USB 1.5Mbs specification version 1.0 and USB HID specification version 1.0; Integrated 3.3V voltage regulator and transceivers Suspend and Resume operations 2 or 3 End Points I2C slave interface up to 400 kHz (ST7263-3 only) 20 I/O lines 8 I/O high current (Port B: 10mA at 1.3v) 2 I/O very high current (Port A1 and Port A2: 25mA at 1.3v) 8 lines programmable as interrupt inputs IT1, IT2,IT5, IT6 (rising edge) and IT3, IT4, IT7,IT8 (falling edge) 16-bit timer with 2 input captures and 2 output compare functions and one external clock. 8-bit Analog to Digital Converter with 8 channels on port B1 Asynchronous Serial Communications Interface (SCI)1 Power on/off reset Programmable Watchdog for system reliability1 32-pin Shrink Dual In line Plastic package or 34pin SO package Fully static operation 0 to + 70 oC Operating Temperature Range 4.0V to 5.5V supply operating range 24 MHz Quartz Oscillator 63 basic instructions/17 main address modes 8x8 unsigned multiply instruction True bit manipulation

PSO34

PSDIP32

Versatile Development Tools (DOS and Windows) including assembler, linker, C-compiler, archiver, source level debugger, and hardware emulators.

Except ST7263-3 Device Summary


Peripherals ROM RAM (Bytes) USB endpoints I C SCI 16-bit timer Watchdog 8-bit ADC channels Power On/Off I/Os Ext. Interrupts Package
2

ST7263-3 ST7263-2 ST7263-1 4K 256 2 1 yes 20 8 SO34/ SDIL32 8K 256 3 1 1 1 8 yes 20 8 SO34/ SDIL32 16K 512 3 1 slave 1 1 1 8 yes 20 8 SO34/ SDIL32

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

13/44

13

ST7263

GENERAL DESCRIPTION
INTRODUCTION The ST7263 is a HCMOS microcontroller unit (MCU) from the ST7 family with two or three USB endpoints for low speed peripheral applications requiring multiple interfaces. It is based around an industry standard 8-bit core and offers an enhanced instruction set. The processor runs with an external clock at 24 MHz with a 5V (typical) supply. Due to the fully static design of this device, operation down to DC is possible. Under software control, the ST7263 can be placed in WAIT or HALT mode thus reducing power consumption. The enhanced instruction set and addressing modes afford real programming potential. In addition to standard 8-bit data management the ST7 features true bit manipulation, 8x8 unsigned multiplication and indirect addressing modes. Figure 1. ST7263 Block Diagram
PA0/CPUCLK PA1/SDA PA2/SCL PA3/EXTCLK PA4/ICAP1/IT1 PA5/ICAP2/IT2 PA6/OCMP1/IT3 PA7/OCMP2/IT4

The ST7263-1 device includes an ST7 core, an on-chip oscillator, USB interface with DMA, up to 16K ROM, up to 512 Bytes RAM, I/Os, a timer with 2 input captures and 2 output compares, an 8channel Analog to Digital Converter, Watchdog Reset, an I2C bus slave interface and a Serial Communications Interface (SCI). The ST7263-2 is the same as the ST7263-1 but with 8K ROM, 256 Bytes RAM and without I2C interface. The ST7263-3 is the same as the ST7263-2 but with 4K ROM, 2 USB endpoints and without SCI, Watchdog and ADC.

PORT A
SDA SCL

up to 16 KBytes ROM IC

ICAP1 ICAP2

TIMER up to 512 Bytes RAM


EXTCLK

OCMP1 OCMP2

ADDRESS / DATA BUSES

ADC PORT B

AIN0-AIN7

USB DMA

PB0/AIN0 PB1/AIN1 PB2/AIN2 PB3/AIN3 PB4/AIN4/IT5 PB5/AIN5/IT6 PB6/AIN6/IT7 PB7/AIN7/IT8 USBDP USBDM
TDO RDI

USB SIE

SCI (UART)

PORT C

PC0/RDI PC1/TD0 PC2/USBOE PC3 NRESET

CONTROL 8-BIT CORE ALU


PCL PCH SP X Y A

WATCHDOG

CC

VDDA VSSA
POWER ON/OFF

OSC /3
INTERNAL CLOCK

POWER SUPPLY

OSCIN OSCOU T VDD VSS

14/44

14

ST72E63
LOW SPEED USB 8-BIT MCU WITH 16K EPROM/OTP, 512 Bytes RAM, ADC, TIMER, SCI, I2C
PRODUCT PREVIEW

s s s s s s

s s

s s s s

s s s s s s s

User EPROM/OTP: 16K Bytes Data RAM: 512 Bytes (256 Bytes stack) 8 MHz Maximum Internal Clock Frequency Run, Wait and Halt CPU modes RAM Retention Mode USB (Universal Serial Bus) for low speed applications compliant with USB 1.5Mbs specification version 1.0 and USB HID specification version 1.0; Integrated 3.3V voltage regulator and transceivers Suspend and Resume operations 3 End Points Multimaster I2C Interface up to 400 kHz 20 I/O lines 8 I/O high current (Port B: 10mA at 1.3v) 2 I/O very high current (Port A1 and Port A2: 25mA at 1.3v) 8 lines programmable as interrupt inputs IT1, IT2,IT5, IT6 (rising edge) and IT3, IT4, IT7,IT8 (falling edge) 16-bit timer with 2 input captures and 2 output compare functions and one external clock. 8-bit Analog to Digital Converter with 8 channels on port B Asynchronous Serial Communications Interface Power on/off reset Programmable Watchdog for system reliability 32-pin Shrink Dual In line Plastic package or 34pin SO package Fully static operation 0 to + 70 oC Operating Temperature Range 4.0V to 5.5V supply operating range 24 MHz Quartz Oscillator 63 basic instructions/17 main address modes 8x8 unsigned multiply instruction True bit manipulation

PSO34

PSDIP32

CSDIP32

Versatile Development Tools (DOS and Windows) including assembler, linker, Ccompiler, archiver, source level debugger, and hardware emulator, programming boards and gang programmers.

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

15/44

15

Notes:

16/44

16

ST72671
PRODUCT PREVIEW

8-BIT LOW SPEED USB MCU WITH 16K TO 32K ROM, 512 BYTES TO 1K RAM, ADC, DAC (PWM), TIMER, I2C AND SCI
s s

s s s

s s

s s s s s s s s s s

User ROM/OTP/EPROM: 16K to 32K Bytes Data RAM: 512 Bytes to 1K Byte (256 Bytes stack) 8 MHz Maximum Internal Clock Frequency in fast mode, 4 MHz in normal mode Run, Wait and Halt CPU modes RAM Retention Mode USB (Universal Serial Bus) for low speed applications compliant with USB 1.5Mbs specification version 1.0 and USB HID specification version 1.0 Integrated 3.3V voltage regulator & transceiver Suspend and Resume operations Fast I2C Multi Master Interface 34 I/O lines 5 lines programmable as interrupt inputs 8 Open Drain I/Os with high current capacity 16-bit Timer with 2 Input Capture and 2 Output Compare functions 8-bit Analog to Digital Converter with 8 channels on port B Four 10-bit Digital to Analog Converter channels with PWM output, one 12-bit Digital to Analog Converter channel with PWM output Asynchronous Serial Communications Interface (SCI) Power on/off reset Programmable Watchdog Fully static operation 0 to + 70 oC Operating Temperature Range 4.0V to 5.5V supply operating range 24 MHz Quartz Oscillator 63 basic instructions/17 main address modes 8x8 unsigned multiply instruction True bit manipulation Versatile Development Tools (DOS and Windows) including assembler, linker, Ccompiler, archiver, source level debugger, and hardware emulator

PSDIP56

CSDIP56

TQFP64

Device Summary
Features ROM (Bytes) RAM (Bytes) USB 10-Bit D/A Converter 12-Bit D/A Converter A/D Converter 16-Bit Timer I2C Bus I/Os CPU Frequency Package EPROM Device OTP Device ST72671N4 16K 512 ST72671N6 32K 1K

yes 4 channels 1 channel 8 channels 1 1 multimaster 34 8 MHz max QFP64 - SDIP56 ST72E671N6 ST72T671N6

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

17/44

17

ST72671

GENERAL DESCRIPTION
INTRODUCTION The ST72671 series is a HCMOS microcontroller unit (MCU) from the ST7 family with 2 endpoints for low speed USB peripheral applications. It is based around an industry standard 8-bit core and offers an enhanced instruction set. The processor runs with an external clock up to 24 MHz with a 5V (typical) supply. Due to the fully static design of this device, operation down to DC is possible. Under software control the ST72671 can be placed in WAIT or HALT mode thus reducing power consumption. The enhanced instruction set and addressing modes afford real programming potential. Figure 1. ST72671 Block Diagram In addition to standard 8-bit data management the ST7 features true bit manipulation, 8x8 unsigned multiplication and indirect addressing modes on the whole memory. The device includes an ST7 core, an on-chip oscillator, 16K to 32K ROM/OTP/EPROM, 512 bytes to 1K RAM, USB, 34 I/O lines, a Timer with 2 Input Captures and 2 Output Compares, an 8-channel A/D Converter, an I2C multimaster interface, an SCI Serial Communications Interface, a Watchdog Reset, four 10-bit and one 12-bit D/A Converter with PWM output.

ROM (16K to 32K Bytes) or OTP/EPROM (32K Bytes) RAM (512 to 1K Bytes) USB DMA

PORT A PORT B

PA0-PA7

PB1-PB7/AIN1-AIN7 PB0/AIN0 ADC USBVCC USBDP USBDM USGGND PC0/OCMP PC1/ICAP1 PC2/RX PC3 PC4/SCLI PC5/SDAI PC6/RDI PC7/TDO ICAP1 ICAP2 PD0-PD2 PD3/ITC PD4/ITB PD5/ITA PD6-PD7/ICAP2

USB SIE

ADDRESS AND DATA BUS

PORT C

RESET

CONTROL 8-BIT CORE ALU

I2C
SCI

WATCHDOG

TIMER

OSCIN OSCOUT VDD VSS VDDA VSSA

Internal Mode CLOCK OSC :3 Selection

PORT D

POWER SUPPLY DAC (PWM) DA0-DA4

VR02120C

18/44

18

ST92161
8/16-BIT MCU FOR USB HUB DEVICES WITH EMBEDDED USB INTERFACE, 6K ROM, 256 Bytes RAM & I2C
PRODUCT PREVIEW

s s s s

s s

s s s s s

Internal Memories: 6 KBytes ROM, 256 Bytes RAM. Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0 with the following capabilities: USB HUB with 4 downstream ports supporting power management (ganged or per-port power switching and overcurrent detection) including suspend and resume for bus-powered applications. USB Embedded Interface with two additional endpoints (buffer size programmable) On-chip USB Transceivers and 3.3 voltage regulator. Slave I2C-bus serial interface up to 400 kHz Watchdog Timer 11 Fully programmable I/Os. 4 external interrupts used for overcurrent sensing on downstream ports Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz). Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range 34-pin SO34 package, 42-pin SDIP42 package Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, and Real Time Operating System

PSDIP42

PSO34

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

19/44

19

ST92161

GENERAL DESCRIPTION
INTRODUCTION The ST92161 series is a HCMOS microcontroller unit (MCU) from the ST9 family for USB hub applications. It provides 2 endpoints for the HUB upstream port and 4 downstream ports. Two additional endpoints are available for a USB function that can be used, for example, to implement an embedded adapter to a non-USB peripheral. The 8/16-bit ST9 core uses a flexible 256-register programming model for ultra-fast context switching and real-time event response. The intelligent Figure 1. ST92161 Architectural Block Diagram on-chip peripherals offload the ST9 core from I/O and data management processing tasks allowing critical application tasks to get the maximum use of core resources. The ST9 MCU devices support low power consumption and low voltage operation for power-efficient and low-cost embedded systems. The device includes an ST9 core, on-chip oscillator, 6K ROM, 256 Bytes RAM, USB Hub, 11 I/O lines, a Watchdog Timer and an I2C interface.

6K Bytes ROM 256 Bytes RAM USBGND USBVCC USBDM [4:0] USBDP [4:0] USB HUB with 4 EP With 4 Down Streams REGISTER BUS MEMORY BUS

Fully Prog. I/Os

P5[7:0]

Fully Prog. I/Os

P6[2:0]

I2C BUS Interf.

SDA SCL

256 Bytes Register File 8/16 bits CPU

WATCHDOG TIMER

WDIN WDOUT
OSCIN OSCOUT RESET INTCLK

INT[6:0] NMI

Interrupt Management ST9+ CORE

RCCU

All alternate functions (Italic characters) are mapped on Port5 and Port6

20/44

20

ST92E161 ST92T161

8/16-BIT MCU FOR USB HUB DEVICES WITH EMBEDDED USB INTERFACE, 6K EPROM/OTP, 256 Bytes RAM & I2C
PRODUCT PREVIEW
s

s s s s

s s

s s s s s

Internal Memories: 6 KBytes EPROM/OTP, 256 Bytes RAM. Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0 with the following capabilities: USB HUB with 4 downstream ports supporting power management (ganged or per-port power switching and overcurrent detection) including suspend and resume for bus-powered applications. USB Embedded Interface with two additional endpoints (buffer size programmable) On-chip USB Transceivers and 3.3 voltage regulator. Slave I2C-bus serial interface up to 400 kHz Watchdog Timer 11 Fully programmable I/Os. 4 external interrupts used for overcurrent sensing on downstream ports Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz). Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range 42-pin plastic/ceramic SDIP42 package Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, programmers and Real Time Operating System

PSDIP42

CSDIP42

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

21/44

21

ST92E161 ST92T161

Figure 1. ST92E161/ST92T161 Architectural Block Diagram

6K Bytes EPROM/OTP 256 Bytes RAM USBGND USBVCC USBDM [4:0] USBDP [4:0] USB HUB with 4 EP With 4 Down Streams REGISTER BUS MEMORY BUS

Fully Prog. I/Os

P5[7:0]

Fully Prog. I/Os

P6[2:0]

I2C BUS Interf.

SDA SCL

256 Bytes Register File 8/16 bits CPU

WATCHDOG TIMER

WDIN WDOUT
OSCIN OSCOUT RESET INTCLK

INT[6:0] NMI

Interrupt Management ST9+ CORE

RCCU

All alternate functions (Italic characters) are mapped on Port5 and Port6

22/44

22

ST92162
PRODUCT PREVIEW

8/16-BIT MCU FOR USB HUB KEYBOARDS WITH EMBEDDED USB INTERFACES, 8K ROM & 256 BYTES RAM
s

s s

s s

s s s

s s

Internal Memories: 8 KBytes ROM, 256 Bytes RAM. Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0 with the following capabilities: USB HUB with 3 downstream ports supporting power management (ganged or per-port power switching and overcurrent detection) including suspend and resume for bus-powered applications USB Embedded Functions with two additional endpoints (buffer sizes programmable) On-chip USB Transceivers and 3.3 voltage regulator. 7 external interrupts: 3 used for overcurrent sensing on downstream port,1 (Ored on 8 ports) used for keyboard activity detection (with wakeup capability) and 3 left for user application. Watchdog timer 37 Fully programmable I/Os with 5 high current pads (10 mA @ 1 V) Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz). Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range 56-pin Shrink Dual In-Line plastic package or 64-pin Quad Flat Pack plastic package Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, and Real Time Operating System

PSDIP56

PQFP64

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

23/44

23

ST92162

GENERAL DESCRIPTION
INTRODUCTION The ST92162 series is a HCMOS microcontroller unit (MCU) from the ST9 family for USB hub keyboard applications. It provides 2 endpoints for the hub upstream port and 3 downstream ports. Two additional endpoints are available for a USB function that can be used for example to implement an embedded adapter to a non-USB peripheral. The 8/16-bit ST9 core uses a flexible 256-register programming model for ultra-fast context switching and real-time event response. The intelligent on-chip peripherals offload the ST9 core from I/O Figure 1. ST92162 Architectural Block Diagram and data management processing tasks allowing critical application tasks to get the maximum use of core resources. The ST9 MCU devices support low power consumption and low voltage operation for power-efficient and low-cost embedded systems. The device includes an ST9 core, an on-chip oscillator, CPU, 8K ROM, 256 Bytes RAM, USB Hub, 37 I/O lines, a Watchdog Timer and an I2C interface.

8K Bytes ROM 256 Bytes RAM USBGND USBVCC USBDM [3:0] USBDP [3:0] USB HUB with 4 EP With 3 Down Streams REGISTER BUS MEMORY BUS

Fully Prog. I/Os

P0[7:0]

Fully Prog. I/Os Fully Prog. I/Os

P1[7:0]

P3[7:0]

DSN RWN ASN

256 Bytes Register File 8/16 bits CPU Interrupt Management ST9+ CORE

Fully Prog. I/Os

P5[7:0]

INT[7:0] NMI

Fully Prog. I/Os

P6[5:0]

OSCIN OSCOUT RESET INTCLK

RCCU

WATCHDOG TIMER

WDIN WDOUT

All alternate functions (Italic characters) are mapped on Port3, Port5 and Port6.

24/44

24

ST92E162 ST92T162

8/16-BIT MCU FOR USB HUB KEYBOARDS WITH EMBEDDED USB INTERFACES, 8K EPROM/OTP & 256 Bytes RAM
PRODUCT PREVIEW
s

s s

s s

s s s

s s

Internal Memories: 8 KBytes EPROM/OTP, 256 Bytes RAM Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0 with the following capabilities: USB HUB with 3 downstream ports supporting power management (ganged or per-port power switching and overcurrent detection) including suspend and resume for bus-powered applications USB Embedded Functions with two additional endpoints (one control and one interrupt), with programmable buffer sizes On-chip USB Transceivers and 3.3 voltage regulator. 7 external interrupts: 3 used for overcurrent sensing on downstream port, 1 (Ored on 8 ports) used for keyboard activity detection (with wake-up capability) and 3 left for user application Watchdog timer 37 Fully programmable I/Os with 5 high current pads (10 mA @ 1 V) Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz). Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range 56-pin Shrink Dual In-Line plastic/ceramic package or 64-pin Quad Flat Pack plastic/ ceramic package Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, programmers and Real Time Operating System

PSDIP56

PQFP64

CSDIP56

CQFP64

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

25/44

25

ST92E162 ST92T162

Figure 1. ST92E162/ST92T162 Architectural Block Diagram

8K Bytes EPROM/OTP 256 Bytes RAM USBGND USBVCC USBDM [3:0] USBDP [3:0] USB HUB with 4 EP With 3 Down Streams REGISTER BUS MEMORY BUS

Fully Prog. I/Os

P0[7:0]

Fully Prog. I/Os Fully Prog. I/Os

P1[7:0]

P3[7:0]

DSN RWN ASN

256 Bytes Register File 8/16 bits CPU Interrupt Management ST9+ CORE

Fully Prog. I/Os

P5[7:0]

INT[7:0] NMI

Fully Prog. I/Os

P6[5:0]

OSCIN OSCOUT RESET INTCLK

RCCU

WATCHDOG TIMER

WDIN WDOUT

All alternate functions (Italic characters) are mapped on Port3, Port5 and Port6.

26/44

26

ST92163

8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES WITH 16 END POINTS, 16K ROM, 2K RAM, I2C, SCI & MFT
PRODUCT PREVIEW
s

s s

s s s

s s

s s

Internal Memories: 16 KBytes ROM, 2 KBytes RAM Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0: USB Embedded Functions with 16 fully configurable endpoints (buffer size programmable) and supporting all USB data transfer types (Isochronous included) On-chip USB Transceivers and 3.3 voltage regulator. Master-Slave I2C-bus serial interface up to 400KHz UART with DMA capability up to 315 Kb/s supporting IRDA 115.2 Kb/s specifications Synchronous serial interface with DMA capabilities up to 2 MHz External memory interface with DMA capability from the SIE 7 external interrupts 16-bit Multi-Function Timer (13 operating modes) with DMA capabilities Watchdog timer 4 channels 8-bit Analog to Digital Converter 43 Fully programmable I/Os with 4 high current pads (10 mA @ 1 V) Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz) Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range

PSDIP56

PQFP64

s s

56-pin Shrink Dual In-Line plastic package or 64-pin Quad Flat Pack plastic package Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, and Real Time Operating System

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

27/44

27

ST92163

GENERAL DESCRIPTION
INTRODUCTION The ST92163 is a HCMOS microcontroller unit (MCU) from the ST9 family for USB composite devices. 16 endpoints are available for full speed USB functions. The 8/16-bit ST9 core uses a flexible 256-register programming model for ultra-fast context switching and real-time event response. The intelligent on-chip peripherals offload the ST9 core from I/O and data management processing tasks allowing Figure 1. ST92163 Architectural Block Diagram
16K Bytes ROM 2K Bytes RAM USBGND USBVCC USBDM0 USBDP0 ADDRESS USB with 16 EP MEMORY BUS P1[7:0] ADDRESS DATA P0[7:0]

critical application tasks to get the maximum use of core resources. The ST9 MCU devices support low power consumption and low voltage operation for power-efficient and low-cost embedded systems. The device includes an ST9 core, an on-chip oscillator, CPU, 16K ROM, 2K Bytes RAM, 16 USB endpoints, 43 I/O lines, a Watchdog Timer, SCI, ADC, Multifunction timer and an I2C interface.

ASN DSN WAITN RWN BREQN BACKN INT[7:0] NMI

Fully prog. I/Os Fully prog. I/Os

P3[7:0]

256 Bytes Register File 8/16 bits CPU Interrupt Management ST9+ CORE

P4[3:0]

Fully Prog. I/Os

P5[7:0]

REGISTER BUS

OSCIN OSCOUT RESET INTCLK

RCCU

Fully Prog. I/Os

P6[5:0]

WDIN WDOUT TINPA TINPB TOUTA TOUTB

WATCHDOG TIMER

UART and Sync Comm

TXCLK RXCLK SIN DCD SOUT CLKOUT CTS SDA SCL

MF TIMER

I2C BUS

AIN[3:0]

A/D Converter All alternate functions (Italic characters) are mapped on Ports 3, 4, 5 and 6

28/44

28

ST92E163 ST92T163
PRODUCT PREVIEW

8/16-BIT FULL SPEED USB MCU FOR COMPOSITE DEVICES


WITH 16 END POINTS, 16K EPROM/OTP, 2K RAM, I2C, SCI & MFT
s

s s

s s s

s s

s s s

Internal Memories: 16 KBytes EPROM/OTP, 2 KBytes RAM Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0 with the following capabilities: USB Embedded Functions with 16 fully configurable endpoints (buffer size programmable) and supporting all USB data transfer types (Isochronous included) On-chip USB Transceivers and 3.3 voltage regulator. Master-Slave I2C-bus serial interface up to 400KHz UART with DMA capability up to 315 Kb/s supporting IRDA 115.2 Kb/s specifications Synchronous serial interface with DMA capabilities up to 2 MHz External memory interface with DMA capability from the SIE 7 external interrupts 16-bit Multi-Function Timer (13 operating modes) with DMA capabilities Watchdog timer 4 channels 8-bit Analog to Digital Converter 43 Fully programmable I/Os with 4 high current pads (10 mA @ 1 V) Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz) Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range 56-pin Shrink Dual In-Line plastic/ceramic package or 64-pin Quad Flat Pack plastic/ ceramic package

PSDIP56

PQFP64

CSDIP56

CQFP64

s s

Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, programmers and Real Time Operating System

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

29/44

29

ST92E163 ST92T163

Figure 1. ST92E163/ST92T163 Architectural Block Diagram

16K Bytes EPROM/OTP 2K Bytes RAM USBGND USBVCC USBDM0 USBDP0

ADDRESS DATA

P0[7:0]

ADDRESS USB with 16 EP Fully prog. I/Os 256 Bytes Register File 8/16 bits CPU Interrupt Management ST9+ CORE MEMORY BUS Fully prog. I/Os

P1[7:0]

P3[7:0]

ASN DSN WAITN RWN BREQN BACKN INT[7:0] NMI

P4[3:0]

Fully Prog. I/Os

P5[7:0]

REGISTER BUS

OSCIN OSCOUT RESET INTCLK

RCCU

Fully Prog. I/Os

P6[5:0]

WDIN WDOUT TINPA TINPB TOUTA TOUTB

WATCHDOG TIMER

UART and Synch Comm

TXCLK RXCLK SIN DCD SOUT CLKOUT CTS SDA SCL

MF TIMER

I2C BUS

AIN[3:0]

A/D Converter

All alternate functions (Italic characters) are mapped on Ports 3, 4, 5 and 6

30/44

30

ST92164
PRODUCT PREVIEW

8/16-BIT MCU FOR USB HUB APPLICATIONS WITH MULTIPLE EMBEDDED USB INTERFACES, 8K ROM, 512 BYTES RAM, SCI & I2C
s

s s s

s s

s s

Internal Memories: 8 KBytes ROM, 512 Bytes RAM Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0 with the following capabilities: USB Hub with 4 downstream ports supporting power management (ganged or per-port power switching and overcurrent detection) including suspend and resume for bus-powered applications. USB Embedded Functions with up to 8 fully configurable endpoints (buffer size programmable) and supporting all USB data transfer types (including isochronous and bulk transfers) On-chip USB Transceivers and 3.3 voltage regulator. Master-Slave I2C-bus serial interface up to 400kHz UART with DMA capability up to 315 Kb/s supporting IRDA 115.2 Kb/s specifications Synchronous serial interface with DMA capabilities up to 2 MHz 7 external interrupts Watchdog timer 31 Fully programmable I/Os with 4 high current pads (10 mA @ 1 V) Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz). Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range

PSDIP56

PQFP64

s s

56-pin Shrink Dual In-Line plastic package or 64-pin Quad Flat Pack plastic package Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, and Real Time Operating System

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

31/44

31

ST92164

GENERAL DESCRIPTION
INTRODUCTION The ST92164 is a HCMOS microcontroller unit (MCU) for USB hubs with multiple embedded USB interfaces. Four downstream ports are available and 8 endpoints for embedded high or low speed USB functions. The 8/16-bit ST9 core uses a flexible 256-register programming model for ultra-fast context switching and real-time event response. The intelligent on-chip peripherals offload the ST9 core from I/O and data management processing tasks allowing Figure 1. ST92164 Architectural Block Diagram
8K Bytes ROM 512 Bytes RAM USBGND USBVCC USBDM[4:0] USBDP[4:0] DSN RWN ASN USB HUB with 8 EP with 4 Down Streams MEMORY BUS ADFully Prog. DRESS I/Os P3[7:0] Fully Prog. I/Os

critical application tasks to get the maximum use of core resources. The ST9 MCU devices support low power consumption and low voltage operation for power-efficient and low-cost embedded systems. The device includes an ST9 core, an on-chip oscillator, CPU, 8K ROM, 512 Bytes RAM, 8 USB endpoints, 31 I/O lines, a Watchdog Timer, SCI and an I2C interface.

P0[7:0]

Fully Prog. I/Os

P5[7:0]

256 Bytes Register File 8/16 bits CPU

Fully Prog. I/Os

P6[5:0]

INT[7:0] NMI

Interrupt Management ST9+ CORE UART and SYNC Interf, REGISTER BUS

OSCIN OSCOUT RESET INTCLK

RCCU

TXCLK RXCLK SIN DCD SOUT CLKOUT CTS

WDIN WDOUT

WATCHDOG TIMER

I2C BUS Interf.

SDA SCL

All alternate functions (Italic characters) are mapped on Port3, Port5 and Port6

32/44

32

ST92E164 ST92T164
PRODUCT PREVIEW

8/16-BIT MCU FOR USB HUB APPLICATIONS WITH MULTIPLE EMBEDDED USB INTERFACES, 8K EPROM/OTP, 512 RAM, SCI & I2C
s

s s s

s s

s s

Internal Memories: 8 KBytes EPROM/OTP, 512 Bytes RAM Register oriented 8/16 bit CORE with RUN, WFI, SLOW, HALT and STOP modes 224 general purpose registers available as RAM, accumulators or index pointers (register file) Minimum instruction cycle time: 167 ns (@24 MHz CPU frequency) Full speed USB interface compliant with USB specifications version 1.0 with the following capabilities: USB HUB with 4 downstream ports supporting power management (ganged or per-port power switching and overcurrent detection) including suspend and resume for bus-powered applications. USB Embedded Functions with up to 8 fully configurable endpoints (buffer size programmable) and supporting all USB data transfer types (including isochronous and bulk transfers) On-chip USB Transceivers and 3.3 voltage regulator. Master-Slave I2C-bus serial interface up to 400kHz UART with DMA capability up to 315 Kb/s supporting IRDA 115.2 kb/s specifications Synchronous serial interface with DMA capabilities up to 2 MHz 7 external interrupts Watchdog timer 31 Fully programmable I/Os with 4 high current pads (10 mA @ 1 V) Programmable PLL clock generator (RCCU) using a low frequency external quartz (8 MHz). Rich Instruction Set with 14 Addressing Modes 0 - 24 MHz Cpu clock Operation, 4 - 5.5 Volt voltage range Division-by-zero trap generation 0 oC to 70 oC temperature range

PSDIP56

PQFP64

CSDIP56

CQFP64
s

s s

56-pin Shrink Dual In-Line plastic/ceramic package or 64-pin Quad Flat Pack plastic/ ceramic package Low EMI design supporting single sided PCB Versatile Development Tools, including assembler, linker, C-compiler, archiver, source level debugger and hardware emulators, programmers and Real Time Operating System

January 1998
This is preliminary information on a new product in development or undergoing evaluation. Details are subject to change without notice.

33/44

33

ST92E164 ST92T164

Figure 1. ST92E164/ST92T164 Architectural Block Diagram


8K Bytes EPROM/OTP 512 Bytes RAM USBGND USBVCC USBDM[4:0] USBDP[4:0] DSN RWN ASN USB HUB with 8 EP With 4 Down Streams 256 Bytes Register File 8/16 bits CPU MEMORY BUS ADFully Prog. DRESS I/Os P3[7:0]

Fully Prog. I/Os

P0[7:0]

Fully Prog. I/Os

P5[7:0]

Fully Prog. I/Os

P6[5:0]

INT[7:0] NMI

Interrupt Management ST9+ CORE UART and Sync Comm. REGISTER BUS

OSCIN OSCOUT RESET INTCLK

RCCU

TXCLK RXCLK SIN DCD SOUT CLKOUT CTS

WDIN WDOUT

WATCHDOG TIMER

I2C BUS

SDA SCL

All alternate functions (Italic characters) are mapped on Port3, Port5 and Port6

34/44

34

APPLICATION NOTE

USING THE ST7277 UNIVERSAL SERIAL BUS INTERFACE

1 INTRODUCTION
This document is a brief extract from an application note describing an example firmware for interaction with the USB interface hardware and support interactions between a USB device and a host system. The complete application note and associated source code of the firmware are available. The USB function firmware is divided into three layers as shown in Figure 1. USB function layer: this firmware layer implements the functionality provided by the device. USB logical device layer: this firmware layer implements all standard USB requests and low speed data transfers. USB bus interface layer: this firmware layer is the interface between the USB logical device layer and the USB interface hardware.

USB Device
Capability Provides common device abstraction Physical Interface, Signaling Function USB Logical Device USB Bus Interface
USB cable

USB Host
Client SW

USB System SW USB Bus Interface

Physical (wire) communications flow Logical (SW) communications flow

Figure 1. USB software model

AN1017/0098 35

APPLICATION NOTE

USB device operations can be summarized in 3 groups: Device enumeration and configuration Data transfers Power management Program architecture The USB events are managed by interrupt. A single interrupt vector is used for the USB interrupt sources. The firmware must determine the interrupt origin by reading the ISTR register, set a bit in a software register and clear the interrupt flag. The USB polling routine reads the software register to determine the USB interrupt source and jump to the corresponding interrupt routine.

USB routines USB interrupt USB interrupt routine Firmware finds out the origin of the USB interrupt Firmware sets the software flag corresponding to the USB interrupt source Data IN stage Transfer Setup Main Loop USB polling: Checks if a software interrupt flag is set and jumps to the corresponding routine

Firmware clears the interrupt flag in the ISTR register

IRET

Figure 2. USB Program Architecture.

36/44

36

APPLICATION NOTE

EXAMPLES OF USER INTERFACE SOFTWARE FOR MONITOR CONTROL THROUGH USB

SGS-THOMSON USB monitor manager software suite

Example of monitor geometry control panel

37/44

37

APPLICATION NOTE

Example of monitor color control panel

38/44

38

APPLICATION NOTE

ST92E161 demoboard for HUB device with embedded USB function

39/44

39

APPLICATION NOTE

3-in-1 demoboard for monitor, mouse and keyboard applications based on ST7277

40/44

40

SALES OFFICES

EUROPE
DENMARK
2730 HERLEV Herlev Torv, 4 Tel.: (45-44) 94.85.33 Telefax: (45-44) 948694

ITALY
20090 ASSAGO (MI) V.le Milanofiori - Strada 4 - Palazzo A/4/A Tel.: (39-2) 57546.1 (10 linee) Telefax: (39-2) 8250449 40033 CASALECCHIO DI RENO (BO) Via R. Fucini, 12 Tel.: (39-51) 591914 Telefax: (39-51) 591305 00161 ROMA Via A. Torlonia, 15 Tel.: (39-6) 44251142 Telefax: (39-6) 85354438

FINLAND
LOHJA SF-08150 Ratakatu, 26 Tel.: (358-19) 32821 Telefax.: (358-19) 3155.66

FRANCE
94253 GENTILLY Cedex 7 - avenue Gallieni - BP. 93 Tel.: (33-1) 47.40.75.75 Telefax: (33-1) 47.40.79.10 67000 STRASBOURG 20, Place des Halles Tel.: (33-3) 88.75.50.66 Telefax: (33-3) 88.22.29.32

NETHERLANDS
5652 AR EINDHOVEN Meerenakkerweg 1 Tel.: (31-40) 2509600 Telefax: (31-40) 2528835

POLAND
WARSAW 00517 Ul. Marszalkowska 82 Tel.(0048-22) 622 0561 Telefax: (0048-22) 623 6437

GERMANY
D-85630 GRASBRUNN Bretonischer Ring 4 Postfach 1122 Tel.: (49-89) 460060 Telefax: (49-89) 4605454 D-30916 ISERNHAGEN Ernst-Grote-Strasse 23A Tel. (49-511) 9027513 Telefax: (49-511) 90275555 D-90491 NRNBERG 20 Erlenstegenstrasse, 72 Tel.: (49-911) 959840 Telefax: (49-911) 9598499 D-70499 STUTTGART 31 Mittlerer Pfad 2-4 Tel.: (49-711) 13968-0 Telefax: (49-711) 8661427

SPAIN
E-08004 BARCELONA Calle Gran Via Corts Catalanes, 322 6th Floor, 2th Door Tel.: (34-3) 4251800 Telefax: (34-3) 4253674 E-28027 MADRID Calle Albacete, 5 Tel. (34-1) 4051615 Telefax: (34-1) 4031134

SWEDEN
S-16421 KISTA Borgarfjordsgatan, 13 - Box 1094 Tel.: (46-8) 7936920 Telefax: (46-8) 7504950

SWITZERLAND
1215 GENEVA 15 Route de Pr-Bois, 20 Tel.: (41-22) 9292929 Telefax: (41-22) 9292900

UNITED KINGDOM and EIRE


MARLOW, BUCKS Planar House, Parkway Globe Park Tel.: (44-1628) 890800 Telefax: (44-1628) 890391

Internet Address http://www.st.com (Home Page) Product Support http://www.st.com/stonline/products/support/index.htm


1

SALES OFFICES

AMERICAS
BRAZIL
05413 SO PAULO R. Henrique Schaumann 286-CJ33 Tel.: (55-11) 883-5455 Telefax : (55-11) 282-2367

OREGON Lake Oswego TENNESSEE Knoxville TEXAS

Tel.: (503) 635-7635 Fax: (503) 635-7677 Tel.: (615) 524-6239 Fax: (615) 524-6247

MALAYSIA
46000 PETALING JAYA, SELANGOR Level 12-Std.D PJ Tower (A) AMCORP Trade Centre No 18, Jalan Persiaran Barat Off Jalan Timur Tel.:(60-3) 758 1189 Telefax: (60-3) 758 1179 PENANG 10400 Unit 9-A, Lower Level 5 Hotel Equatorial 1 Jalan Bukit Jambul Tel.: (60-4) 642 8291 Telefax (60-4) 642 8284

Carrollton Houston -

CANADA
NEPEAN ONTARIO K2H 9C4 301 Moodie Drive Suite 307 Tel.: (613) 829-9944 Telefax : (613) 829-8996

Tel.: (972) 466-8844 Fax: (972) 466-8130 Tel.: (281) 376-9939 Fax: (281) 376-9948

FOR RF AND MICROWAVE POWER TRANSISTORS CONTACT THE FOLLOWING REGIONAL OFFICE IN THE U.S.A. PENNSYLVANIA Montgomeryville - Tel.: (215) 361-6400 Fax: (215) 361-1293

U.S.A.
NORTH & SOUTH AMERICAN MARKETING HEADQUARTERS 55 Old Bedford Road Lincoln, MA 01773 Tel.: (617) 259-0300 Telefax : (617) 259-4421 ALABAMA

KOREA
SEOUL 19th Fl Kang Nam Building 1321-1 Seocho-dong Seocho-ku Seoul Tel.: (82-2) 3489-0114 Telefax:(82-2) 588-9030 TAE-GU 701-023 18th Floor Youngman Tower 111 Shinchun-3 Dong, Dong-Ku Tel.: (82-53) 756-9583 Telefax:(82-53) 756-4463

ASIA / PACIFIC
AUSTRALIA
DINGLEY VIC 3172 Suite 6, Business Centre 14 Garden Boulevard Tel.: (61-3) 9558 3399 Telefax: (61-3) 9558 3377 NSW 2220 HURTSVILLE Suite 3, Level 7, Otis House 43 Bridge Street Tel.: (61-2) 9580-3811 Telefax: (61-2) 9580-6440

Huntsville ARIZONA

Tel.: (205) 895-9544 Fax : (205) 895-9114 Tel.: (602) 485-6201 Fax: (602) 485-6330 Tel. (818) 865-6850 Fax: (818) 865-6861 Tel. (714) 957-6018 Fax: (714) 957-3281 Tel.: (408) 452-8585 Fax: (408) 452-1549 Tel.: (408) 439-2950 Fax: (408) 439-2969 Tel.: (303) 772-9729 Fax: (303) 772-0790 Tel.: (561) 997-7233 Fax: (561) 997-7554 Tel.: (770) 449-4610 Fax: (770) 449-4609 Tel.: (847) 517-1890 Fax: (847) 517-1899 Tel.: (317) 455-3500 Fax: (317) 455-3400 Tel.: (317) 575-5520 Fax: (317) 575-8211 Tel.: (313) 953-1700 Fax: (313) 462-4071 Tel.: (612) 835-3500 Fax: (612) 835-3555 Tel.: (919) 469-1311 Fax: (919) 469-4515

Phoenix CALIFORNIA

SINGAPORE
SINGAPORE 2056 28 Ang Mo Kio - Industrial Park 2 Tel.: (65) 482 1411 Telefax: (65) 482 0240

Agoura Hills Santa Ana San Jose Scotts Valley


COLORADO

CHINA (Liaison Offices)


BEIJING Beijing No. 5 14 Wu Lu Tong Road De Sheng Men Wai Tel.: (86-10) 202 4378 Telefax: (86-10) 202 4378 SHANGAI 200233 108-10 Astronartics Building 222 Cao Xi Road Tel.: (86-21) 6472-5415 Telefax: (86-21) 6472-6814 SHENZHEN 518001 52, Tao Hua Road Futian Free Trade Zone SHENZHEN 518048 Tel.: (86-755) 359-0950 Telefax: (86-755) 359-1155 WANCHAI 22nd Floor - Hopewell centre 183 Queens Road East, Tel.: (852) 2861 5700 Telefax: (852) 2865 5000

TAIWAN
TAIPEI 20th Floor, #207 Tun Hua South Road, Section 2 Tel.: (886-2) 2378-8088 Telefax: (886-2) 2378-9188

Longmont
FLORIDA

Boca Raton
GEORGIA

THAILAND
BANGKOK 10110 Unit # 1315 54 Asoke Road Sukhumvit 21 Tel. : (66-2) 260 7870 Telefax : (66-2) 260 7871

Norcross
ILLINOIS

Schaumburg
INDIANA

Kokomo Indianapolis
MICHIGAN

JAPAN
TOKYO 108 Nisseki - Takanawa Blg. 2-18-10 Takanawa Minato-Ku Tel.: (81-3) 3280-4120 Telefax: (81-3) 3280-4131 OSAKA 532 Shin-Osaka Second Mori Bldg.. 3-5-36 Miyahara Yodogawa-Ku Tel. (81-0) 6397-4130 Telefax: (81-0) 6397-4131

Livonia
MINNESOTA

INDIA (Liaison Offices)


BANGALORE 560052 Diners Business Service 26 Cunningham Road Tel.: (91-80) 267 272 Telefax: (91-80) 261 133 NOIDA 201301 Liaison Office Plot N. 2 & 3, Sector 16A Institutional Area Distt Ghaziabad UP Tel.: (91-11) 853 0965/8 Telefax: (91-11) 855 6957

Mineapolis

NORTH CAROLINA

Cary
NEW JERSEY

Voorhees

Tel.: (609) 772-6222 Fax: (609) 772-6037 Basking Ridge Tel.: (908) 766-7401 Fax: (908) 766-7738
NEW YORK Poughkeepsie Tel.: (914) 896-2926 Fax: (914) 897-3734

Notes:

Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of SGS-THOMSON Microelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. SGS-THOMSON Microelectronics products are not authorized for use as critical components in life support devices or systems without the express written approval of SGS-THOMSON Microelectronics. 1998 SGS-THOMSON Microelectronics - All rights reserved. Printed in France by Imprimerie AGL Purchase of I2C Components by SGS-THOMSON Microelectronics conveys a license under the Philips I2C Patent. Rights to use these components in an I2C system is granted provided that the system conforms to the I2C Standard Specification as defined by Philips. SGS-THOMSON Microelectronics Group of Companies Australia - Brazil - Canada - China - France - Germany - Italy - Japan - Korea - Malaysia - Malta - Morocco - The Netherlands - Singapore Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom - U.S.A.

Recycled and chlorine free paper

You might also like