8-bit Fact Sheet Ultra-Low-Power Microcontrollers MC9S08QE32/16 Taking the lead in low power SO8QE32/16 Block Diagram 2 KB RAM I2C with Broadcast Mode 6-ch., 16-bit Timer Target Applications • • • • • • • • Low-power wireless applications Gas, water and heater meters HVAC and building control Security systems including sensors and home alarm Personal health care devices Cell phone accessories Commercial smoke detectors Toys Overview Achieving raw performance is no longer the number one issue—it’s now “performance within an energy budget.” Freescale understands this challenge and offers a wide portfolio of S08 devices that help you reach target performance levels while minimizing low power in your design. The QE family demonstrates extreme energy efficiency for ultra-long operating life in battery-powered applications. Further expanding the QE family portfolio, the QE32 provides great flexibility for customers to balance performance and power consumption. The QE32 offers low-power features such as two ultra-low-power stop modes, low-power run and wait modes, 6 usec wake-up time, ultralow-power external oscillator and clock gating registers to disable clocks to unused peripherals. The QE32 offers up to 32 KB of flash memory, a 10-channel, 12-bit resolution analog-to-digital converter (ADC), abundant peripherals such as three timers/PWM, two SCI, SPI, I2C and two analog comparators. QE32 can operate at 1.8V voltage supply and run up to 50.33 MHz core frequency. To test your application with the QE family, take the Battery Calculator challenge, available at www.freescale.com/lowpower. 2 x SCI 1 KB RAM 2 x 3-ch., 16-bit Timer 16 KB Flash S08 CPU 25.165 MHz Bus Speed Features 32 KB Flash Benefits Power-Saving Features • Two ultra-low-power stop modes, one of which allows limited use of peripherals • Allows continued application sampling in a reduced power state which extends battery life • Low-power run and wait modes • Allows use of all chip peripherals in a low-power state • Enables faster execution out of stop modes • 6 µs typical wake up time from stop mode • Internal clock Source (ICS)—module containing a frequency locked-loop (FLL) controlled by internal or external reference • Provides choice of frequencies on-the-fly. Reducing frequency saves current. • Oscillator (OSC)—loop-control Pierce oscillator; crystal or ceramic resonator range of 31.25 kHz to 38.4 kHz or 1 MHz to 16 MHz • Includes ultra-low-power OSC for accurate timebase in low-power modes • Clock gating disables clocks to unused peripherals • Provides flexibility to turn off individual modules • Reduces power consumption 8-bit HCS08 Central Processing Unit (CPU) • Up to 50.33 MHz HCS08 CPU at 3.6V to 2.4V, 40 MHz CPU at 2.4 V to 2.1 V and 20 MHz CPU at 2.1 V to 1.8 V across temperature range of -40 °C to +85 °C • Offers high performance, even at low voltage levels for battery-operated applications • Provides bus speed operation from 10 MHz to 25.165 MHz under voltage from 1.8V to 3.6V • HCS08 instruction set with added BGND instruction • Easy to learn and use architecture • Backward object code compatibility with 68HC08 and 68HC05 for reuse of existing libraries can still be used • Allows for efficient, compact module coding in assembly or C compiler • BGND allows user to enter background debug mode that takes advantage of on-chip in-circuit emulator (ICE) On-Chip Memory • Up to 32 KB flash read/program/erase over full operating voltage and temperature • Allows user to take full advantage of in-application, reprogrammability benefits in virtually any environment • Up to range of 1.8V to 3.6V RAM • Security circuitry prevents unauthorized access to RAM and flash contents to reduce system power consumption 8-bit Fact Sheet Features Benefits Package Options Peripherals • Analog-to-digital converter (ADC)—10-channel, 12-bit resolution; 2.5 µs conversion time; automatic compare function; internal temperature sensor; internal bandgap reference channel; operation in stop mode • Having 10 channels allows up to 10 analog devices to be sampled at extremely high speeds • Accuracy and full functionality guaranteed across 1.8V to 3.6V operating voltage of the MCU • Timer—One 6-channel (TPM3) and two 3-channel (TPM1 and TPM2); selectable input capture, output compare, or buffered edge- or center-aligned PWM on each channel • Three TPMs allow for three different time bases, with a total of twelve timer channels • 2 x Serial Communications Interface (SCI)—Two SCI interface modules with optional 13-bit break; offer LIN master/slave extended break generation • Have two SCI allows two separate dedicated devices • Allows full-duplex, asynchronous, NRZ serial communication between MCU and remote devices • Edge interrupt can wake up MCU from low-power mode • Two analog comparators with option to compare to an internal reference—output can be optionally routed to timer/pulse width modulator (PWM) as input capture trigger • Requires only single pin for input signal, freeing additional pins for other use • Allows other components in system to see result of comparator with minimal delay • Can be used for single slope ADC and RC time constant measurements • Serial Peripheral Interface (SPI)—one module with full-duplex or single-wire bidirectional; double-buffered transmit and receive; master or slave mode; MSB-first or LSB-first shifting • Allows high-speed (up to 5 Mbps) communications to other MCUs or peripherals such as MC1319x RF transceivers • I2C with up to 100 kbps with maximum bus loading; multi-master operation; programmable slave address; interrupt-driven byte-by-byte data transfer; supports broadcast mode and 10-bit addressing • I2C port enables increased system memory by using an additional I2C EEPROM. This also creates an opportunity to add an additional I2C device. Part Number Temp. Range Package MC9S08QE32CFT -40°C to +85°C 48 QFN MC9S08QE32CLD -40°C to +85°C 44 LQFP MC9S08QE32CLC -40°C to +85°C 32 LQFP MC9S08QE32CWL -40°C to +85°C 28 SOIC MC9S08QE16CFT -40°C to +85°C 48 QFN MC9S08QE16CLD -40°C to +85°C 44 LQFP MC9S08QE16CLC -40°C to +85°C 32 LQFP MC9S08QE16CWL -40°C to +85°C 28 SOIC Cost-Effective Development Tools DEMO9S08QE32 $69* Cost-effective demonstration kit including the QE32 daughter card, as well as serial port and built-in USB-BDM cable for debugging and programming. DC9S08QE32 Input/Output • 40 General Purpose Input/Output (GPIO), including one input-only and one output-only pin • Results in large number of flexible I/O pins that allow developers to easily interface a device into their own designs • 16 Keyboard Interrupts (KBI) pins with selectable polarity • Can be used for reading input from a keypad or used as general pin interrupts $10* Daughter card of QE32 to use on your DEMOQE128 or DEMO9S08QE8 demonstration kit. System Protection • Watchdog computer operating properly (COP) reset with option to run from dedicated 1 kHz internal clock source or bus clock • Allows device to recognize runaway code (infinite loops) and resets processor to avoid lock-up states • Low-voltage detection with reset or interrupt; selectable trip points • Alarms the developer of voltage drops outside of the typical operating range • Illegal op code and illegal address detection with reset • Allows the device to recognize erroneous code and resets the processor to avoid lock-up states • Flash block protection • Prevents unintentional programming of protected flash memory, which greatly reduces the chance of losing vital system code for vendor applications Development Support • Single-wire background debug interface • Allows developers to use the same hardware cables between S08 and V1 ColdFire® platforms • Breakpoint capability • Allows single breakpoint setting during in-circuit debugging (plus three more breakpoints in on-chip debug module) • ICE debug module containing three comparators and nine trigger modes. Eight deep FIFO for storing change-of-flow addresses and event-only data—debug module supports both tag and force breakpoints. • Provides built-in full emulation without expense of traditional emulator Learn More: Freescale and the Freescale logo are trademarks or registered trademarks of Freescale Semiconductor, Inc. in the U.S. and other countries. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2008. Document Number: MC9S08QE32FS REV 0 CodeWarrior™ Development Studio for Microcontrollers 6.2 Complimentary** Special Edition CodeWarrior Development Studio for Microcontrollers is a single tool suite that supports software development for Freescale’s 8- and 32-bit V1 ColdFire microcontrollers. Designers can further accelerate application development with the help of Processor Expert™, an award-winning rapid application development tool integrated into the CodeWarrior tool suite. * Prices indicated are MSRP ** Subject to license agreement For more information about the QE family, please visit www.freescale.com/lowpower.