Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division



Similar documents
IRTC Compensation and 1 Hz Clock Generation

Local Interconnect Network (LIN) Physical Interface

etpu Host Interface by:

Software Real Time Clock Implementation on MC9S08LG32

Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch

Programming Audio Applications in the i.mx21 MC9328MX21

Blood Pressure Monitor Using Flexis QE128 Gabriel Sanchez RTAC Americas

Flexible Active Shutter Control Interface using the MC1323x

Initializing the TSEC Controller

Improving Embedded Software Test Effectiveness in Automotive Applications

Connecting Low-Cost External Electrodes to MED-EKG

How To Control A Motor Control On An Hvac Platform

Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)

USB HID bootloader for the MC9S08JM60

Point-of-Sale (POS) Users Guide Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas

Detecting a CPM Overload on the PowerQUICC II

How To Build A Project On An Eclipse Powerbook For Anarc (Powerbook) On An Ipa (Powerpoint) On A Microcontroller (Powerboard) On Microcontrollers (Powerstation) On Your Microcontroller 2 (Powerclock

PowerQUICC II Pro (MPC83xx) PCI Agent Initialization

Emulated EEPROM Implementation in Dual Flash Architecture on MC9S08LG32 With Demo Description

Using WinUSB in a Visual Studio Project with Freescale USB device controller

Performance Monitor on PowerQUICC II Pro Processors

Hardware Configurations for the i.mx Family USB Modules

Handling Freescale Pressure Sensors

User Interface Design using CGI Programming and Boa Web Server on M5249C3 Board

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer

Using the Performance Monitor Unit on the e200z760n3 Power Architecture Core

Cyclic Redundant Checker Calculation on Power Architecture Technology and Comparison of Big-Endian Versus Little-Endian

Freescale Embedded GUI Converter Utility 2.0 Quick User Guide

Connecting to an SMTP Server Using the Freescale NanoSSL Client

MCF54418 NAND Flash Controller

Data Movement Between Big-Endian and Little-Endian Devices

Using XGATE to Implement LIN Communication on HCS12X Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland

MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1

Techniques and Tools for Software Analysis

MC13783 Buck and Boost Inductor Sizing

How to Do EEPROM Emulation Using Double Flash Array on MC9S08LC60 Ronald Gonzalez and Tatiana Orofino RTAC Americas

Using eflexpwm Module for ADC Synchronization in MC56F82xx and MC56F84xx Family of Digital Signal Controllers

White Paper. Freescale s Embedded Hypervisor for QorIQ P4 Series Communications Platform

Real Time Development of MC Applications using the PC Master Software Visualization Tool. 1. Introduction. 2. Development of Motor Control.

Configuring the FlexTimer for Position and Speed Measurement with an Encoder

Using the Kinetis Security and Flash Protection Features

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX4080D.

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX5500.

Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC Americas

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer

Using the HC08 SCI Module

User Guide. Introduction. HCS12PLLCALUG/D Rev. 0, 12/2002. HCS12 PLL Component Calculator

Enhanced Serial Interface Mapping

PQ-MDS-T1 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations

Using Program Memory As Data Memory. 1. Introduction Program Memory and Data. Contents. Memory. Freescale Semiconductor Application Note

3-Phase BLDC Motor Control with Hall Sensors Using the MC56F8013

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

ColdFire Security SEC and Hardware Encryption Acceleration Overview

Processor Expert Software Microcontrollers Driver Suite Getting Started Guide

VGA Output using TV-Out Extension Solution i.mx21

Understanding Pressure and Pressure Measurement

How To Improve Performance On A P4080 Processor

Genesi Pegasos II Setup

Generate Makefiles from Command Line Support in Eclipse-Based CodeWarrior Software

1 Introduction. Freescale Semiconductor Application Note. Document Number: AN3031 Rev. 1, 04/2010

Migrating Between MC9S08AC and MCF51AC Flexis Devices

Using the High Input Voltage Charger for Single Cell Li-Ion Batteries (KIT34671EPEVBE)

MSC8156 and MSC8157 PCI Express Performance

How To Measure Power Of A Permanent Magnet Synchronous Motor

Application Module Student Learning Kit Users Guide featuring the Freescale MC9S08QG8

Robust Over-the-Air Firmware Updates Using Program Flash Memory Swap on Kinetis Microcontrollers

Figure 1. CodeWarrior IDE with Processor Expert Workspace

Cluster (Dashboard) Using S12HZ256 as a Single-Chip Solution

How To Fit A 2Mm Exposed Pad To A Dfn Package

NOT RECOMMENDED FOR NEW DESIGN

A Utility for Programming Single FLASH Array HCS12 MCUs, with Minimum RAM Overhead

Tire Pressure Monitoring Sensor Temperature Compensated and Calibrated, Fully Integrated, Digital Output

BLDC Motor Control with Hall Effect Sensors Using the 9S08MP

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

SEMICONDUCTOR TECHNICAL DATA

Avoiding Read While Write Errors When Developing In-Software Flash Programming Applications for Kinetis and ColdFire+ MCUs

USB to SPI Interface Evaluation Board

Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module

Implementing Positioning Algorithms Using Accelerometers

Ref Parameters Symbol Conditions Min Typ Max Units. Standby μa. 3 Range kpa. 4 Resolution 0.15 kpa. 5 Accuracy -20ºC to 85ºC ±1 kpa

KIT34845EPEVME Evaluation Board

NOT RECOMMENDED FOR NEW DESIGN

VLE 16-bit and 32-bit Instruction Length Decode Algorithm

MLPPP in the Evolving Radio Access Network

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

Freescale Semiconductor, I

Quickly Turning Ideas into Microcontroller-Based Applications with CodeWarrior Development Tools and UNIS Processor Expert

i.mx Applications Processors with Hantro's Multimedia Framework

AND8365/D. 125 kbps with AMIS-4168x APPLICATION NOTE

ULN2803A ULN2804A OCTAL PERIPHERAL DRIVER ARRAYS

LOW POWER NARROWBAND FM IF

ITU-T V.42bis Data Dictionary Search on the StarCore SC140/SC1400 Cores

MPXAZ6115A MPXHZ6115A SERIES. Freescale Semiconductor Technical Data. MPXAZ6115A Rev 4, 01/2007

Adding SDIO Wi-Fi Solution to i.mx Windows CE 5.0/Windows CE 6.0

Transcription:

Freescale Semiconductor White Paper Document Number: QE128COMPWP Rev. 0, 05/2007 Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers by: Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division The MC9S08QE128 and MCF51QE128 are the first pair of 8-bit and 32-bit MCUs to be designed specifically for Freescale s controller continuum. These devices maximize reuse of peripherals, packages, pinouts, and development tools to make the conversion from an 8-bit to a 32-bit MCU (or vice versa) as seamless and effortless as possible. This document highlights the similarities of the two devices and also points out the few differences developers need to consider to design systems that are compatible with both devices. It will also make developers aware of the additional features available when migrating up to the MCF51QE128. The features and operation will not be discussed in detail in this document. Instead, the data sheets and reference manuals for each device should be consulted for detailed descriptions. Freescale Semiconductor, Inc., 2007. All rights reserved.

Table 1. Comparison of MC9S08QE128 and MCF51QE128 MC9S08QE128 MCF51QE128 Central Processor Unit (CPU) Core Up to 50-MHz CPU 2 from 3.6 V to 2.1 V, and 20-MHz CPU from 2.1 V to 1.8 V across temperature range of 40 C to 85 C 8-bit HCS08 core 32-bit ColdFire V1 core 1 8-bit data bus, 16-bit address bus 64K memory map, 16K paging window for addressing memory beyond 64K 2 ; linear address pointer for accessing data across entire memory range 2 HC08 instruction set with added BGND, CALL 2, and RTC 2 instructions Support for up to 32 interrupt/reset exceptions; exception priorities are fixed; one level of interrupt grouping; no hardware support for nesting Resets: one vector for all reset sources; vector must point to address within pages 0 3; no illegal address reset, entire memory map is legal System reset status (SRS) register sets flag for most recent reset source 1 32-bit core data bus, 8-bit peripheral data bus, 24-bit address bus 16M memory map, entire memory map addressed directly ColdFire Instruction Set Revision C (ISA_C), additional instructions for efficient handling of 8-bit and 16-bit data Support for up to 256 interrupt/reset exceptions (39 used on MCF51QE128); exception priorities are fixed, except two interrupts can be remapped; seven levels of interrupt grouping; hardware support for nesting Resets: vectors for up to 64 reset sources; vector can point to any valid address; illegal address reset is supported On-Chip Memory Peripheral register maps maintain relative addresses Up to 8K of random-access memory (RAM) Flash read/program/erase over full operating voltage and temperature Up to 128K byte of flash 2, two flash arrays of 64K x 8-bits arranged in series; two flash arrays allow for read while write programming Up to 128K byte of flash, two flash arrays of 32K x 16-bits arranged in parallel; flash read while write not supported Security circuitry to prevent unauthorized access to RAM and flash contents; default is secured when blank Security circuitry to prevent unauthorized access to RAM and flash contents; default is unsecured when blank Power-Saving Modes Two very low power stop modes Low power run (LPRun) and wait (LPWait) modes allow for use of peripherals in reduced-current and reduced-speed mode 1,2 Peripheral clock enable register can disable clocks to unused modules, thereby reducing currents 1,2 Very low power external oscillator that can be used in stop modes to provide accurate clock source to RTC module 1,2 Very low power real time counter for use in run, wait, and stop modes with internal and external clock sources 1 6 µs typical wake up time from stop3 mode 1,2 Reduced power wait mode (enabled by WAIT instruction) Reduced power wait mode (enabled by setting WAITE bit in the SOPT1 register then executing STOP instruction) 1 2 Freescale Semiconductor

Table 1. Comparison of MC9S08QE128 and MCF51QE128 MC9S08QE128 MCF51QE128 Clock Source Options Oscillator (XOSC) Loop-control Pierce oscillator; crystal or ceramic resonator range of 31.25 khz to 38.4 khz or 1 MHz to 16 MHz Internal Clock Source (ICS) 1 Internal clock source module containing a frequency-locked-loop (FLL) controlled by internal or external reference; precision trimming of internal reference allows 0.2% resolution and 2% deviation over temperature and voltage; supports CPU frequencies from 2 MHz to 50 MHz 2 System Protection Watchdog computer operating properly (COP) reset with option to run from dedicated 1 khz internal clock source or bus clock Low-voltage detection with reset or interrupt; selectable trip points Illegal opcode detection with reset No illegal address reset, all addresses in map are legal Flash block protection: protects in 1K increments; protects array 0 first (from 0x0FFFF 0x00000), then array 1 (from 0x1FFFF 0x10000) 2 Illegal address detection with reset Flash block protection: protects in 2K increments; protects array from 0x(00)00_0000 to 0x(00)01_FFFF Development Support Single-wire background debug interface; same hardware BDM cable supports both devices 1 One version of CodeWarrior IDE and debugger supports both devices 1 CodeWarrior stationary, project wizard, initialization wizard and Processor Expert make C-code conversion between devices easy Breakpoint capability to allow single breakpoint setting during in-circuit debugging (plus three more breakpoints in on-chip debug module) On-chip in-circuit emulator (ICE) debug module containing three comparators 2 and nine trigger modes. Eight deep FIFO for tracing change-of-flow addresses and event-only data. Debug module supports both tag and force breakpoints. Integrated ColdFire DEBUG_Rev_B+ interface with single-wire BDM connection supports same electrical interface used by the S08 family debug modules. 1 Classic ColdFire Debug B+ functionality mapped into the single-pin BDM interface; 64 deep FIFO for tracing processor status (PST) and debug data (DDATA) 1 ; real time debug support, with 6 hardware breakpoints (four PC, one address, and one data) that can be configured into a 1- or 2-level trigger with a programmable response Peripherals 3 ADC 24-channel, 12-bit resolution; 2.5 µs conversion time; automatic compare function; 1.7 mv/ C temperature sensor; internal bandgap reference channel; operation in stop3; fully functional from 3.6 V to 1.8 V ACMPx Two analog comparators with selectable interrupt on rising, falling, or either edge of comparator output; compare option to fixed internal bandgap reference voltage; operation in stop3 SCIx Two serial communications interface modules with optional 13-bit break SPIx Two serial peripheral interfaces with full-duplex or single-wire bidirectional; double-buffered transmit and receive; master or slave mode; MSB-first or LSB-first shifting Freescale Semiconductor 3

Table 1. Comparison of MC9S08QE128 and MCF51QE128 MC9S08QE128 MCF51QE128 IICx Two IICs 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 TPMx One 6-channel (TMP3) and two 3-channel (TPM1 and TPM2) 16-bit timer modules; selectable input capture, output compare, or buffered edge- or center-aligned PWM on each channel; RTC (real-time counter) 8-bit modulus counter with binary or decimal based prescaler; external clock source for precise time base, time-of-day, calendar, or task scheduling functions; free running on-chip low power oscillator (1 khz) for cyclic wake-up without external components; runs in all MCU modes Input/Output 70 GPIOs and 1 input-only and 1 output-only pin 16 KBI interrupt pins with selectable polarity Hysteresis and configurable pull up device on all input pins; configurable slew rate and drive strength on all output pins. SET/CLR registers on 16 pins (PTC and PTE) 2 No support for Rapid I/O Selectable Rapid I/O supported on PTC and PTE Package Options Pin-to-pin compatible in 80-LQFP and 64-LQFP packages Additional 48-QFN, 44-QFP and 32-LQFP packages 4 1 New feature for ColdFire MCUs 2 New feature for S08 MCUs 3 All peripherals new to ColdFire MCUs 4 32-LQFP package is available only on the MC9S08QE64 derivative no additional packages 4 Freescale Semiconductor

THIS PAGE IS INTENTIONALLY BLANK Freescale Semiconductor 5

How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 +1-800-521-6274 or +1-480-768-2130 support@freescale.com Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) support@freescale.com Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals, must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2007. All rights reserved. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-rohs-compliant and/or non-pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale s Environmental Products program, go to http://www.freescale.com/epp. Document Number: QE128COMPWP Rev. 0 05/2007