
SMAC Introduction
Simple Media Access Controller (SMAC) for the HCS08 Reference Manual, Rev. 2.0
1-2
Freescale Semiconductor
1.1
Features
•
Compact footprint:
— Between 3 and 5K FLASH depending on configuration and platform used
— From [(23 to 293) plus maximum packet length] bytes of RAM depending on configuration and
platform used.
•
MC1320x, MC1321x, and MC1323x compatible
•
Proprietary, bi-directional RF communication link - custom frame format
•
Low power features
•
ANSI C source code targeted for the HCS08 core
•
Low priority IRQ
•
Easy-to-use sample applications included
•
Programmable protocol function to allow automatically ignore standard IEEE 802.15.4 Standard
MAC packets
1.2
Hardware Configurations - Required MCU Resources
There are two fundamental hardware configurations used with SMAC:
1. Separate transceiver and MCU - the MC1320x and MC1321x employ this configuration. The
MC1321x is unique in that the system connections are on board a single package. MCU support
requirements include:
— System clock requirements - the transceiver requires a 16 MHz crystal for its reference
oscillator. Common practice is to use a clock output (CLKO) from the transceiver to drive the
MCU as an external clock source. It is still required, however, that the MCU have some
internal/local clock source for startup.
— Transceiver/MCU communication SPI port - four MCU GPIO pins are required for the SPI port
(CLK, MISO, MOSI, and CE/SS). Although the SPI port could be provided by a “bit-banged”
software driven interface, most common practice is a dedicated SPI peripheral module.
— Addition control GPIO - additional MCU GPIO are required for transceiver control and status.
At minimum, three IO are needed (Reset, RTXEN, and ATTN), however, as many as seven
GPIOs can be used
— One MCU pin capable of external interrupt request - this may be a dedicated IRQ pin, a KBI
pin, or any GPIO capable of generating an IRQ based on an incoming signal transition.
1.3
Freescale Integrated Development Environment (IDE) - BeeKit
The SMAC is incorporated into the Freescale BeeKit Wireless Connectivity Toolkit. The incorporation of
SMAC into BeeKit makes it easier for users to employ and customize SMAC. SMAC has evolved with
the HCS08 platforms, and as a result, changes have occurred with later versions. The primary changes are
as follows:
•
No blocking functions are on the most recent SMAC implementation
•
Modified arguments and return types