add additional legal text here if required by your local legal counsel. version # : 1.0 date:...

28
Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12- March-2002 MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001. Place your image on top of this gray box. If no graphic is applicable, delete gray box and notch-out behind gray box, from the Title Master HCS12 Overview 8 & 16-Bit Microcontroller Division

Upload: charlene-small

Post on 15-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

Add additional legal text here if required by your local Legal Counsel.

Version # : 1.0 Date: 12-March-2002

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Place your image on top of this gray box.

If no graphic is applicable, delete gray box

and notch-out behind gray box, from

the Title Master

HCS12 Overview

8 & 16-Bit Microcontroller Division

Page 2: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 2

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Main Features:• 16-bit HCS12 CPU

– Upward compatible with HC11/ 12

instruction set

– Interrupt stacking and programmer’s

model identical to HC11/ 12

– 20-bit ALU

– Instruction pipe

– Enhanced indexed addressing

• SIM (System integration module)

– MEBI (Multiplexed External Bus

Interface)

– MMC (Module Mapping Control)

– INT (Interrupt control)

– BKP (Breakpoints)

– BDM (Background Debug Mode)

• Clocks and Reset Generator (CRG)

- low current oscillator, PLL,

reset, clocks, COP watchdog,

Real time interrupt, clock monitoring

• Memory

– Split Gate Flash EEPROM (paged)

– Split Gate EEPROM

(word write, 2 word erase)

– zero wait state RAM

• Peripherals

– Enhanced Serial Communications Interface (SCI)

– Serial Peripheral interface (SPI)

– 1M bit per second, CAN 2.0 A, B msCAN

module (with paged message buffers)

– Universal Serial Bus 2.0 (USB) interface

– Byte Data Link Controller (BDLC)

– Inter-IC Bus (IIC)

– 10-bit Analog-to-Digital Converter

– Standard 8 channel Timer

– Enhanced Capture Timer (ECT)

– PWM module

– Stepper Motor controller

– LCD controller

and more on the way!

• On-chip Voltage Regulator

– 2.25 to 2.75V Digital Supply Voltage generated

using an internal Voltage Regulator

– 4.75V to 5.25V Analog and I/O Supply Voltage

• Technology: 0.25 micron CMOS

– 50 MHz CPU equivalent to 25MHz bus

operation (66/33MHz in design)

Page 3: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 3

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

MC9S12DP256

Page 4: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 4

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 Building Blocks

Internal Bus

SCI1

PWM 8

CHAN

ECT 8

CHAN

256K FLASEEPROM

12K SRAM

ATD 1

HCS12 CPU

BKP INT MMI

CM BDM MEBI

4K BYTESEEPROM

SIM

msCAN

3

msCAN

2

msCAN

1

SCI0

SPI 2or

PWMCH4-7

msCAN

0or

BDLC

msCAN

4or

IIC

SPI 1or

PWMCH 0-3

SPI 0

ATD 0

PLL PIT

CRG

VREG

• HCS12 CPU Core & System Integration Module

• Support Modules: Vreg & Clocks and Reset Generator

• Memories: Flash, RAM, EEPROM

• Peripherals: Comms interfaces, ATD, Timer, etc.

PIM

Page 5: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 5

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 DocumentationDevice User Guide

MC9S12DP256 Device User Guide (9S12DP256UG/D) [1Mb]

HCS12 V1.5 Core User Guide (S12CPU15UG/D) [6Mb]

Block User Guides

PIM_9DP256 Block User Guide (9S12DP256PIMUG/D)

FTS256K Block User Guide (S12FTS256KUG/D)

EETS4K Block User Guide (S12EETS4KUG/D)

CRG Block User Guide (S12CRGUG/D)

ECT_16B8C Block User Guide (S12ECT16B8CUG/D)

ATD_10B16C Block User Guide (S12ATD10B16CUG/D) [6Mb]

SCI Block User Guide (S12SCIUG/D)

SPI Block User Guide (S12SPIUG/D)

PWM_8B8C Block User Guide (S12PWM8B8CUG/D)

