Document Number: AN2961
Rev. 1, 05/2007
Freescale Semiconductor
Application Note
Software Drivers for MC33696
by: Petr Gargulak
John Logan
Graham Williamson
TSPG, Freescale Semiconductor, Inc.
Contents
1
Introduction
1
2
3
4
5
6
7
8
9
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Communication Concept . . . . . . . . . . . . . . . . . . . . . . . . . 2
Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Message Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Reducing Power Consumption . . . . . . . . . . . . . . . . . . . . 5
Hardware Connections . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Driver Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Status Word. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Using the Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
This application note describes the software device
driver written for the MC33696 transceiver IC (Echo)
and how it can be integrated and used in an application
on the HCS08 family of MCUs. The device driver allows
customer applications to use all features of the Echo
platform while remaining easily configurable.
10 Function Headers and Description . . . . . . . . . . . . . . . . 18
11 Echo Driver Configuration . . . . . . . . . . . . . . . . . . . . . . . 29
12 Adding the Echo Driver to an Application . . . . . . . . . . . 39
13 Example Echo Application. . . . . . . . . . . . . . . . . . . . . . . 46
14 Communicating with Romeo2 and Tango3 Devices . . . 47
The driver may be configured to run on any HCS08
MCU. You can specify different timer channels and I/O
pins on the MCU, allowing flexibility in system design,
modulation techniques, data rates, and clock sources. All
other Echo features are fully configurable. Full source
code and example applications are available on
www.freescale.com.
The driver is designed to allow communication in
Echo-only networks and also with the Tango3
transmitter and Romeo2 receiver devices. Device drivers
for Tango and Romeo are available on
www.freescale.com and documented in application note
© Freescale Semiconductor, Inc., 2005, 2007. All rights reserved.