MC908GR8CPE

MC908GR8CPE Datasheet


MC908GR8CFAR2

Part Datasheet
MC908GR8CPE MC908GR8CPE MC908GR8CPE (pdf)
Related Parts Information
MC68HC908GR8CDW MC68HC908GR8CDW MC68HC908GR8CDW
MC908GR4CDWE MC908GR4CDWE MC908GR4CDWE
MC68HC908GR4CFA MC68HC908GR4CFA MC68HC908GR4CFA
MC908GR8CDWE MC908GR8CDWE MC908GR8CDWE
MCHC908GR8CFAE MCHC908GR8CFAE MCHC908GR8CFAE
MCHC908GR8CFAER MCHC908GR8CFAER MCHC908GR8CFAER
MCHC908GR8MFAE MCHC908GR8MFAE MCHC908GR8MFAE
MC908GR4CPE MC908GR4CPE MC908GR4CPE
MC908GR8CDWER MC908GR8CDWER MC908GR8CDWER
MC908GR8CBE MC908GR8CBE MC908GR8CBE
MC68HC908GR4CFAE MC68HC908GR4CFAE MC68HC908GR4CFAE
MCHC908GR8VFAE MCHC908GR8VFAE MCHC908GR8VFAE
MC68HC908GR8CFA MC68HC908GR8CFA MC68HC908GR8CFA
MC68HC908GR8CP MC68HC908GR8CP MC68HC908GR8CP
PDF Datasheet Preview
Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

MC68HC908GR8 MC68HC908GR4

Technical Data

M68HC08

Microcontrollers

For More Information On This Product, Go to:

Freescale Semiconductor, Inc...

Freescale Semiconductor, Inc.

For More Information On This Product, Go to:

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

MC68HC908GR8 MC68HC908GR4

Technical Data Rev

Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola 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 which may be provided in Motorola 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. Motorola does not convey any license under its patent rights nor the rights of others. Motorola 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 Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola 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 Motorola was negligent regarding the design or manufacture of the part. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.

Motorola and are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc.

For More Information On This Product, Go to:

Motorola, Inc., 2002 Technical Data 3

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

Technical Data 4

MC68HC908GR8 Rev

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

Technical Data MC68HC908GR8

List of Paragraphs

List of Paragraphs. 5 Table of Contents 7 List of Tables 17 List of Figures 19 Section General Description 25 Section Memory Map 35 Section Low Power Modes. 49 Section Resets and Interrupts 61 Section Analog-to-Digital Converter ADC 79 Section Break Module BRK 91 Section Clock Generator Module CGMC 99 Section Configuration Register CONFIG 129 Section Computer Operating Properly COP 133 Section Central Processing Unit CPU 139 Section Flash Memory 157 Section External Interrupt IRQ 167 Section Keyboard Interrupt KBI 175 Section Low-Voltage Inhibit LVI 183 Section Monitor ROM MON 189 Section Input/Output Ports I/O 205

List of Paragraphs

For More Information On This Product, Go to:

Technical Data 5

Freescale Semiconductor, Inc. List of Paragraphs
Freescale Semiconductor, Inc...

Technical Data 6

MC68HC908GR8 Rev

List of Paragraphs

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc...

Freescale Semiconductor, Inc.

Technical Data MC68HC908GR8

Table of Contents

List of Paragraphs

Table of Contents

List of Tables

List of Figures

Section General Description

Contents 25 Introduction 25 Features 26 MCU Block Diagram 28 Pin Assignments 30 Pin Functions 31

Section Memory Map

Contents 35 Introduction 35 Unimplemented Memory Locations 35 Reserved Memory Locations 36 Input/Output I/O Section. 36

Table of Contents

For More Information On This Product, Go to:

Technical Data 7

Table of Contents

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

Technical Data 8

Section Low Power Modes

Contents 49 Introduction 49 Analog-to-Digital Converter ADC 50 Break Module BRK . 51 Central Processor Unit CPU . 51 Clock Generator Module CGM 52 Computer Operating Properly Module COP . 52 External Interrupt Module IRQ 53 Keyboard Interrupt Module KBI 53 Low-Voltage Inhibit Module LVI 54 Serial Communications Interface Module SCI 54 Serial Peripheral Interface Module SPI 55 Timer Interface Module TIM1 and TIM2 55 Timebase Module TBM 56 Exiting Wait Mode. 57 Exiting Stop Mode. 58

Section Resets and Interrupts

Contents 61 Introduction 61 Resets. Interrupts. 66

Section Analog-to-Digital Converter ADC

Contents 79 Introduction 79

MC68HC908GR8 Rev

Table of Contents

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc...

