MC68HC908LB8VPE

MC68HC908LB8VPE Datasheet


MC68HC908LB8

Part Datasheet
MC68HC908LB8VPE MC68HC908LB8VPE MC68HC908LB8VPE (pdf)
Related Parts Information
MC68HC908LB8CDWE MC68HC908LB8CDWE MC68HC908LB8CDWE
MC68HC908LB8CPE MC68HC908LB8CPE MC68HC908LB8CPE
MC68HC908LB8MDWE MC68HC908LB8MDWE MC68HC908LB8MDWE
MC68HC908LB8MPE MC68HC908LB8MPE MC68HC908LB8MPE
MC908LB8VDWER MC908LB8VDWER MC908LB8VDWER
MC908LB8MDWER MC908LB8MDWER MC908LB8MDWER
MC68HC908LB8VDWE MC68HC908LB8VDWE MC68HC908LB8VDWE
PDF Datasheet Preview
MC68HC908LB8

Data Sheet

M68HC08 Microcontrollers
freescale.com

MC68HC908LB8

Data Sheet

Date 1/2005 8/2005

First release

Section Application Information added. Minor changes to the second and third paragraphs in the note in Section Deadtime Insertion.

Page Number s
56 101

Freescale Semiconductor

Freescale Semiconductor

List of Sections
Chapter 1 General Description Chapter 2 Memory Chapter 3 Analog-to-Digital Converter ADC . 45 Chapter 4 Op Amp/Comparator Module Chapter 5 Configuration Register CONFIG 59 Chapter 6 Computer Operating Properly COP Module 63 Chapter 7 Central Processor Unit CPU . 67 Chapter 8 External Interrupt IRQ 81 Chapter 9 Keyboard Interrupt Module KBI Chapter 10 High Resolution PWM HRP Chapter 11 Low-Power Modes 113 Chapter 12 Low-Voltage Inhibit LVI 119 Chapter 13 Oscillator Module OSC Chapter 14 Input/Output I/O Ports. 133 Chapter 15 Pulse Width Modulator with Fault Input PWM 141 Chapter 16 Resets and Interrupts 163 Chapter 17 System Integration Module SIM Chapter 18 Timer Interface Module TIM Chapter 19 Development Support 203 Chapter 20 Electrical Specifications Chapter 21 Ordering Information and Mechanical Specifications 231

Freescale Semiconductor

MC68HC908LB8 Data Sheet

Freescale Semiconductor

Table of Contents

Chapter 1 General Description

Introduction 17 Features. 17

Standard Features of the MC68HC908LB8 17 Features of the CPU08 19 MCU Block Diagram 19 Pin Assignments 20 Pin Functions 21 Pin Function Priority. 22 System Clock Distribution 24

Chapter 2 Memory

Introduction 25

Unimplemented Memory Locations 25

Reserved Memory Locations 25

Register Section. 25

Random-Access Memory RAM 35

FLASH Memory FLASH 36 FLASH Control Register. 37 FLASH Page Erase Operation 37 FLASH Mass Erase Operation. 38 FLASH Program/Read Operation 39 FLASH Block Protection. 40 FLASH Block Protect Register 42 Wait Mode 43 Stop Mode 43

Chapter 3 Analog-to-Digital Converter ADC

Introduction 45

Features. 46

Functional Description 46 ADC Port I/O Pins 46 Voltage Conversion 47 Conversion Time 47 Conversion 47 Accuracy and Precision 47

Monotonicity. 47

Freescale Semiconductor

Interrupts 47

Low-Power Modes 48 Wait Mode 48 Stop Mode 48

I/O Signals 48

I/O Registers 48 ADC Status and Control Register 48 ADC Data Register. 50 ADC Clock Register 50

Chapter 4 Op Amp/Comparator Module

Introduction 53 Features. 53 Pin Name Conventions 53 Functional Description 54 Low Power Modes 55

Wait Mode 55 Stop Mode 55 Op Amp/Comparator Control Register. 55 Application Information 56

Chapter 5 Configuration Register CONFIG

Introduction 59 Functional Description 59

Chapter 6 Computer Operating Properly COP Module

Introduction 63

Functional Description 63