MSCAN Block User Guide (S12MSCANUG/D)

VREG Block User Guide (S12VREGUG/D)

Watch out for the Rev Number of each Guide - there is a list in the Device User Guide of

which rev was appropriate when the device was created.

Click here to learn how to receive up-to-date technical documentation Useful Engineering Bulletins

EB386 HCS12 D-Family Compatibility ConsiderationsEB376 A comparison of the MC9S12DP256 (mask set 0K36N) versus the HC12

Page 6: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 6

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

CPU Core

(Programming

Model)

Page 7: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 7

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Core Features (1 of 2)

• HCS12 has identical programmers model to M68HC11/M68HC12• No new registers

• No changes in interrupt stacking order

• Muxed and non-muxed external interfaces

• Possible to reuse existing software source code- Note: timing loops change due to new clock frequency,

- Byte counts and instruction cycle times.

- Almost all peripheral drivers will require updating

• Performance improvement when using new instructions

• Reduced interrupt latency

• Increased math speed

• Increased performance• Instruction Queue data to increase performance

• Instructions execute faster while remaining deterministic

Page 8: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 8

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Core Features (2 of 2)

• HC11 instruction set with extra instructions designed with compilers in mind:• New instructions and addressing modes to support high level languages.*

• Added

• Stack pointer and program counter offset indexed addressing

• 11 math instructions

• Long branch instruction (16 bit offset)

• Move instruction (memory to memory)

• Min / max functions

• Bit manipulations for entire memory map

• Exchange / transfer

• Table look-up and interpolate function

• Looping construct

• Fuzzy logic instructions

* MC68HC12 and HCS12 have Identical Instruction Set.

Page 9: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 9

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 Programmers Model

68HC11 = 68HC12 = HCS12 Programmers Model

Carry/Borrow (From MSB)OverflowZeroNegative (MSB = 1)

8-Bit Accumulators A and B

Index Register X

Index Register Y

Stack Pointer

Program Counter

Condition Codes Register

or 16-Bit Double Accumulator D

S X H I N Z V C

7 0

77

15

0 0

0

0

0

0

0

15

15

15

15 PC

SP

Y

X

D

BA

I-Interrupt MaskHalf Carry (For BCD)X-Interrupt MaskSTOP Disable

Source code compatible

Identical stack frame

* PPAGE used by CALL &

Return To Call (RTC).

(paged HC(S)12 only)

5 0PPAGE *

HC05 / HC08 / HCS12

HC08 / HCS12

Page 10: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 10

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Condition Code Register

S - Disables STOP instruction when set.

X - Masks XIRQ request when set.

- set by hardware reset, cleared by software.

- set by unmaskable XIRQ

I - Masks interrupt request from all

IRQ level sources ( both external and internal )

when set.

- set by unmasked I level request

or unmasked XIRQ

MASKING BITS ARITHMETIC BITS • Reflect results of instruction execution.

C - Carry/Borrow from MSB

unsigned arithmetic

V - 2's complement overflow indication

signed arithmetic

Z - Zero result

N - Negative ( follows MS Bit of result )

H - Half Carry from bit 3 to bit 4

ADD operations only

S X H I N Z V C

Page 11: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 11

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 Serial Interface Features

• 2 SCI Interfaces

• Up to 3 SPI interfaces

• SCI is Asynchronous Communication Port

•13-bit break support

• SPI is a Synchronous High Speed Communication Port

• Modular Architecture allows future expansion

• SCI & SPI are similar to MC68HC11 with

enhancements

• pins may be configured as general purpose I/O

• Loop mode operation for debugging

• SCI & SPI have single-wire function

SCI0RxD0

TxD0RxDTxDRxDTxD

MISOMOSISCKSSMISOMOSISCKSS

MISOMOSISCKSS

DDRS

PORT S

SPI1MISOMOSISCKSS

SPI0MISOMOSISCKSS

SPI2MISOMOSISCKSS

SCI1RxD0

TxD0

Page 12: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 12

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

PinLogic Delay

Counter

COMPARATOR

CAP./COM. Register Pulse Accumulator