Freescale Semiconductor, Inc.

Table of Contents

Features 80 Functional Description 80 Interrupts. 83 Low-Power Modes I/O Signals 83 I/O Registers. 85

Section Break Module BRK

Contents 91 Introduction 91 Features 91 Functional Description 92 Low-Power Modes Break Module Registers
Section Ordering Information

Contents 391 Introduction 391 MC Order Numbers 392 Development Tools. 393

Glossary

Technical Data 16

MC68HC908GR8 Rev

Table of Contents

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

Technical Data MC68HC908GR8

List of Tables

Table
2-1 4-1 4-2 5-1 5-2 7-1 7-2 7-3 10-1 10-2 11-1 14-1 15-1 15-2 15-3 15-4 15-5 15-6 15-7 15-8 15-9 16-1 16-2 16-3 16-4 16-5 16-6 18-1 18-2

Vector Addresses 47 Interrupt Sources 70 Interrupt Source Flags 75 Mux Channel Select 86 ADC Clock Divide Ratio 88 Numeric Example 109 PRE 1 and PRE0 Programming 117 VPR1 and VPR0 Programming 117 Instruction Set Summary 147 Opcode Map 155 Examples of protect start address 166 LVIOUT Bit Indication 187 Monitor Mode Signal Requirements and Options 193 Mode Differences 196 Monitor Baud Rate Selection 197 READ Memory Command 199 WRITE Memory Command. 199 IREAD Indexed Read Command 200 IWRITE Indexed Write Command 200 READSP Read Stack Pointer Command RUN User Program Command 201 Port Control Register Bits Summary. 208 Port A Pin Functions 211 Port B Pin Functions 215 Port C Pin Functions. 218 Port D Pin Functions. 223 Port E Pin Functions 227 Pin Name Conventions 233 Start Bit Verification 244

List of Tables

For More Information On This Product, Go to:

Technical Data 17

Freescale Semiconductor, Inc...

List of Tables

Freescale Semiconductor, Inc.
18-3 18-4 18-5 18-6 18-7 18-8 19-1 19-2 19-3 19-4 20-1 20-2 20-3 20-4 21-1 22-1 22-2 22-3 23-1 23-2 23-3 23-4 23-5 23-6 23-7 23-8 23-9 25-1 25-2 25-3

Data Bit Recovery. 244 Stop Bit Recovery 245 Character Format Selection SCI Baud Rate Prescaling 266 SCI Baud Rate Selection 266 SCI Baud Rate Selection Examples 268 Signal Name Conventions 273 PIN Bit Set Timing Interrupt Sources 286 SIM Registers 293 Pin Name Conventions 299 SPI Interrupts 314 SPI Configuration 321 SPI Master Baud Rate Selection 327 Timebase Rate Selection for OSC1 = kHz 331 Pin Name Conventions 336 Prescaler Selection. 351 Mode, Edge, and Level Selection Absolute Maximum Ratings Functional Operation Range. 363 Thermal Characteristics 363 5.0V DC Electrical Characteristics 364 V DC Electrical Characteristics. 366 V Control Timing 368 V Control Timing 369 Timer Interface Module Characteristics 383 CGM Component Specifications. 383 MC Order Numbers 392 Development Tool Kits 393 Development Tool Components 393

Technical Data 18

MC68HC908GR8 Rev

List of Tables

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

Technical Data MC68HC908GR8

List of Figures

Figure
1-1 MCU Block Diagram 29 1-2 QFP Pin Assignments. 30 1-3 DIP And SOIC Pin Assignments. 31 1-4 Power Supply Bypassing 32 2-1 Memory Map. 37 2-2 Control, Status, and Data Registers 39 4-1 Internal Reset Timing 62 4-2 Power-On Reset Recovery 63 4-3 SIM Reset Status Register SRSR 65 4-4 Interrupt Stacking Order 4-5 Interrupt Recognition Example 68 4-6 Interrupt Processing 69 4-7 Interrupt Status Register 1 INT1 . 4-8 Interrupt Status Register 2 INT2 . 4-9 Interrupt Status Register 3 INT3 . 5-1 ADC Block Diagram 81 5-2 ADC Status and Control Register ADSCR 85 5-3 ADC Data Register ADR 87 5-4 ADC Clock Register ADCLK 88 6-1 Break Module Block Diagram 92 6-2 I/O Register Summary 93 6-3 Break Status and Control Register BRKSCR . 95 6-4 Break Address Register High BRKH 96 6-5 Break Address Register Low BRKL 96 6-6 SIM Break Status Register SBSR 96 6-7 SIM Break Flag Control Register SBFCR 98 7-1 CGMC Block Diagram 101 7-2 CGMC External Connections 111 7-3 CGMC I/O Register Summary 114