I/O Signals 64 BUSCLKX4 64 COPCTL Write 64 Power-On Reset. 64 Internal Reset. 64 Reset Vector Fetch 64 COPD COP Disable . 65 COPRS COP Rate Select 65

COP Control Register 65

Interrupts 65

Monitor Mode 65

Low-Power Modes 65 Wait Mode 65 Stop Mode 65

MC68HC908LB8 Data Sheet

Freescale Semiconductor

Chapter 7 Central Processor Unit CPU
Chapter 21 Ordering Information and Mechanical Specifications

Introduction 231 MC Order Numbers 231 20-Pin Small Outline Integrated Circuit SOIC Package Case #751D 232 20-Pin Plastic Dual In-Line Package PDIP Case 232

MC68HC908LB8 Data Sheet

Freescale Semiconductor

Chapter 1 General Description

Introduction

The MC68HC908LB8 is a member of the low-cost, high-performance M68HC08 Family of 8-bit microcontroller units MCUs . All MCUs in the family use the enhanced M68HC08 central processor unit CPU08 and are available with a variety of modules, memory sizes, memory types, and package types. The MC68HC908LB8 has peripherals dedicated to high resolution PWM and power factor correction PFC .

For convenience, features have been organized to reflect
• Standard features of the MC68HC908LB8
• Features of the CPU08

Standard Features of the MC68HC908LB8

Features of the MC68HC908LB8 include
• 8-MHz internal bus frequency
• Trimmable internal oscillator MHz internal bus operation 8-bit trim capability 25% untrimmed 5% trimmed
• 8 Kbytes of 10 K write/erase cycle typical on-chip in application programmable FLASH memory with security option 1
• 128 bytes of on-chip random-access memory RAM
• Dual channel high resolution PWM with dead time insertion and shutdown input. The outputs use frequency dithering to achieve a 4 ns output resolution.
• Dual channel pulse-width modulator PWM module to provide power factor correction capability
• Seven channel, 8-bit successive approximation analog-to-digital converter ADC
• Op amp/comparator for power factor correction capability or general purpose use
• 7-bit keyboard interrupt
• One 16-bit, 2-channel timer interface module with one output available on port pin PTA6 for input capture and PWM
• 17 general-purpose input/output I/O pins and one input only pin Three shared with high resolution PWM HRP Three shared with PWM module

No security feature is absolutely secure. However, Freescale Semiconductor’s strategy is to make reading or copying the FLASH difficult for unauthorized users.

Freescale Semiconductor

Three shared with op amp/comparator Seven shared with ADC module AD[0:6] One shared with timer channel 0 Two shared with OSC1 and OSC2 One shared with reset Seven shared with keyboard interrupt One input-only pin shared with external interrupt IRQ
• Available packages 20-pin small outline integrated chip SOIC package 20-pin plastic dual in-line package PDIP
• On-chip programming firmware for use with host personal computer which does not require high voltage for entry
• System protection features Optional computer operating properly COP reset Low-voltage reset Illegal opcode detection with reset Illegal address detection with reset
• Low-power design fully static with stop and wait modes
• Standard low-power modes of operation Wait mode Stop mode
• Master reset pin and power-on reset POR
• 674 bytes of FLASH programming routines read-only memory ROM
• Break module BRK to allow single breakpoint setting during in-circuit debugging
• Internal pullup on RST pin to reduce customer system cost

Freescale Semiconductor
• Selectable pullups on ports A and C Selection on an individual port bit basis During output mode, pullups are disengaged
• High current 8-mA sink / 10-mA source capability on all port pins

Features of the CPU08

Features of the CPU08 include
• Enhanced HC05 programming model
• Extensive loop control functions
• 16 addressing modes eight more than the HC05
• 16-bit index register and stack pointer
• Memory-to-memory data transfers
• Fast 8 x 8 multiply instruction
• Fast 16/8 divide instruction
• Binary coded decimal BCD instructions
• Optimization for controller applications
• Efficient C language support

MCU Block Diagram

Figure 1-1 shows the structure of the MC68HC908LB8.

MCU Block Diagram

Freescale Semiconductor

M68HC08 CPU

CPU REGISTERS

ARITHMETIC/LOGIC UNIT ALU

