![](http://datasheet.mmic.net.cn/Freescale-Semiconductor/MC68HC16Z1VEH16_datasheet_98737/MC68HC16Z1VEH16_1.png)
Order this document by
MC68HC16Z1TUT/D
An Introduction to the MC68HC16Z1
By Sharon Darley and Charles Melear
1 Introduction
Use of microcontrollers (MCUs) presents new challenges as clock speeds increase and bus structures
become more complex. In particular, designing a system with Freescale's 16-bit MC68HC16Z1 can be
challenging for those used to the 8-bit world.
The MC68HC16Z1 is a member of the Freescale modular microcontroller family, a series of 16-bit and
32-bit devices constructed from standard on-chip peripheral modules that communicate by means of a
standard intermodule bus. The MC68HC16Z1 is a sophisticated single-chip control system that incor-
porates a 16-bit CPU module (CPU16), a system integration module (SIM), a general-purpose timer
(GPT), a queued serial module (QSM), an 8-channel analog-to-digital converter (ADC), and a 1-Kbyte
standby RAM (SRAM). The MCU thus provides a designer with many options, ranging from reset con-
figuration to interrupt generation, that must be considered during the design phase.
This tutorial is intended to assist development and reduce debug time for first-time designers of
MC68HC16Z1 systems. It covers four major topics: designing the hardware, establishing communica-
tion, initializing the MCU, and troubleshooting. Each topic is discussed in a separate section that in-
cludes practical examples.
Along with two other Freescale documents:
An Introduction to the HC16 for HC11 Users (AN461) and
Transporting M68HC11 Code to M68HC16 Devices (M68HC16PN01/D), this tutorial provides a “hands-
on” supplement to the
MC68HC16Z1 User’s Manual, which presents a comprehensive overview of the
MCU. For more information on device operation, electrical characteristics, registers, and control bit def-
inition, refer to the appropriate sections of the manual. For more detailed information, refer to the refer-
list of MC68HC16Z1 technical literature.
The software examples included in the tutorial, and a sample system schematic, are available through
Freeware Data Systems. The files are in the mcu16 directory in an archived file called “16Z1init.arc.”
The PKXARC utility is used to de-archive these files. PKXARC itself is contained in a self-expanding
file entitled PKX35A35.exe, located in the Freeware IBM directory. Also in the mcu16 directory are
“quikst20.arc” and “5band_sa.exe”. The first file is an archive of several example/initialization files and
tems for a phone number for modem access and addresses for internet access.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
In
c
..
.
Freescale Semiconductor
Freescale Semiconductor, Inc., 2004. All rights reserved.