List of Figures

For More Information On This Product, Go to:

Technical Data 19

List of Figures

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

Technical Data 20
Section Ordering Information

Contents

Introduction 391 MC Order Numbers 392 Development Tools. 393

Introduction
This section contains instructions for ordering the MC68HC908GR8 and MC68HC908GR4.

Freescale Semiconductor, Inc...
Ordering Information

For More Information On This Product, Go to:

Technical Data 391

Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Ordering Information

MC Order Numbers

Table MC Order Numbers

MC Order Number 1

Production Parts

MC68HC908GR8CP MC68HC908GR8CFA MC68HC908GR8CDW MC68HC908GR8VFA MC68HC908GR8VP MC68HC908GR8VDW MC68HC908GR8MFA MC68HC908GR8MP MC68HC908GR8MDW

MC68HC908GR4CP MC68HC908GR4CFA MC68HC908GR4CDW MC68HC908GR4VFA MC68HC908GR4VP MC68HC908GR4VDW MC68HC908GR4MFA MC68HC908GR4MP MC68HC908GR4MDW

MC908GR8CFAR2

MC908GR8CDWR2 MC908GR8VFAR2 MC908GR8VDWR2

Tape and Reel

MC908GR8MFAR2 MC908GR8MDWR2

MC908GR4CFAR2 MC908GR4CDWR2 MC908GR4VFAR2

MC908GR4VDWR2 MC908GR4MFAR2 MC908GR4MDWR2

FA = quad flat pack P = plastic dual in line package DW = Small outline integrated circuit SOIC package

Operating Temperature Range
40 to + 85 40 to + 85 40 to + 85 40 to + 105 40 to + 105 40 to + 105 40 to + 125 40 to + 125 40 to + 125
40 to + 85 40 to + 85 40 to + 85 40 to + 105 40 to + 105 40 to + 105 40 to + 125 40 to + 125 40 to + 125
40 to + 85 40 to + 85 40 to + 105 40 to + 105 40 to + 125 40 to + 125
40 to + 85 40 to + 85 40 to + 105 40 to + 105 40 to + 125 40 to + 125

Technical Data 392

MC68HC908GR8 Rev
Ordering Information

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc...

Freescale Semiconductor, Inc.
Ordering Information Development Tools

Development Tools
Ordering Part Number M68ICS08GR

KITMMEVS08GR KITMMDS08GR

Table Development Tool Kits

HC908GR8 ICS KIT includes M68ICS08GR programmer board, Windowsbased IDE, 68HC908GR8 sample, ICS Board & IDE documentation, Universal Power Supply, Serial cable

HC908GR8 EVS KIT includes M68MMPFB0508, M68EML08GP32, M68CBL05C, M68TC08GR8P28, M68TC08GR8FA32, M68TQS032SAG1, M68TQP032SA1, M68ICS08GR Kit

HC908GR8 MMDS KIT includes M68MMDS0508, M68EML08GP32, M68CBL05C, M68TC08GR8P28, M68TC08GR8FA32, M68TQS032SAG1, M68TQP032SA1, M68ICS08GR Kit

Table Development Tool Components
Ordering Part Number

M68MMDS0508

High performance emulator

M68MMPFB0508

MMEVS Platform Board

M68EML08GP32

HC908GP32 Emulator Board

M68CBL05C

Low noise flex-cable

M68TC08GR8P28 28-pin DIP target head adapter

M68TC08GR8FA32 32-pin QFP target head adapter

M68TQS032SAG1 32-pin TQ socket with guides

M68TQP032SA1
32-pin TQPACK

Comments Used for HC908GR8/GR4 emulation
Ordering Information

For More Information On This Product, Go to:

Technical Data 393
Freescale Semiconductor, Inc. Ordering Information

Freescale Semiconductor, Inc...

Technical Data 394

MC68HC908GR8 Rev
Ordering Information

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...

Technical Data MC68HC908GR8

Glossary

A See “accumulator A .”
accumulator A An 8-bit general-purpose register in the CPU08. The CPU08 uses the accumulator to hold operands and results of arithmetic and logic operations.
acquisition mode A mode of PLL operation during startup before the PLL locks on a frequency. Also see "tracking mode."
address bus The set of wires that the CPU or DMA uses to read and write memory locations.
addressing mode The way that the CPU determines the operand address for an instruction. The M68HC08 CPU has 16 addressing modes.

