RL78/G1H
CHAPTER 18 RF TRANSCEIVER
Page 664 of 920
(2) Example of procedure for RF reception
<1> Set to the IDLE state.
<2> Set the reception frequency in the frequency setting register (BBFREQ).
For details, see
18.7.2 (3) RF frequency setting for reception
.
<3> Set the AUTOACKEN bit, AUTORCV0 bit, and BEACON bit of the transmission/reception mode
register 0 (BBTXRXMODE0) to ”1” when using the automatic ACK mode.
<4> Set the PAN identifier in the PAN identifier register 0 (BBPANID0) and PAN identifier register 1
(BBPANID1).
<5> Set the short address register 0 (BBSHORTAD0), short address register 1 (BBSHORTAD1), or
extended address register 0 (BBEXTENDAD00 to BBEXTENDAD03), extended address register 1
(BBEXTENDAD10 to BBEXTENDAD13).
<6> Set the RCVTRG bit of the transmission/reception control register (BBTXRXCON) to ”1” (reception
start).
<7> Wait for the reception completion interrupt.
<8> Set the bank selection in the RCVBANKSEL bit of the transmission/reception mode register 3
(BBTXRXMODE3).
<9> Read the reception frame length register (BBRXFLEN).
<10>Check the CRC result by the CRC bit of the transmission/reception status register 0 (BBTXRXST0).
<11> Read the reception RAM data: Bank 0 (0300H to 037FH address), Bank 1 (0380H to 03FFH address).
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...