ST7FLITE2 8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI, DALI PRODUCT PREVIEW Memories - 8 Kbytes single voltage extended Flash (XFlash) Program memory with read-out protection, In-Circuit Programming and In-Application programming (ICP and IAP) - 384 bytes RAM - 256 bytes data EEPROM with read-out protection Clock, Reset and Supply Management - Enhanced reset system - Enhanced low voltage supervisor (LVD) for main supply and an auxiliary voltage detector (AVD) with interrupt capability for implementing safe power-down procedures - Clock sources: Internal 1% RC oscillator, crystal/ceramic resonator or external clock - Internal 32-MHz input clock for Auto-reload timer - Optional x4 or x8 PLL for 4 or 8 MHz internal clock - Four Power Saving Modes: Halt, Active-Halt, Wait and Slow I/O Ports - Up to 15 multifunctional bidirectional I/O lines - 6 high sink outputs 2 Timers - 8-bit Lite Timer with prescaler, watchdog, 1 realtime base and 1 input capture - One 12-bit Auto-reload Timer with 4 PWM outputs, input capture and output compare functions Device Summary Features Program memory - bytes RAM (stack) - bytes Data EEPROM - bytes Peripherals Operating Supply CPU Frequency Operating Temperature Packages ST7FLITE20 DIP20 SO20 300" 2 Communication Interfaces - SPI synchronous serial interface - DALI communication interface Interrupt Management - 10 interrupt vectors plus TRAP and RESET - 4 external interrupt lines (on 4 vectors) A/D Converter - 7 input channels - Fixed gain Op-amp - 13-bit precision for 0 to 430 mV (@ 5V VDD) - 10-bit precision for 430 mV to 5V (@ 5V VDD) Instruction Set - 8-bit data manipulation - 63 basic instructions - 17 main addressing modes - 8 x 8 unsigned multiply instructions Development Tools - Full hardware/software development package ST7FLITE25 ST7FLITE29 ST7FDALI 8K 384 (128) - - 256 Lite Timer with Watchdog, AuLite Timer with Watchdog, Lite Timer with Watchdog, Autoreload toreload Timer with 32-MHz input Autoreload Timer, SPI, Timer with 32-MHz input clock, SPI, clock, SPI, 10-bit ADC with Op10-bit ADC with Op-Amp 10-bit ADC with Op-Amp Amp, DALI 2.4V to 5.5V Up to 8Mhz Up to 8Mhz (w/ ext OSC up to 8MHz Up to 8Mhz (w/ int 1MHz RC 1% (w/ ext OSC up to 8MHz) and int 1MHz RC 1% PLLx8/4MHz) PLLx8/4MHz) -40C to +85C (-40C to +105/125C optional) SO20 300", DIP20 SO20 300" Rev. 1.6 October 2001 This is preliminary information on a new product now in development. Details are subject to change without notice. 1/7 1 ST7FLITE2 1 INTRODUCTION The ST7FLITE2 is a member of the ST7 microcontroller family. All ST7 devices are based on a common industry-standard 8-bit core, featuring an enhanced instruction set. The ST7FLITE2 features FLASH memory with byte-by-byte In-Circuit Programming (ICP) and InApplication Programming (IAP) capability. Under software control, the ST7FLITE2 device can be placed in WAIT, SLOW, or HALT mode, reducing power consumption when the application is in idle or standby state. The enhanced instruction set and addressing modes of the ST7 offer both power and flexibility to software developers, enabling the design of highly efficient and compact application code. In addition to standard 8-bit data management, all ST7 microcontrollers feature true bit manipulation, 8x8 unsigned multiplication and indirect addressing modes. Figure 1. General Block Diagram Int. 1% RC 1MHz Ext. OSC 1MHz to 16MHz 8-Bit LITE TIMER 2 /2 Internal CLOCK VSS RESET POWER SUPPLY CONTROL 8-BIT CORE ALU PROGRAM MEMORY (8K Bytes) RAM (384 Bytes) 2/7 1 PORT A ADDRESS AND DATA BUS LVD VDD 12-Bit Auto-Reload TIMER 2 PLL x 8 or PLL X4 /2 CLKIN OSC1 OSC2 PLL 8MHz -> 32MHz PORT B PA7:0 (8 bits) PB6:0 (7 bits) ADC + OpAmp PORT C SPI DALI DATA EEPROM ( 256 Bytes) PC1:0 (2 bits) ST7FLITE2 2 PIN DESCRIPTION Figure 2. 20-Pin SO Package Pinout (ST7FLITE2x) VSS 1 20 OSC1 VDD RESET 2 19 3 18 OSC2 PA0 (HS)/LTIC SS/AIN0/PB0 4 17 PA1 (HS)/ATIC SCK/AIN1/PB1 5 16 PA2 (HS)/ATPWM0 MISO/AIN2/PB2 6 15 PA3 (HS)/ATPWM1 MOSI/AIN3/PB3 7 14 PA4 (HS)/ATPWM2 CLKIN/AIN4/PB4 8 13 PA5 (HS)/ATPWM3/ICCDATA AIN5/PB5 9 12 PA6/MCO/ICCCLK/BREAK AIN6/PB6 10 11 PA7 (HS) 20mA high sink capability eix associated external interrupt vector Figure 3. 20-Pin DIP Package Pinout (ST7FLITE2x) MISO/AIN2/PB2 1 20 SCK/AIN1/PB1 MOSI/AIN3/PB3 CLKIN/AIN4/PB4 2 19 3 18 SS/AIN0/PB0 RESET AIN5/PB5 4 17 VDD AIN6/PB6 5 16 VSS PA7 6 15 OSC1 MCO/ICCCLK/BREAK/PA6 7 14 OSC2 ATPWM3/ICCDATA/PA5(HS) 8 13 PA0(HS)/LTIC ATPWM2/PA4(HS) ATPWM1/PA3(HS) 9 12 PA1(HS)/ATIC 10 11 PA2(HS)/ATPWM0 (HS) 20mA high sink capability eix associated external interrupt vector 3/7 1 ST7FLITE2 Figure 4. 20-Pin SO Package Pinout (ST7FDALI) 20 PC0/CLKIN* 2 19 3 18 PC1 PA0 (HS)/LTIC SS/AIN0/PB0 4 17 PA1 (HS)/ATIC VSS VDD RESET SCK/AIN1/PB1 5 16 PA2 (HS)/ATPWM0 MISO/AIN2/PB2 6 15 PA3 (HS)/ATPWM1 MOSI/AIN3/PB3 7 14 PA4 (HS)/ATPWM2 CLKIN*/AIN4/PB4 8 13 PA5 (HS)/ATPWM3/ICCDATA AIN5/PB5 DALIIN/AIN6/PB6 9 12 PA6/MCO/ICCCLK/BREAK 10 11 PA7/DALIOUT *CLKIN on PB4 or PC0 (configurable by option byte) 4/7 1 1 (HS) 20mA high sink capability eix associated external interrupt vector ST7FLITE2 2.1 OPERATING CONDITIONS 2.1.1 General Operating Conditions Symbol VDD fOSC(EXT) Parameter Conditions Supply voltage Min Max Unit fOSC(EXT) = 8 MHz. max. 2.4 5.5 V fOSC(EXT) = 16 MHz. max. 3.3 5.5 V 1) 16 MHz External clock frequency on CLKIN pin 0 1 Suffix Version Ambient temperature range 2) TA 6 Suffix Version 7 Suffix Version 2) 3 Suffix Version (VDD 4.0V)2) 0 70 -40 85 -40 105 -40 125 C Note: 1. Guaranteed by construction. A/D operation is not guaranteed below 1MHz. 2. Internal RC oscillator and PLL operation not guaranteed above 85 C. Figure 5. fOSC(EXT) Maximum Operating Frequency Versus VDD Supply Voltage fOSC(EXT) [MHz] FUNCTIONALITY GUARANTEED IN THIS AREA 16 FUNCTIONALITY NOT GUARANTEED IN THIS AREA 8 4 1 0 SUPPLY VOLTAGE [V] 2.0 2.4 3.0 3.3 4.0 4.5 5.0 5.5 5/7 1 ST7FLITE2 3 PACKAGE CHARACTERISTICS 3.1 PACKAGE MECHANICAL DATA Figure 6. 20-Pin Plastic Small Outline Package, 300-mil Width D Dim. h x 45x L A1 A c mm Min Typ inches Max Min Typ Max A 2.35 2.65 0.093 0.104 A1 0.10 0.30 0.004 0.012 B 0.33 0.51 0.013 0.020 C 0.23 0.32 0.009 0.013 D 12.60 13.00 0.496 0.512 E 7.40 7.60 0.291 0.299 a e B e E H 1.27 0.050 H 10.00 10.65 0.394 0.419 h 0.25 0.75 0.010 0.030 0 L 0.40 8 0 8 1.27 0.016 0.050 Number of Pins N 20 Figure 7. 20-Pin Plastic Dual In-Line Package, 300-mil Width Dim. A2 A mm Min Typ A A1 b eB D1 b2 e D 20 11 10 Min Typ 5.33 0.38 0.015 A2 2.92 3.30 4.95 0.115 0.130 0.195 b 0.36 0.46 0.56 0.014 0.018 0.022 b2 1.14 1.52 1.78 0.045 0.060 0.070 c 0.20 0.25 0.36 0.008 0.010 0.014 D 24.89 26.16 26.92 0.980 1.030 1.060 D1 0.13 0.005 2.54 eB 0.100 10.92 6.10 6.35 7.11 0.240 0.250 0.280 L 2.92 3.30 3.81 0.115 0.130 0.150 Number of Pins 1 0.430 E1 N 6/7 Max 0.210 A1 e E1 1 c L inches Max 20 ST7FLITE2 Notes: Information furnished is believed to be accurate and reliable. However, STMicroelectronics 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 STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without the express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics 2001 STMicroelectronics - All Rights Reserved. Purchase of I2C Components by STMicroelectronics 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. STMicroelectronics Group of Companies Australia - Brazil - Canada - China - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. http://www.st.com 7/7 1