16-Bit Free-runningMain Timer

Hold RegisterHold Register

PrescalerBus

Clock

CH1

16-Bit ModuloDown-CounterPrescaler

0

• 16-bit main timer with 7-bit Prescaler• 8 IC/OC channels, 4 IC channels buffered• 16-Bit modulus Down-Counter with 4-bit prescaler for:

•periodic interrupt time base•control IC/PA register latch

• 4 8-Bit or 2 16-bit pulse accumulators with 4 8-bit buffer registers• independent Interrupt sources: 8 IC/OC, Timer OF, 3 PA, MC• 4 inputs with selectable Delay Counters to filter out spurious signals

ControlBits

Reset

load Register

MC9S12 Enhanced Capture Timer

Page 13: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 13

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

o

Standardized interface between peripheral modules and I/O pads for all ports except A,B,E,K.Port control function within standard peripheral modules has been removed

Standard Port features:

User Defined "electrical" characteristics on a pin by pin basis:

– reduced drive– wired-or mode – pull-ups /downs*(* Here certain precautions are taken such as if the CAN

is enabled pull-up is allowed but pull-down is blocked)

-> High Flexibility

• Port registers relocatable in

memory map -> High Flexibility

PIM

Tim

er

Po

rtT

PT0PT1PT2PT3PT4PT5PT6PT7

IOC0IOC1IOC2IOC3IOC4IOC5IOC6IOC7

PW

M

Po

rtP

PP0PP1PP2PP3PP4PP5PP6PP7

PW0PW1PW2PW3PW4PW5PW6PW7

SCI0

Po

rtS

PS0PS1PS2PS3PS4PS5PS6PS7

RxDTxDRxDTxD

SDI/MISOSDO/MOSI

SCKSS

SCI1

SPI

Inte

rrup

tL

og

ic

Po

rtH

PH0PH1PH2PH3PH4PH5PH6PH7

Inter.L.

Po

rtJ

PJ0PJ1PJ6PJ7 IIC

CAN4

SDASDLRxCANTxCAN

Po

rtM

PM0PM1PM2PM3PM4PM5PM6PM7

RxCANTxCANRxCANTxCANRxCANTxCANRxCANTxCAN

CAN3

CAN2

BDLC

CAN0

CAN1

RxBTxB

New: Port Integration Module PIM

Page 14: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 14

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

IIC Features

• Compatible with I2C Bus standard

• Multi-master operation

• Software programmable for one of 256 different serial clock

frequencies

• Software selectable acknowledge bit

• Interrupt driven byte-by-byte data transfer

• Arbitration lost interrupt with automatic mode switching from

master to slave

• Calling address identification interrupt

• Start and stop signal generation/detection

• Repeated start signal generation

• Acknowledge bit generation/detection

• Bus busy detection

• Low power modes support

• Shared with msCAN 4

Page 15: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 15

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

msCAN Bus Up to 5 msCAN Modules (msCAN)

• 3 Tx message buffers each Automatically Mapped

• 5 Background Rx Buffers

• Programmable I/O modes

• Maskable interrupts

• Programmable loop-back for self test operation

• Independent of the transmission medium (external transceiver is assumed)

• Open network architecture

• Multimaster concept

• High immunity to EMI

• Short latency time for high-priority messages

• Low power sleep mode, with programmable wake up on bus activity

Note: msCAN 0 is multiplexed with BDLC msCAN 4 is multiplexed with IIC.

Page 16: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 16

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

BDLC CONTROLLER (J1850)

• SAE J1850 Compatible

• 10.4Kbps VPW bit format

• Digital noise filter

• Collision detection

• Hardware CRC generation & checking

• Receive and Transmit Block mode supported

• Supports 4X receive mode (41.6 Kbps)

• Digital loopback mode

• In-frame Response (IFR) Types 0, 1, 2, and

3 supported

• Power-Saving Stop and Wait modes with Automatic

Wakeup on Network Activity

• Interrupt Generation with Vector Lookup Table

Page 17: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 17

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Analog to Digital Converter

• 8/10 Bit Resolution.

