BA45F56xx Wireless Transceiver Application
AN0571EN V1.00
8 / 14
November 5, 2020
Operating Flowchart
Modify TX power
(Default 433.92MHz)
Call RF_Init
Write SYNCWORD
Power on
MCU initialisation
Write the data to be
transmitted
Modify TX power
(Default 10dBm)
Mode selection
RF_Mode=?
Receiving data mode
TEST_RX
Transmitting data mode
TEST_TX
Timed receiving data
mode
TEST_SNIFF_RX
Write the data to be
transmitted
Call RF_SendData to
transmit data
Wait IRQ signal
Call RFGetClrRFIrq to
query RF State
Call
RF_EntryRxMode to
enter RX receiving
mode
Wait IRQ signal
Call RFGetClrRFIrq to
query RF state
Call RF_ReadRxDta to
read data
Call
RF_EntrySniffMode
Wait IRQ signal
When mRFRdDta.0 is
high, the transmit
process is completed
According mRFRdDta
to determine whether
the receive process is
completed and the data
is corrected
Call RFGetClrRFIrq to
query RF state
According mRFRdDta
to determine whether
the receive process is
completed and the data
is corrected
Call RF_ReadRxDta
to read data
Figure 7. Program Example Operating Flowchart