3.8.4 FRC Calibration
Generally, the tolerance of the Fast RC (FRC) oscillator is ±5% over temperature drift and voltage range. For more details, refer to the ATA8210/ATA8215 UHF ASK/FSK Receiver Data Sheet (9344E), section 4.0, parameter number 14.30.
Tolerance of ±2% is required to be able to use the FRC oscillator as a timer/system clock source.
The firmware-driven calibration routine of the FRC is based on the XTO frequency. The frcCalibGate setting located in EEPROM defines an XTO-based gate.
Address |
Name |
Bit 7 |
Bit 6 |
Bit 5 |
Bit 4 |
Bit 3 |
Bit 2 |
Bit 1 |
Bit 0 |
---|---|---|---|---|---|---|---|---|---|
0x0098 |
frcCalibGate |
data[7:0] |
The gate time is calculated so that it always results in a length of 200 periods in relation to a nominal clock frequency of 6.36 MHz. During the open gate time, the number of FRC pulses is counted. The result of this counting process serves as the basis for calculating the new FRC oscillator calibration bits of the FRCCAL hardware register. See System Clock Register Description from Related Links. This register has a direct influence on the FRC frequency.
An FRC calibration process can be triggered at the following time points:
- After power-on during system initialization when enabled in eepConfValid.confInitFlags.FRC
Address |
Name |
Bit 7 |
Bit 6 |
Bit 5 |
Bit 4 |
Bit 3 |
Bit 2 |
Bit 1 |
Bit 0 |
---|---|---|---|---|---|---|---|---|---|
0x0008 |
confInitFlags |
— |
TempMeas |
SRC |
FRC | — | — | — | — |
During the periodic self-check in PollingMode or during a self-check that is started by
using the Calibrate and Check
SPI command if enabled in
eepTrxCal.calConf1.EN_FRCCAL.
Address | Name | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|---|---|
0x001C | calConf1 | — | EN_TEMP_MEAS | EN_SRCCAL | EN_FRCCAL | — | — | — | EN_REGREFRESH |
- From IDLEMode via the
Calibrate and Check
SPI command if the EN_FRCCAL bit in tuneCheckConfig is set to ‘1
’. See Calibrate and Check from Related Links.
Name | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|---|
tuneCheckConfig | — | EN_TEMP_MEAS | EN_SRCCAL | EN_FRCCAL | EN_VCOCAL | — | EN_SELFCHECK | — |
Setting the FRC_CAL bit within the eepEventConf.cmdRdyConf command ready variable to
‘1
’ raises a command ready (CMD_RDY) event on the EVENT pin PB6
after finishing the FRC calibration process.
Address |
Name |
Bit 7 |
Bit 6 |
Bit 5 |
Bit 4 |
Bit 3 |
Bit 2 |
Bit 1 |
Bit 0 |
---|---|---|---|---|---|---|---|---|---|
0x0096 |
cmdRdyConf | — |
TEMP_MEAS |
SRC_CAL |
FRC_CAL |
VCO_CAL |
RF_CAL |
SELFCHECK |
— |
The FRC calibration requires additional time. See Timing Characteristics from Related Links.