• 7 usec, 10-Bit Single Conversion Time.

• Sample Buffer Amplifier.

• Programmable Sample Time.

• Left/Right Justified, Signed/Unsigned Result Data.

• External Trigger Control.

• Conversion Completion Interrupt Generation.

• Analog Input Multiplexer for 8 Analog Input Channels.

• Analog/Digital Input Pin Multiplexing.

• 1 to 8 Conversion Sequence Lengths.

• Continuous Conversion Mode.

• Multiple Channel Scans.

Page 18: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 18

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

PWM FEATURES

- 8 INDEPENDENT PWM CHANNELS WITH PROGRAMMABLE PERIOD AND DUTY CYCLE.

- 8-BIT 8-CHANNELS OR 16-BIT 4-CHANNELS.

- DEDICATED COUNTER FOR EACH CHANNEL.

- FLEXIBLE CLOCK GENERATION ( A, B, SA AND SB ) THAT COVERS WIDE RANGE OF FREQUENCIES. - PERIOD AND DUTY CYCLE ARE DOUBLE BUFFERED.

- ALLOWS FOR IMMEDIATE PWM UPDATE.

- POLARITY IS SOFTWARE SELECTABLE.

- PROGRAMMABLE CENTER OR LEFT-ALIGNED PWM OUTPUT.

- EMERGENCY SHUT DOWN

Page 19: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 19

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 Device Identification

The part ID is located in two 8-bit registers PARTIDH and PARTIDL. The read-only value is a unique part ID for each revision of the die.

The coding is as follows:Bit 15-12: Major family identifierBit 11-8: Minor family identifierBit 7-4: Major mask set revision number including FAB transfersBit 3-0: Minor - non full - mask set revision

The device memory sizes are located in two 8-bit registers MEMSIZ0 and MEMSIZ1.

Page 20: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 20

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

•Crystal oscillator (OSC)Colpitts with translated GND (as per HC12D- Family) or traditional Pierce configurations

•Crystal Monitor (CM)same as on HC12D-Family

•Clock Quality Checker (CQC)ensures valid clock for operation

•Phase Locked Loop (PLL)same as on HC12D-Family

•Self Clock Mode with internal oscillator •System Clocks Generator (CGEN)

simplified clock chain:•Core clock = PLLCLK or OSCCLK•Peripherals clock = PLLCLK/2 or OSCCLK/2 (25% duty)•ECLK = PLLCLK/2 or OSCCLK/2 (50% duty)no Slow Mode Clock

•System Reset Generator (RGEN)same Reset functionality as on HC12D-Family:Reset by POR, COP, ext. Reset, Clock Monitor

•Real Time Interrupt (RTI) - slightly different divider chain•Watchdog (COP) - slightly different divider chain

• LOW POWER OSCILLATOR• SUPPORTS OPERATION UP TO 33 MHz

CRG

OSC PLL

CM RTI

COP CGEN

POR RGEN

Registers&Control

EXTAL

XTAL

VDDPLL

XFC

VSSPLL

RESET

InternalBusInterface

MC9S12 Clocks & Reset Gen (CRG)

CQC

Page 21: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 21

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Power Saving Design Features:

• Low power Oscillator design (Engineered to avoid power-wasting harmonics)

• User Configurable Low Power Peripheral modes

RUN Mode (full operation):

• 65 mA max - However peripherals automatically shut down if not in use

WAIT Mode (CPU sleeping):

• Peripheral modules can be configured in power conservation mode

• 40 mA max with all modules enabled

• 5 mA max with only Real Time interrupt enabled

STOP Mode (All modules stopped - Osc etc):

• 30uA * Typical

Pseudo STOP Mode (All modules stopped):

• 350uA * Typ - However Osc runs in low power mode enabling wake-up as fast as in WAIT mode

*At 27oC.

MC9S12 Low Power Modes:

Page 22: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 22

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 Resets

• POR (power-on reset)• Special delayed reset to allow oscillator to stabilize. Does not replace LVI

function.• Thresholds: Releases when Vdd2.5 goes above 2.07V, Active when Vdd2.5