CONTROL AND STATUS REGISTERS 64 BYTES

USER FLASH 8 KBYTES

USER RAM 128 BYTES

INTERNAL BUS DUAL CHANNEL PWM

MODULE HIGH RESOLUTION PWM

MODULE LOW-VOLTAGE INHIBIT

MODULE

MONITOR ROM 350 BYTES

COMPUTER OPERATING PROPERLY MODULE

FLASH PROGRAMMING ROUTINES ROM 674 BYTES
2-CHANNEL TIMER MODULE

USER FLASH VECTOR SPACE 34 BYTES OSCILLATOR MODULE
8-BIT ANALOG-TO-DIGITAL CONVERTER MODULE

SYSTEM INTEGRATION MODULE

KEYBOARD INTERRUPT MODULE

POWER
Chapter 21 Ordering Information and Mechanical Specifications

Introduction
This section provides ordering information for the MC68HC908GZ8 along with the dimensions for
• 20-pin small outline intergrated circuit SOIC case 751D
• 20-pin plastic dual in-line package PDIP case 738

The following figures show the latest package drawings at the time of this publication. To make sure that you have the latest package specifications, contact your local Freescale Semiconductor Sales Office.

MC Order Numbers

Table MC Order Numbers

MC Order Number

Operating Temperature Range

MC68HC908LB8CDWE
to +85°C

MC68HC908LB8VDWE
to +105°C

MC68HC908LB8MDWE
to +125°C

MC68HC908LB8CPE
to +85°C

MC68HC908LB8VPE
to +105°C

MC68HC908LB8MPE
to +125°C

Temperature and package designators C = to +85°C V = to +105°C M = to +125°C DW = Small outline integrated circuit package SOIC E = Leadfree P = Plastic dual in-line package PDIP

Package
20-pin Small outline integrated circuit SOIC
20-pin Plastic dual In-line package

PDIP

Freescale Semiconductor
Ordering Information and Mechanical Specifications
20-Pin Small Outline Integrated Circuit SOIC Package Case #751D
-B- P 10 PL M B M

D 20 PL

M T A S B S

SEATING

G 18 PL

K PLANE

R X 45°

NOTES DIMENSIONING AND TOLERANCING PER ANSI Y14.5M, CONTROLLING DIMENSION MILLIMETER. DIMENSIONS A AND B DO NOT INCLUDE MOLD PROTRUSION. MAXIMUM MOLD PROTRUSION PER SIDE. DIMENSION D DOES NOT INCLUDE DAMBAR PROTRUSION. ALLOWABLE DAMBAR PROTRUSION SHALL BE TOTAL IN EXCESS OF D DIMENSION AT MAXIMUM MATERIAL CONDITION.

MILLIMETERS

INCHES

DIM MIN MAX MIN MAX
7° 0°
20-Pin Plastic Dual In-Line Package PDIP Case #738

SEATING PLANE

D 20 PL M T A M

DIMENSIONING AND TOLERANCING PER ANSI

Y14.5M,

CONTROLLING DIMENSION INCH.

DIMENSION L TO CENTER OF LEAD WHEN

FORMED PARALLEL.

DIMENSION B DOES NOT INCLUDE MOLD

FLASH.

J 20 PL M T B M

INCHES

MILLIMETERS

DIM MIN MAX MIN MAX
0° 15° 0° 15°

Freescale Semiconductor

How to Reach Us:

Home Page:

E-mail:

RoHS-compliant and/or Pb- free versions of Freescale products have the functionality and electrical characteristics of their non-RoHS-compliant and/or non-Pb- free counterparts. For further information, see or contact your Freescale sales representative.

For information on Freescale.s Environmental Products program, go to

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

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 French

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

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

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

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.
More datasheets: 1JS08 | 1JS03 | 1JS09 | MC68HC908LB8CDWE | MC68HC908LB8CPE | MC68HC908LB8MDWE | MC68HC908LB8MPE | MC908LB8VDWER | MC908LB8MDWER | MC68HC908LB8VDWE


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 MC68HC908LB8VPE Datasheet file may be downloaded here without warranties.

Datasheet ID: MC68HC908LB8VPE 635495