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

Similar documents
Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

PCB Layout Guidelines for the MC1321x

MC56F825x/MC56F824x (2M53V) Chip Errata

Using IIC to Read ADC Values on MC9S08QG8

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

56F8300 BLDC Motor Control Application

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

USB Bootloader GUI User s Guide

MPC8349E-mITX-GP Board Errata

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

Using the Multi-Axis g-select Evaluation Boards

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

Component Development Environment Installation Guide

MTIM Driver for the MC9S08GW64

Using the Project Board LCD Display at 3.3 volts

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller

XGATE Library: ATD Average Calculating a rolling average from ATD results

DSP56F827 Digital Signal Controller

Clock Mode Selection for MSC8122 Mask Set K98M

MPC8260 IDMA Timing Diagrams

Using the PowerQUICC II Auto-Load Feature

IIC Driver for the MC9S08GW64

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

Affected Chips Description Impact and Workaround

XGATE Library: Using the Freescale XGATE Software Library Steve McAslan MCD Applications, East Kilbride

etpu Automotive Function Set (Set 2)

Functional Differences Between the DSP56307 and DSP56L307

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

EchoRemote Evaluation Software for Windows

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

Introduction to LIN 2.0 Connectivity Using Volcano LTP

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

Using the Knock Window etpu Function

Using the Asynchronous DMA features of the Kinetis L Series

MCF5216 Device Errata

Using the Serial Peripheral Interface (SPI) Module on 68HC(9)08 Microcontrollers

Mask Set Errata for Mask 2M40J

Mask Set Errata for Mask 5L35K

Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs

MC9S08DZ60 Migrating from the 3M05C to M74K Mask Set D. Scott Brown Applications Engineering Microcontrollers Solutions Group Austin, TX, USA

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

PDB Driver for the MC9S08GW64

Migrating from the MPC852T to the MPC875

SGTL5000 I 2 S DSP Mode

MCF54451, MCF54452, MCF54453, MCF54454,

MPR121 Jitter and False Touch Detection

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

LFAE Bootloader Example and Interface for use with AN2546 Daniel McKenna MCD Applications, East Kilbride Scotland

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A)

Differences Between the DSP56301, DSP56311, and DSP56321

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

Integrating FreeMASTER-Time Debugging Tool with CodeWarrior for Microcontrollers v10.x Project

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

Mask Set Errata for Mask 2N40C

Using the Kinetis Family Enhanced EEPROM Functionality

56F Phase AC Induction Motor V/Hz Control using Processor ExpertTM Targeting Document 56F bit Digital Signal Controllers

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

Configuring the MCF5445x Family for PCI Host Operation

Simplified Device Data Structures for the High-End ColdFire Family USB Modules Melissa Hunter Applications Microcontroller Solutions Group

56F Phase Switched Reluctance Motor Control With Hall Sensors using Processor Expert Targeting Document

TLB Translation Setup for MPC745x and MPC744x in Non-Extended Mode

SCI Driver for the MC9S08GW64

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

Gallium Arsenide PHEMT RF Power Field Effect Transistor

Getting Started with the Student Learning Kit Application Module Using the MC9S12DT256 Microcontroller Application Module

SynkroRF Network. User s Guide

MPR083 Proximity Evaluation Kit User s Guide

Using an I 2 C EEPROM During MSC8157 Initialization

MSC8144 Device Reset Configuration For the MSC8144ADS Board

Using RS08 Microcontrollers with Variable Interrupt Priorities Program Association of RS08 Microcontrollers

ADC Driver for MC9S08GW64

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

Ordering Information Industry standard SOT343R package Device weight = g (typical) Available only in tape and reel packaging Available only in

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

Contact Monitoring and Dual Low-Side Protected Driver

MPR121 Proximity Detection

MPXHZ6400A. Freescale Semiconductor Technical Data. MPXHZ6400A Rev 0, 08/2005

Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated

Using PE to quickly use common communication interfaces on Kinetis

MSC8144AMC-S Getting Started Guide

Writing Touch Sensing Software Using TSI Module

MPC5500 Multi-module Demo: Frequency Detection David Paterson MCD Applications Engineer

2005: 0.5 PQ-MDS-PCIEXP

Transcription:

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., 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

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 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

THIS PAGE IS INTENTIONALLY BLANK 5

How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: 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: 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: 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: 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 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. reserves the right to make changes without further notice to any products herein. makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does 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 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. does not convey any license under its patent rights nor the rights of others. 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 product could create a situation where personal injury or death may occur. Should Buyer purchase or use products for any such unintended or unauthorized application, Buyer shall indemnify and hold 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, Inc. All other product or service names are the property of their respective owners., 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