AN2707 Freescale Semiconductor / Motorola, AN2707 Datasheet - Page 13

no-image

AN2707

Manufacturer Part Number
AN2707
Description
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
MOTOROLA
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
The Tango3 driver defines a transmission buffer in RAM. The MCU writes
messages to the buffer, and the driver reads messages from this buffer and
transmits them on the RF link. The buffer contains the message ID, Length and
Data fields as shown in
required. The Tango3 driver generates the checksum field internally and
appends it to the message during transmission.
The size of the buffer can be programmed by the user, using the
TANGO_MAX_DATA_SIZE parameter in the Tango.H header file. The buffer
should be made large enough to receive the largest message being
transferred. See
The application must not write to the transmission buffer while a message is
being transmitted. This could lead to corruption of the transmitted message.
The user can check if a transmission is in progress using the
TangoDriverStatus() service. See
Internal processing of the driver occurs when the main application calls any of
the run-time services, or after transmission of each bit when the driver is
transmitting a message. Since transmission of each bit is controlled by a timer
channel interrupt on the MCU, the user must link the TangoTimerInterrupt
service to the timer channel interrupt. An example of this is shown in
the Tango3 Driver to an Application on page
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
TANGO_MAX_DATA_SIZE on page 22
Figure 9. Tango3 Transmission Buffer
Figure
$xxxx
7
9. Note storage for the checksum field is not
TangoDriverStatus on page
Data127
Length
4
Data0
...
...
...
ID
3
27.
0
for details.
18.
Tango3 Driver
Adding
AN2707
13

Related parts for AN2707