Datasheet
MRF49XA
DS70590C-page 22 Preliminary © 2009-2011 Microchip Technology Inc.
REGISTER 2-3: AFCCREG: AUTOMATIC FREQUENCY CONTROL CONFIGURATION REGISTER
(POR: 0xC4F7)
W-1 W-1 W-0 W-0 W-0 W-1 W-0 W-0
CCB<15:8>
bit 15 bit 8
W-1 W-1 W-1 W-1 W-0 W-1 W-1 W-1
AUTOMS<1:0> ARFO<1:0> MFCS HAM FOREN FOFEN
bit 7 bit 0
Legend: r = reserved bit
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 15-8 CCB<15:8>: Command Code bits
The command code bits (11000100b) are serially sent to the microcontroller to identify the bits to be
written in the AFCCREG.
bit 7-6 AUTOMS<1:0>: Automatic mode Selection bits (for AFC)
These bits select the operation type (automatic/manual) for performing AFC based on the status of
the MFCS bit.
11 = Keeps offset independent for the state of the DIO signal
10 = Keeps offset only while receiving (DIO = High)
01 = Runs and measures only once after each power-up cycle
00 = Auto mode off (controlled by microcontroller)
bit 5-4 ARFO<1:0>: Allowable Range for Frequency Offset bits
These bits select the offset range allowable between transmitter and receiver frequencies.
11 = +3 F
RES to -4 FRES
(1)
10 = +7 FRES to -8 FRES
01 = +15 FRES to -16 FRES
00 = No restriction
bit 3 MFCS: Manual Frequency Control Strobe bit
This bit is the strobe signal which initiates the manual frequency control sample to calculate the offset error.
1 = A sample of a received signal is compared with a receiver Local Oscillator (LO) signal and an offset
error is calculated. If bit 1 is enabled, the value is stored in the Offset register of the AFC block.
(2)
0 = Ready for the next sample
bit 2 HAM: High-Accuracy (Fine) mode bit
(3)
1 = Switches the Frequency Control mode to High-Accuracy mode
0 = Frequency Control mode works in regular mode
bit 1 FOREN: Frequency Offset Register Enable bit
1 = Enables the offset value calculated by the offset sample. The offset value is added to the frequency
control word of the PLL which tunes the desired carrier frequency.
0 = Denies the addition of the offset value to the frequency control word of the PLL
bit 0 FOFEN: Frequency Offset Enable bit
1 = Enables the frequency offset calculation using the AFC circuit
0 = Disables the frequency offset calculation using the AFC circuit
Note 1: The F
RES is the frequency tuning resolution for each band. The FRES for each band is as follows:
433 MHz = 2.5 kHz
868 MHz = 5 kHz
915 MHz = 7.5 kHz
2: The offset error value is stored in the Offset register (FOREN bit should be enabled) in the AFC block and
is added to the frequency control word of the PLL. Reset this bit before initiating another sample.
3: In High-Accuracy (Fine) mode, the processing time is twice the regular mode, but the uncertainty of the
measurement is significantly reduced.