English
Language : 

MC13211 Datasheet, PDF (33/70 Pages) Freescale Semiconductor, Inc – ZigBee™- Compliant Platform - 2.4 GHz Low Power Transceiver for the IEEE® 802.15.4 Standard plus Microcontroller
5.6 Parallel Input/Output
The MC1321x HCS08 has seven I/O ports which include a total of 56 general-purpose I/O signals (one of
these pins, PTG0, is output only). The MC1321x family does not use all the these signals as denoted in
Figure 15. Port F and part of port G are not utilized. The MC1321x family makes use of the remaining I/O
as pinned-out I/O or as internally dedicated signal for communication with the 802.15.4 modem.
As stated above port F and part of port G are not utilized. These signals and any unused IO should be
programmed as outputs during initialization for lowest power operation. Many of these pins are shared
with on-chip peripherals such as timer systems, various communication ports, or keyboard interrupts.
When these other modules are not controlling the port pins, they revert to general-purpose I/O control. For
each I/O pin, a port data bit provides access to input (read) and output (write) data, a data direction bit
controls the direction of the pin, and a pullup enable bit enables an internal pullup device (provided the pin
is configured as an input), and a slew rate control bit controls the rise and fall times of the pins.Parallel I/O
features include:
• A total of 32 general-purpose I/O pins in seven ports (PTG0 is output only)
• High-current drivers on port C
• Hysteresis input buffers
• Software-controlled pullups on each input pin
• Software-controlled slew rate output buffers
• Eight port A pins shared with KBI1
• Eight port B pins shared with ATD1
• Eight high-current port C pins shared with SCI2 and IIC1
• Eight port D pins shared with TPM1 and TPM2
• Eight port E pins shared with SCI1 and SPI1
• Eight port G pins shared with EXTAL, XTAL, and BKGD/MS
NOTE
Not all port G signals and no port F signals are bonded out, but are present
in the MCU hardware (see Figure 15). These port I/O signals should be
programmed as outputs set to the low state.
5.7 MCU Peripherals
5.7.1 Modem Dedicated Serial Peripheral Interface (SPI) Module
The HCS08 provides one serial peripheral interface (SPI) module which is connected within the SiP to the
modem SPI port. The four pins associated with SPI functionality are shared with port E pins 2–5. When
the SPI is enabled, the direction of pins is controlled by module configuration.
The MCU SPI port is used only in master mode on the MC1321x family. The user must program the SPI
module for the proper characteristics as listed in the features below and also program the SS signal to have
the proper use to support the modem transaction protocol for the modem CE signal.
MC13211/212/213 Technical Data, Rev. 1.5
Freescale Semiconductor
33