CDP68HC05C16B,
CDP68HCL05C16B,
CDP68HSC05C16B
S E M I C O N D U C T O R
June 1997
8-Bit Enhanced Microcontroller Series
Features
Description
HARDWARE
The CDP68HC05C16B HCMOS Microcomputer is a new
member of the CDP68HC05 family of low-cost single chip
microcomputers. It is an enhanced version of the
CDP68HC05C8B. Enhancements include a larger RAM and
ROM sizes (352 bytes of RAM, 15,936 bytes of ROM), key-
board scanning logic, a high current output pin, an advanced
watchdog (COP) timer, a low power oscillator that can "wake
up" the CPU from STOP mode and fixed tone outputs. This
8-bit microcomputer unit (MCU) also contains an on-chip
oscillator, CPU, 31 bidirectional I/O pins, two serial interface
systems, and 16 bit capture/compare timer. The fully static
design allows operation at frequencies down to DC, further
reducing its already low-power consumption.
• 8-Bit HCMOS Microcontroller
• Extended Version of MC68HC05C9A Family
- Pin for Pin Compatible
• Power-Saving Stop, Wait and Data Retention Modes
• Fully Static Operation
• On-Chip Memory
- 352 Bytes RAM
- 15,936 Bytes ROM
• Keyboard Scanning Logic
• Watchdog Timer (COP) and Clock Monitor
• Low Power Wake Up Oscillator
• 31 Bidirectional I/O Lines
The CDP68HCL05C16B MCU is a low-power version of the
CDP68HC05C16B. It contains all the features of the
CDP68HC05C16B with additional features of lower power
consumption in the RUN, WAIT and STOP modes; and low
voltage operation down to 2.4V.
- 1 High Current Output for LED Drive (PC7)
• Bidirectional RESET pin
• Internal 16-Bit Timer
• Serial Communications Interface (SCI) System
• Serial Peripheral Interface (SPI) System
The CDP68HSC05C16B MCU is a high-speed version of
the CDP68HC05C16B. It also contains all the features of
the CDP68HC05C16B with the additional capability of
higher frequency operation at 8.0MHz.
• Fixed Frequency Tone/Simple PWM Outputs (Mask
Programmable)
• Self-Check Mode
Table Of Contents
• External, Timer, SCI, and SPI Interrupts
• Master Reset and Power-On Reset
• On-Chip Oscillator with RC or Crystal Mask Options
• CDP68HC05C16B
Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Pinouts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
MCU Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Characterization Curves. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Electrical and Timing Specifications. . . . . . . . . . . . . . . . . . . . . . 6
Functional Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Input/Output Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Software Programmable Options . . . . . . . . . . . . . . . . . . . . . . . 28
Memory Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Self-Check Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Resets, Interrupts and Low Power Modes . . . . . . . . . . . . . . . . 32
Hardware/Power-On Resets. . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
COP/Clock Monitor System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Low Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Wake Up Timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
Programmable Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Output Compare. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Input Capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Serial Communications Interface (SCI). . . . . . . . . . . . . . . . . . . 44
Serial Peripheral Interface (SPI). . . . . . . . . . . . . . . . . . . . . . . . . 51
Port A Tone and Simple PWM Circuitry . . . . . . . . . . . . . . . . . . 57
Effects of STOP and WAIT Modes . . . . . . . . . . . . . . . . . . . . . . . 57
Package Outline Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Opcode Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
I/O, Control, Status and Data Register Definitions. . . . . . . . . . 66
Ordering Information Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
- 4.2MHz Oscillator (2.1MHz Internal Bus Frequency)
at 5V; 2.0MHz (1.0MHz Internal Bus) at 3.0V
- Single 3.0V to 6.0V Supply (1.5V Data Retention
Mode)
• CDP68HCL05C16B
- Lower Supply Current, I
DD
Modes at 5.5V, 2.5V and 1.8V
- Single 1.8V to 6.0V Supply (1.5V Data Retention Mode)
• CDP68HSC05C16B
in RUN, WAIT and STOP
- 8.0MHz Oscillator (4.0MHz Internal Bus Frequency)
- Single 2.4V to 6.0V Supply (1.5V Data Retention Mode)
SOFTWARE
• Complete 68HC05 Instruction Set
• Efficient Use of Program Space
• Memory Mapped I/O
• Versatile Interrupt Handling
• True Bit Manipulation
• Addressing Modes with Indexed Addressing for
Accessing Tables
CAUTION: These devices are sensitive to electrostatic discharge. Users should follow proper IC Handling Procedures.
File Number 4249
Copyright © Harris Corporation 1997
1