AN2707 Freescale Semiconductor / Motorola, AN2707 Datasheet - Page 35

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
If a message is received and the receive buffer is full (BF flag = 1), the last
received message will be discarded and the driver status will be set to
ROMEO_OVERRUN.
After the driver has been initialized, it can be in one of five states (listed below).
ROMEO_DISABLED — Driver disabled, Romeo2 IC in low power mode.
ROMEO_MSG_READY — Driver enabled, message ready in data buffer.
ROMEO_OVERRUN — Driver enabled, input buffer full, previous message
received has been lost.
ROMEO_CHECKSUM_ERROR — Driver enabled, last message received has
a checksum error.
ROMEO_NO_MSG — Driver enabled, no messages waiting.
Figure 19
Figure 20
RomeoStatus service is called.
Internal processing of the driver occurs when the main application calls any of
the run-time services, and after reception of data on the SPI interface. Since
reception of data is controlled by an SPI interrupt on the MCU, the user must
link the RomeoSPIRxInt service to the SPI interrupt. An example of this is given
in
Adding the Romeo2 Driver to an Application on page
Freescale Semiconductor, Inc.
For More Information On This Product,
shows a flowchart for configuring the driver to receive messages.
shows the various states the driver will return, when the
Go to: www.freescale.com
Figure 18. Romeo2 Receive Buffer
$xxxx
BF
7
Data127
Length
4
Data0
...
...
...
3
0
46.
Romeo2 Driver
AN2707
35

Related parts for AN2707