RL78/G1H CHAPTER 18 RF TRANSCEIVER
R01UH0575EJ0120 Rev. 1.20 Page 663 of 920
Dec 22, 2016
18.7 Example of Procedure for Setting
18.7.1 Example of procedure for each operation
(1) Example of procedure for RF transmission
<1> Set to the IDLE state.
<2> Set the transmission frequency in the frequency setting register (BBFREQ).
For details, see 18.7.2 (2) RF frequency setting for transmission.
<3> Set the transmission output power.
For details, see 18.7.2
<4> Set the AUTORCV0 bit of the transmission/reception mode register 0 (BBTXRXMODE0) to ”1” when
using automatic reception switch mode.
<5> Write in the transmission RAM: Bank 0 (0200H to 027FH address), Bank 1 (0280H to 02FFH address).
<6> Set the transmission frame length in the transmission frame length register (BBTXFLEN).
<7> Set the TRNTRG bit of the transmission/reception control register (BBTXRXCON) to ”1” (transmission
start).
After start of transmission, the transmission completion interrupt occurs when the following events occur.
• Transmission completion
• Transmission together with the ACK request with the ACK reception function enabled to complete the
ACK reception
• Failure in the ACK reception for a certain period of time after transmission together with the ACK request
with the ACK reception function enabled
• Channel busy as the CCA result after transmission with the automatic CSMA-CA enabled