MC1321x Introduction
MC1321x Reference Manual, Rev. 1.6
1-14
Freescale Semiconductor
NOTE
The MC1321x MCU has port signals that are not pinned-out. These signals
should be initialized to a known condition for low power modes.
1.8.2
HCS08 Central Processing Unit (CPU)
The HCS08 CPU is fully source- and object-code-compatible with the M68HC08 CPU. Several
instructions and enhanced addressing modes were added to improve C compiler efficiency and to support
a new background debug system which replaces the Monitor Mode of earlier M68HC08 microcontrollers
(MCU). The HCS08 has five CPU registers that are not part of the memory map (the HCS08 is an
accumulator-based instruction set).
show the programmer’s model for the CPU.
Figure 1-8. CPU Registers
1.8.3
MCU Peripheral Modules
The MCU includes the following peripheral modules:
•
Dedicated serial peripheral interface (SPI) connected internally to 802.15.4 modem - The MCU
SPI port is normally a full function SPI bus with both master and slave capability and
programmable clock interface. Because the SPI is dedicated to the modem and internally tied to
the modem SPI port, the MCU SPI port has to be programmed as a master and meet the timing
requirement of the modem SPI interface
•
One 4-channel (TPM2) 16-bit timer/pulse width modulator module and one 1-channel (TPM1)
16-bit timer/pulse width modulator module, each with selectable input capture, output capture, and
PWM capability. The MCU contains the hardware for a full 3-channel TPM1 and a full 5-channel
TPM2, but pin count limits the use of TPM1 to a single channel and TPM2 to 4 channels
•
8-bit port keyboard interrupt (KBI)
•
8-channel 10-bit ADC
•
Two independent serial communication interfaces (SCI1 and SCI2) - Each SCI has a common TX
and RX baud rate and each has a separate baud rate generator
SP
PC
CONDITION CODE REGISTER
CARRY
ZERO
NEGATIVE
INTERRUPT MASK
HALF-CARRY (FROM BIT 3)
TWO’S COMPLEMENT OVERFLOW
H
X
0
0
0
7
15
15
7
0
ACCUMULATOR
A
INDEX REGISTER (LOW)
INDEX REGISTER (HIGH)
STACK POINTER
8
7
PROGRAM COUNTER
16-BIT INDEX REGISTER H:X
CCR
C
V 1 1 H I N Z
Содержание freescale semiconductor MC13211
Страница 40: ...MC1321x Pins and Connections MC1321x Reference Manual Rev 1 6 2 6 Freescale Semiconductor...
Страница 100: ...MC1321x Serial Peripheral Interface SPI MC1321x Reference Manual Rev 1 6 4 24 Freescale Semiconductor...
Страница 166: ...Modem Modes of Operation MC1321x Reference Manual Rev 1 6 7 22 Freescale Semiconductor...
Страница 172: ...Modem Interrupt Description MC1321x Reference Manual Rev 1 6 8 6 Freescale Semiconductor...
Страница 186: ...MCU Modes of Operation MC1321x Reference Manual Rev 1 6 10 8 Freescale Semiconductor...
Страница 208: ...MCU Memory MC1321x Reference Manual Rev 1 6 11 22 Freescale Semiconductor...
Страница 244: ...MCU Parallel Input Output MC1321x Reference Manual Rev 1 6 13 20 Freescale Semiconductor...
Страница 288: ...MCU Central Processor Unit CPU MC1321x Reference Manual Rev 1 6 15 20 Freescale Semiconductor...
Страница 308: ...MCU Timer PWM TPM Module MC1321x Reference Manual Rev 1 6 17 16 Freescale Semiconductor...
Страница 338: ...Inter Integrated Circuit IIC MC1321x Reference Manual Rev 1 6 19 14 Freescale Semiconductor...
Страница 372: ...Development Support MC1321x Reference Manual Rev 1 6 21 20 Freescale Semiconductor...