ALU See “arithmetic logic unit ALU .”
arithmetic logic unit ALU The portion of the CPU that contains the logic circuitry to perform arithmetic, logic, and manipulation operations on operands.
asynchronous Refers to logic circuits and operations that are not synchronized by a common reference signal.
baud rate The total number of bits transmitted per unit of time.

BCD See “binary-coded decimal BCD .”
binary Relating to the base 2 number system.
binary number system The base 2 number system, having two digits, 0 and Binary arithmetic is convenient in digital circuit design because digital circuits have two permissible voltage levels, low and high. The binary digits 0 and 1 can be interpreted to correspond to the two digital voltage levels.
binary-coded decimal BCD A notation that uses 4-bit binary numbers to represent the 10 decimal digits and that retains the same positional structure of a decimal number. For example,
234 decimal = 0010 0011 0100 BCD
bit A binary digit. A bit has a value of either logic 0 or logic

Glossary

For More Information On This Product, Go to:

Technical Data 395

Glossary

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc...
branch instruction An instruction that causes the CPU to continue processing at a memory location other than the next sequential address.
break module A module in the M68HC08 Family. The break module allows software to halt program execution at a programmable point in order to enter a background routine.
breakpoint A number written into the break address registers of the break module. When a number appears on the internal address bus that is the same as the number in the break address registers, the CPU executes the software interrupt instruction SWI .
break interrupt A software interrupt caused by the appearance on the internal address bus of the same value that is written in the break address registers.
bus A set of wires that transfers logic signals.
bus clock The bus clock is derived from the CGMOUT output from the CGM. The bus clock frequency, fop, is equal to the frequency of the oscillator output, CGMXCLK, divided by four.
byte A set of eight bits.

C The carry/borrow bit in the condition code register. The CPU08 sets the carry/borrow bit when an addition operation produces a carry out of bit 7 of the accumulator or when a subtraction operation requires a borrow. Some logical operations and data manipulation instructions also clear or set the carry/borrow bit as in bit test and branch instructions and shifts and rotates .

CCR See “condition code register.”
central processor unit CPU The primary functioning unit of any computer system. The CPU controls the execution of instructions.

CGM See “clock generator module CGM .”
clear To change a bit from logic 1 to logic 0 the opposite of set.
clock A square wave signal used to synchronize events in a computer.
Ordering Information

New section added

Section

Monitor ROM MON

Timebase Module TBM

Timer Interface Module TIM

Electrical Specifications

Page in Rev

Description of change

The blank state of the reset vectors, and was incorrectly defined as and is now This affects several places in the Monitor ROM MON section. The information was previously described in an addendum. See details below:

Penultimate bullet of features list

Final sentence of first paragraph Each list item in Entering Monitor Mode section

Third column of Table 15-1

Several changes for clarification

Several changes for clarification

Typical column added to table. Typical values added for FLASH row program endurance and FLASH data retention time

Technical Data 406

MC68HC908GR8 Rev

For More Information On This Product, Go to:

MOTOROLA

Freescale Semiconductor, Inc...

Freescale Semiconductor, Inc.

For More Information On This Product, Go to:

Freescale Semiconductor, Inc...

Freescale Semiconductor, Inc.

HOW TO REACH US:

USA/EUROPE/LOCATIONS NOT LISTED:

Motorola Literature Distribution P.O. Box 5405, Denver, Colorado 80217 1-303-675-2140 or 1-800-441-2447

JAPAN:

Motorola Japan Ltd. SPS, Technical Information Center, 3-20-1, Minami-Azabu Minato-ku, Tokyo 106-8573 Japan 81-3-3440-3569

ASIA/PACIFIC:

Motorola Semiconductors H.K. Ltd. Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong 852-26668334

TECHNICAL INFORMATION CENTER:
1-800-521-6274

HOME PAGE:

Information in this document is provided solely to enable system and software implementers to use Motorola 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.

Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola 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 which may be provided in Motorola 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. Motorola does not convey any license under its patent rights nor the rights of others. Motorola 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 Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola 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 Motorola was negligent regarding the design or manufacture of the part.

Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office. digital dna is a trademark of Motorola, Inc. All other product or service names are the property of their respective owners. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.

Motorola, Inc. 2002

MC68HC908GR8/D

For More Information On This Product, Go to:
More datasheets: DCMMY-21WA4S | LTST-S270EKT | MMAD1105/TR13 | MMAD1105E3/TR13 | CA3101F16-10SF80 | FH34S-10S-0.5SH(50) | MC68HC908GR8CDW | MC908GR4CDWE | MC68HC908GR4CFA | MC908GR8CDWE


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MC908GR8CPE Datasheet file may be downloaded here without warranties.

Datasheet ID: MC908GR8CPE 635494