goes below 0.97V.• Clock quality check window is 50K self-clock cycles• If oscillator amplitude and freq. are sufficient for 4096 cycles to be

detected during a quality check window reset is exited using the XTALclock.

• Up to 50 quality check windows can occur if oscillator is slow to start. After 50 unsuccessful cycles Self Clock Mode is entered.

• POR bit can be checked for cause of last reset.• POR bit can only be cleared by software.

Page 23: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 23

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Crystal Monitor Function:• Detects crystal failure and takes user-specified action - bad clock detect.

Clock Quality Checker:• Performs a window check on the oscillator to ensure that the MCU only executes from a stable clock - good clock detect.

•Self Clock Mode:• Limited operation still possible even with temporary crystal problem

• allows controlled shut-down in event of oscillator failure

• allows for slow start-up of crystal oscillators

Flexible Watchdog:• Can be used as “windowed w/dog” - (eg refresh only between 75-100% of period)

- further reduces possibility of code run-away

• Independent from PLL (clocked directly from crystal) - secure even if PLL fails

Further Reading:

• AN2201/D: “ Low Battery Cranking Pulse in Automotive Applications”(This app note shows how the HCS12 and SBC devices can be used together in a cost efficient manner for Automotive conditions).

MC9S12 - System Integrity...

Page 24: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 24

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

• Low cost serial real-time emulation and debug

• Single step, Run, or Trace the application code

• On-chip hardware for multiple breakpoints

• Replaces expensive emulator or bus analyzer

• Works at full operating voltage and frequency range

• Non-intrusive - no cumbersome emulator cables

• In-circuit FLASH programming

BDM on MC9S12:

BDM Development Tools

Page 25: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 25

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Highly Flexible Flash:• 5 volt FLASH - no external charge pump required

• Market-leading Flash Granularity - 512B Flash Erase / 2B Program

- Virtual EEPROM implementation possible for EE extension

• 4 independently programmable Flash Segments

- Can erase one block whilst reading another

High Speed Programming:• Fast Flash Page Erase - 20ms (512bytes)

• Can program 16 bits in 20us

• Total Program Time for 128K Code down to: <5 seconds!(App note AN2204 "Fast NVM Programming for the MC9S12DP256" is now published)

Efficient End Of Line Programming Possible

MC9S12 0.25u Flash - the Best in the Industry:

Page 26: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 26

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 Power Supplies

• Vddr: Supplies regulator and Ports A,B,E,H - connect to 5V

and bypass with 100 nF

• Vdd1,2: Outputs from 2.5V regulator. Supply core - bypass with 47-220 nF depending upon EMC results.

• Vddpll: Output from 2.5V regulator. Supplies Osc. and PLL - bypass with 22-100 nF

• Vdda: Supply to A/D. Connect to 5V and bypass with 22-100 nF

• Vrh: Reference for A/D. Connect to 5V and bypass with 10 nF

• Vddx: Supply for all ports except those supplied by Vddr. Connect to 5V and bypass with 47-220 nF. Add 10

uF if big loads are switched.

Page 27: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 27

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

HCS12 Power Supplies

Page 28: Add additional legal text here if required by your local Legal Counsel. Version # : 1.0 Date: 12-March-2002 MOTOROLA and the Stylized M Logo are registered

HCS12 Technical Training Module 1 – System Overview, Slide 28

MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2001.

Make sure you have the most up-to-date technical documentation on all Motorola semiconductor products. Subscribe to receive weekly e-mail updates about new and revised technical documentation for Motorola products. Each e-mail will contain direct links to the new documentation and the product home page. Visit Motorola's Semiconductor Products Sector Web site, and select "products" from the Product Catalog, Design Resources, Communications, Networking or Automotive sections. Signing up is as easy as one, two, three: 1. Select a category of products. 2. Select the product of your choice. 3. Once on the product page, select the link titled "Subscribe for Updates" on the right side of the page.

You may unsubscribe from this service at any time by following the instructions at the bottom of the update e-mail or by changing your subscription preferences after logging in. Why wait? Sign up today!

Technical Subscription Service