Freescale Semiconductor, Inc. A FLASH MCU SOLUTION 68HC908GP32 8-bit Microcontroller Freescale Semiconductor, Inc... TARGET APPLICATIONS • • • • • • • • Radar detectors Industrial and home lighting Security systems Home appliances Sensors Electronic power meters Wireless communication PDA attachments The 68HC908GP32 and 68HC908GP16 are fully integrated microcontrollers created to make system design easier by eliminating external peripherals wherever possible. The 32 kHz phase-locked loop eliminates the need for expensive, high-speed crystals or noisy oscillators. The integrated second generation FLASH memory programs up to 100 times faster than prior FLASH solutions and offers in-application programming. Features include an asynchronous serial peripheral interface (SPI), an asynchronous serial communications interface (SCI), an analog-to-digital converter (ADC), an auto wakeup from stop feature, low-voltage inhibit (LVI) and a watchdog timer. FEATURES BENEFITS HIGH-PERFORMANCE 68HC08 CPU CORE • 8 MHz bus operation at 5V operation for 125 nsec minimum instruction cycle time • 4 MHz bus operation at 3V for 250 nsec minimum instruction cycle time • Efficient instruction set including multiply and divide • 16 flexible addressing modes including stack relative with 16-bit stack pointer • Fully static low-voltage, low-power design with wait and stop modes • Object code compatible with the 68HC05 • Easy to learn and use architecture • C optimized architecture provides compact code INTEGRATED SECOND GENERATION FLASH MEMORY • In-application re-programmable • Extremely fast programming, encoding 64 bytes in as fast as 2 msec • FLASH programming across the 68HC08’s full operating supply voltage with no extra programming voltage • 10K write/erase cycles minimum over temperature • Flexible block protection and security • Cost-effective programming changes and field software upgrades via in-application programmability and re-programmability • Reduces production programming costs through ultra-fast programming • Allows re-programmable battery-powered applications • Byte-writable for data as well as program memory • Protects code from unauthorized reading and to guard against unintentional erasing/writing of user-programmable segments of code 8-BIT ANALOG-TO-DIGITAL CONVERTER HC08 CPU KBI 32K Flash 8-ch 8-bit ADC 512 RAM SCI PLL SPI COP 2 x 2-ch 16-bit Timer • 8 channels • Single conversion in 17µsec CLOCK GENERATION MODULE WITH PLL • Programmable clock frequency in integer multiples of external crystal reference • Crystal reference of 32 kHz to 100 kHz • External clock option with or without PLL • Provides high performance using low-cost, low-frequency reference crystals • Reduces generated noise while still providing high performance (up to 32 MHz internal clock) • Fast, easy conversion from analog inputs like temperature, pressure and fluid levels to digital values for CPU processing FOUR PROGRAMMABLE 16-BIT TIMER CHANNELS • 125 nsec resolution at 8 MHz bus • Free-running counter or modulo up-counter LVI • Fast, easy conversion from analog inputs like temperature, pressure and fluid levels to digital values for CPU processing Up to 33 GPIO For More Information On This Product, Go to: www.freescale.com • Each channel independently programmable for input capture, output compare or unbuffered PWM • Pairing timer channels provides a buffered PWM function A FLASH MCU SOLUTION Freescale Semiconductor, Inc. FEATURES TIMEBASE MODULE 68HC908GP32 PART NUMBER DESCRIPTION RESALE* RESALE EASY-TO-ORDER DEVELOPMENT TOOL KITS M68ICS08GPGT KITMMEVS08GPGT KITMMDS08GPGT Programmer/in-circuit debug kit Cost-effective real-time in-circuit emulator kit High-performance real-time in-circuit emulator kit Freescale Semiconductor, Inc... M68CBL05B M68CBL05C M68TB08GP32P40 M68TB08GP32B42 High performance emulator MMEVS platform board Emulation module daughter board Low-noise flex cable Low-noise flex cable 40-pin DIP target head adapter 42-pin SDIP target head adapter • 8 user-selectable periodic real-time interrupts • Optionally operate in low-power stop mode • Provides auto wakeup from low-power stop mode to maintain real-time clock or check external device status such as sensors $295 $1450 $3950 INDIVIDUAL DEVELOPMENT TOOL COMPONENTS M68MMDS0508 M68MMPFB0508 M68EML08GPGT BENEFITS $2950 $395 $495 SERIAL COMMUNICATIONS INTERFACE • UART asynchronous communications system • Flexible baud rate generator • Double buffered transmit and receive • Optional hardware parity checking and generation • Enables synchronous serial communications with peripheral devices SERIAL PERIPHERAL INTERFACE $120 $120 $100 • Full-duplex 3-wire synchronous transfers • Maximum master bit rate of 4 MHz for 8 MHz system clock $100 M68TC08GP32FB44 44-pin QFP target head adapter $250 M68TQS044SAG1 M68TQP044SAMO1 44-pin TQ socket with guides 44-pin TQPACK $50 $70 • High-speed synchronous communication between multiple MCUs or between MCU and serial peripherals • Cost-effective serial peripheral expansion to EEPROM, high-precision A/D and D/A converters, real-time clocks, etc. COMPUTER OPERATING PROPERLY WATCHDOG TIMER APPLICATION NOTES AND ENGINEERING BULLETINS • Issues reset in the event of runaway code • EB366/D In-Circuit Programming of 68HC908GP32 FLASH Memory • AN2093/D Creating Efficient C Code for the MC68HC08 • AN1219/D M68HC08 Integer Math Routines • AN1218/D HC05 to HC08 Optimization • AN1837/D Non-Volatile Memory Technology Review • AN1752/D Data Structures for 8-Bit MCUs • AN1705/D Noise Reduction Techniques for MCU-Based Systems • AN1259/D System Design and Layout Techniques for Noise Reduction in MCU-Based Systems • AN1263/D Designing for Electromagnetic Compatibility with Single-Chip Microcontrollers • AN1050/D Designing for Electromagnetic Compatibility (EMC) with HCMOS Microcontrollers • AN1705/D Noise Reduction Techniques for Microcontroller-Based Systems • AN2120/D PPP for GP32 (Internet) SELECTABLE TRIP POINT LOW-VOLTAGE INHIBIT • Improves reliability by resetting the MCU when voltage drops below trip point • Two trip points allow optimum operation in both 5V and 3V nominal systems • Integration reduces system cost UP TO 33 BIDIRECTIONAL INPUT/OUTPUT (I/O) LINES • 10 mA sink/source on all I/O pins • 15 mA sink capability on five I/O pins • Keyboard scan with selectable interrupts on eight I/O pins • Software programmable pullups on twenty-three I/O pins • High-current I/O allows direct drive of LED and other circuits to eliminate external drivers and reduce system costs • Keyboard scan with programmable pullups eliminates external glue logic when interfacing to simple keypads And many more—see our Web site at http://www.motorola.com/mcu PACKAGE OPTIONS PART NUMBER PACKAGE TEMPERATURE RANGE MC68HC908GP32CP MC68HC908GP32CFB MC68HC908GP32CB 40 DIP 44 QFP 42 SDIP -40 to 85°C -40 to 85°C -40 to 85°C SAMPLE PACKS PACKAGE TEMPERATURE RANGE KMC908GP32CP KMC908GP32CFB KMC908GP32CB 40 DIP 44 QFP 42 SDIP -40 to 85°C -40 to 85°C -40 to 85°C * All prices are manufacturer’s suggested resale for North America.For Motorola and the stylized M Logo are registered in the U.S. Patent and Trademark Office. This product incorporates SuperFlash® technology licensed from SST. All other product or service names are the property of their respective owners. © Motorola, Inc. 2003 68HC908GP32PB/D More Information On This Product, REV 2 1ATX46455-1 Printed in USA 05/03 Go to: www.freescale.com Imperial Litho 56466 5,000 LITCSG1