µPSD It’s All You Need. Feb 2003 www.st.
ST’s New 8051-based MCU Family Performance ST40 & STPC ! W NE Q303 µPSD ST10 Turbo ST5 NOW 8051 World ST9 µPSD ST7 ST6 www.st.com/micropsd l tro n Co ns e l o mp ncti i S Fu t i b 8ity it b 16 Tim l ea g R n ive essi s ten roc x P E it b 32 e ce an rm fo s r Pe stem h g Sy Hi lex p m Co m s ium yste d S Me Application Requirements (Memory, I/Os, Communication Channels, ….
What is µPSD? • Standard 8032 MCU Core – – • (3) 16 bit timers (2) Ext Interrupts Large Dual Bank Flash 2K, 8K, or 32K Byte SRAM 8032 CORE: w/UART& WDOG TMR • Large SRAM • Programmable Logic DECODE & MEM MNGR • USB, Dual UARTs, I2C JTAG ISP • PWM, ADC, DDC • Many I/O • Built-in Supervisor • ISP – • In-System Programming IAP – www.st.com/micropsd 64K, 128K, or 256K Byte MAIN FLASH 16K or 32K Byte 2nd FLASH PROGRAMMABLE LOGIC PWR Vcc ADC MNG MON DDC I2C I/O PWM USB 1.
What makes µPSD different? • PSD Architecture … enhances capability of 8051 – – – – – • Some µPSDs have Big Memory up to 288K bytes… When is larger Flash and SRAM needed? – – – – – • PSD = Programmable System Device Dual bank Flash Memory … Superior IAP Memory Management … Seamless paging and memory placement Programmable Logic … Consolidate external logic chips JTAG ISP … perfect for lab and manufacturing The use of C language Elaborate user interfaces … menus, graphics, screens Multiple languages an
Unique µPSD features • Excellent Memory Management • Flexible Memory Allocation • Remote Field Updates • JTAG In System Programming • Programmable Logic PSD PSD Architecture Architecture!!! !!! www.st.
Excellent Memory Management • Sector Selects Built-in Address Decoding PLD – – – Map any µPSD memory sector to any address Easily convert existing 8051 designs into µPSD Total memory mapping flexibility for new designs 8032 8032 MCU MCU Page Register DECODE DECODE PLD PLD SRAM SRAM 1 Sector MAIN MAIN FLASH FLASH 8 Sectors Address nd FLASH 22nd FLASH • Sector Selects Memory Paging is Easy using Decode PLD – – – 4 Sectors Break traditional 8051 64K Byte address limit imposed by only 16 address
Flexible Memory Allocation • 8051 Architecture uses a separate address space for code and for data • Allocate dual banks of Flash to meet Application Demands – • The Decode PLD controls where Flash memory resides You decide how to split the Flash memory Big Code (complex algorithms) Can use EEPROM Emulation www.st.
Remote Field Updates with IAP • 1. Before IAP READ & WRITE – 2nd Flash • DATA 8032 MCU • OLD CODE Special µPSD register eliminates this limitation Typical Flash memory cannot be read and written at the same time – – MAIN FLASH READ ONLY 8051s typically cannot write to “code” space Dual Banks of Flash eliminate this limitation Read program from one bank while writing to the other bank 2.
In-System Programming (ISP) • • • • Program blank device, no interaction of 8032 MCU required Entire chip programs in 10-25 seconds JTAG serial connection is industry standard Speedy lab development and manufacturing No sockets or pre-programmed parts needed µPSD ing r e e in Eng e Order ng Cha Last minute changes are OK JIT www.st.
Programmable Logic • Built-in 16 MacroCell PLD for General Purpose Logic • Similar to standard 22V10 architecture • Eliminate small PLDs, PALs, 74XXX series discrete logic • Easy Point-and-Click PLD configuration with PSDsoft Express • Build: – – – – – – – – – – Glue logic State-machines Shifters Counters Chip-selects for external devices Keypad interfaces Delay generators Clock dividers Decoders Multiplexers PLD PAL 74XXX Easy interface to external devices State 0 State 3 State 1 State 2 ww
A Unique Combination • ST is the only large manufacturer that can bring: - so much memory - so many peripherals - and programmable logic In a cost effective device • Excellent Flexibility to adapt designs and grow with future product requirements • Versatile, easy to use Programmable Logic 16 macrocells today, 32 coming in 2003 • www.st.
Consolidate Devices • What common devices can uPSD eliminate from your circuit board? Sockets – not needed using JTAG ISP Glue-logic chips – Use on-chip PLD EEPROM chip – Emulate EEPROM using the second Flash memory Supervisor chip – Low Vcc Detect and Watchdog included! www.st.
Broad Variety of Connections Keypads, Displays, LEDs, Relays, Contol Panels, Sensors, Acuators SRAM 8032 CORE w/UART & WDOG I/O MAIN FLASH DECODE & MEM MNGR 2nd FLASH PWM Motor Control, Brightness Control, Position Control, Simple DAC, Tone Generation PROGRAMMABLE LOGIC USB 1.1 Widely used serial connection bus supporting plug-and-play operation.
Development Support • µPSD C Compiler, Simulator, Debugger, Monitor – – $149 USD – • DK3200 development board from ST, US$149 – – – – • Full speed real-time debugging, deep tracing, memory banking As low as US $250.00 (Manley) PSDsoft ExpressTM for rapid configuration of µPSD – www.st.
Keil Software Tools • Integrated Development Environment (IDE) – – – – PK51 and DK51 Optimized C Compiler Simulator for standard 8032 functions ISD51 Debugger • • • • • • • • – – Only takes 700 bytes, no royalties, leave in product Set Breakpoints Single-Step Step though C and Assembly Code Overwrite Variables, Registers, Memory Display Memory Watch Variables Display Registers All in One Environment See www.keil.com/c51 for details www.st.
DK3200 Development Kit • Includes – – DK board, FlashLINK JTAG programming cable, RS-232 serial debugger cable, Power Supply Includes CD with: • • • • • • www.st.com/micropsd PSDsoft Express with uPSD project templates and example program Keil 8051 evaluation compiler and ISD51 debugger (limited to 2K bytes code) 8032 firmware for USB, I2C, PWM, ADC, IAP, LCD, UARTs, TIMERS Windows PC USB program to demonstrate USB capabilities including IAP (program flash).
Nohau In-Circuit Emulator • In-Circuit Emulator – – – – – – – – – – – Hardware Emulation, replaces uPSD chip Full Speed Operation, 5V and 3.3V Supports Memory Paging and uPSD architecture Connects directly to DK3000 with no TQFP adapter Hardware Breakpoints 256K Deep Trace Filtered Triggers Timestamps Mixed Source Support • C and Assembly Performance Analysis USB, Parallel, or ISA interface to PC www.st.
Manley In-Circuit Emulator • In-Circuit Emulator – – – – – – – – – – – Hardware Emulation, replaces uPSD chip Full Speed Operation, 5V and 3.3V Supports Memory Paging and uPSD architecture ICE operates from it’s own SRAM (up to 288K Bytes) or directly from uPSD Flash Memory. Breakpoints from hardware compare or external signal 128K trace events (optional) PC Parallel support port today, USB in Q303 Includes proprietary 8051 A51 assembler and L51 linker.
Programming Support • FlashLINK JTAG ISP Programming Cable, ST – – – – • USB Gang JTAG Insertion Programmers, Needham’s Electonics – – – – • Inexpensive solution for lab or manufacturing Gang many EMP-21 programmers together on USB hub 1 for US$680, 4 for $2200, 8 for $4000, adapters included Low cost EMP-11 for $425 for PC parallel port (no gang) Single-Site Insertion Programmers, BP Micro and HiLo/Tribal – – – • Plugs into an PC/Notebook Parallel Port Driven by PSDsoft Express Programs entire part
µPSD Family Growth SRAM CPU • Up to 32K byte SRAM • Size supports: C/C++, fast math, buffer for large fast communication packets • Turbo 4-cycle 8032 Core • 10+ MIPs at 40MHz • Up from 3 MIPs, 12-cycle core • Enhanced timer block with six 16-bit capture/compare, timer/counters, or PWM units µPSD • JTAG Debug and Emulation • Up to 512K byte Main Flash • Size supports: C/C++, RTOS, GUI, data recording, look-up tables, load FPGAs, multi-national products • Eliminate external In-Circuit Emulation Hardwar
µPSD Product Roadmap Available Now Aug 2003 Dec 2003 3200 Family 3300 Family 3400 Family µPSD Turbo µPSD Turbo µPSD plus 3.3 MIPS Peak (3.0 Effective) 10 MIPS Peak (6.4 Effective) 10 MIPS Peak (9.0 Eff.) Main Flash Density (bytes) µPSD3455 • • • • 512K µPSD3234 256K • • • 256K + 32KB Flash • 8KB SRAM • Low-Speed USB • µPSD3233 128K • • • 128K + 32KB Flash • 8KB SRAM • Low-Speed USB • µPSD3212 64K • • 64KB + 16KB Flash 2KB SRAM www.st.
Competition: Flash Density & Effective MIPS* Main Flash Density (bytes) µPSD Turbo µPSD Turbo µPSD plus 3.3 MIPS Peak (3.0 Eff.) 10 MIPS Peak (6.4 Eff.) 10 MIPS Peak (9.0 Eff.) 9.0 µPSD3455 uPSD uPSDtypically typicallyexceeds exceedscompetition competitionininone oneorormore moreof: of:Flash, Flash,SRAM, SRAM, peripherals, or flexibility. And no other MCU has Flash PLD logic. peripherals, or flexibility. And no other MCU has Flash PLD logic. 512K 7.2 Hitachi (16-bit) HD8/3069F 3.0 µPSD3234/54 9.
Lite Series µPSD3212CV-24T6 2 MIP/24 64K 16K 2K 16 N (4)8bit 3 5 2 1 N N Y N N 37 N 3.0-3.6 Ind 52-TQFP 3.3 MIP/40 64K 16K 2K 16 N (4)8bit 3 5 2 1 N N Y N N 37 N 4.5-5.5 Ind 52-TQFP 2 MIP/24 64K 16K 2K 16 N (4)8bit 3 5 2 1 N N Y N N 46 Y 3.0-3.6 Ind 80-TQFP µPSD3212C-40U6 3.3 MIP/40 64K 16K 2K 16 N (4)8bit 3 5 2 1 N N Y N N 46 Y 4.5-5.
Turbo Series Aug 2003 ls er / PW C o u nt M er UA Ch s a RT nn I2C Ch els Ch ann el an SP ne s IC l h IrD an ne A l Pr o W t o do co g/ Vc l JT AG c R Em e s e Di t sp ul a la y D tion M at ax aC GP hn IO 80 32 Bu s Ac ce Op ss er at in g Vo lt a Te ge m p -4 0 to Pa +8 ck 5C ag e Ti m Ch an ne AD C 1S pe ed ce l ls US B M D PL 1.
ls er /C PW ou nt M er s UA Ch a RT nn e ls I2C Ch Ch ann e an l SP ne s IC l ha IrD nn A el Pr ot W oc do o g/ Vc l JT c AG R Em e s e Di t ul sp a la y D tion M at ax aC GP hn IO 80 32 Bu s Ac Op ce e (* ss ra = ti n 5V g V To le olt a ra g Te nt e m I/O p -4 ) 0 to Pa +8 ck 5C ag e Ti m Ch an ne AD C 1S 1.
µPSD Part Numbering Scheme uPSD32/33/34 Device Family uPSD32 – Standard uPSD uPSD33 – Turbo uPSD uPSD34 – Turbo uPSD Plus SRAM Size 1 = 2K Byte 3 = 8K Byte 5 = 32K Byte www.st.com/micropsd 3 4 B V - Main Flash Size 2 = 64K Byte 3 = 128K Byte 4 = 256K Byte 5 = 512K Byte Vcc blank = 5V V = 3.
µPSD Web Site • Visit µPSD web site for the latest info and software • www.st.com/micropsd – – – – – – – www.st.
Ordering Information for Tools µPSD3200 Development Tools Ordering Information Tool Vendor Part Number DK3200-110 (110VAC power supply) 0K3200-220 (220VAC power supply) Comment Retail Price (US$) Contact Includes board, cables, FlashLINK JTAG programmer, PSDsoft Express, Keil demo compiler w/ISD51 debugger, uPSD firmware drivers, USB Windows demo $149 Order from local ST sales distribution office. www.st.
Summary µPSD Features Large Integrated SRAM and Flash Memories Programmable Memory Management Dual Bank Flash Memories General Purpose Programmable Logic Broad Peripheral Set Large Firmware Library and Excellent Tools Low Cost Relative to other Flash 8051/8bit MCU Rich µPSD Roadmap www.st.
µPSD Thank You. Visit Us Soon … www.st.com/micropsd www.st.