
85
42073A-MCU Wireless-02/13
ATmega2564/1284/644RFR2
preamble and the SFD field. The variable frame section contains the PHR and the
The Frame Buffer content differs depending on the direction of the communication
(receive or transmit). To access the data follow the procedures described in
"RadioDuring frame reception, the payload and the link quality indicator (LQI) value of a
successfully received frame are stored in the Frame Buffer. The radio transceiver
appends the LQI value to the frame data after the last received octet. Information of the
frame length is not stored in the Frame Buffer. The frame length information is located
in register TST_RX_LENGTH.
The SHR (except the SFD used to generate the last octet of the SHR) can generally not
be read by the application software.
The PHR and the PSDU need to be stored in the Frame Buffer for frame transmission.
The PHR byte is the first byte in the Frame Buffer (address 0x180) and must be
calculated based on the PHR and the PSDU. The maximum frame size supported by
the radio transceiver is 128 bytes. If the TX_AUTO_CRC_ON bit is set in register
PHY_TX_PWR, the FCS field of the PSDU is replaced by the automatically calculated
FCS during frame transmission. There is no need to write the FCS field when using the
automatic FCS generation.
Manipulating individual bytes of the Frame Buffer is simply possible by accessing the
appropriate buffer address.
The minimum frame length supported by the radio transceiver for non IEEE 802.15.4
compliant frames is one byte (Frame Length Field + 1 byte of data).
9.6.4 Battery Monitor (BATMON)
The main features of the battery monitor are:
Configurable voltage threshold range from 1.7V to 3.675V
Generates an interrupt when supply voltage drops below the threshold
9.6.4.1 Overview
The battery monitor (BATMON) detects and indicates a low supply voltage of EVDD.
This is done by comparing the voltage of EVDD with a configurable, internal threshold
voltage. A simplified schematic of the BATMON with the most important input and
output signals is shown in the following figure.
Figure 9-25. Simplified Schematic of BATMON
BATMON_HR
BATMON_VTH
4
EVDD
Threshold
Voltage
BATMON_OK
1“
BATMON_IRQ
For input-to-output mapping
see BATMON register
DAC
+
-
D
Q
clear