Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1492

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

RF Core HAL
On start, the radio CPU sets up parameters for the operational mode given by mode.radioMode, with the
modifications given in pRegOverride, a pointer to a structure containing override values for certain
hardware registers, radio configuration controlled by the radio CPU, and protocol-related variables. If
pRegOverride is NULL, no registers are overridden.
Running CMD_RADIO_SETUP or another radio setup command is mandatory before using any command
that uses the receiver, transmitter, or frequency synthesizer. If the RF core is reset, CMD_RADIO_SETUP
must be re-run.
The CMD_RADIO_SETUP performs operations as follows:
If mode != 0xFF, configure modem and RFE according to the given mode.
If mode != 0xFF, copy firmware-defined parameters according to the given mode.
If config.bNoAdi0Setup = 0, prepare ADI 0 initialization values according to config.frontEndMode,
config.biasMode, and config.lnaIbBoost.
If config.bNoAdi0Setup = 0 and config.bNoAdi0Trim = 0, modify ADI 0 values as found in FCFG1.
If config.bNoAdi1Setup = 0, prepare ADI 1 initialization values.
If config.bNoAdi1Setup = 0 and config.bNoAdi1Trim = 0, modify ADI 1 values as found in FCFG1.
If config.bNoFsPowerup = 0, prepare register values for writing to DLO_DTX module, which depends
on the loDivider setting.
Go through override list, and process as follows
– Update all firmware-defined registers.
– Update all digital hardware registers directly, except in the FSCA module if it causes a DDI write. If
config.bNoFsPowerup = 0, change the prepared values, otherwise ignore.
– For ADI 0 registers, ignore if config.bNoAdi0Ovr = 1; otherwise:
If config.bNoAdi0Setup = 0, update the prepared values.
If config.bNoAdi0Setup = 1, write directly to ADI 0.
– For ADI 1 registers, ignore if config.bNoAdi1Ovr = 1; otherwise:
If config.bNoAdi1Setup = 0, update the prepared values.
If config.bNoAdi1Setup = 1, write directly to ADI 1.
If mode != 0xFF and config.bNoAdi0Trim = 0, modify the RSSI offset according to the value from
FCFG1.
If config.bNoAdi0Setup = 0 and config.bNoAdi0Trim = 0, modify certain trim values based on
config.frontEndMode and applicable software-defined parameters.
If config.bNoAdi0Setup = 0, write prepared values to ADI 0.
If config.bNoAdi1Setup = 0, write prepared values to ADI 1.
If config.bNoFsPowerup = 0, power up and reset synthesizer, then write prepared DLO_DTX registers
to the module as if CMD_FS_POWERUP had been called.
If trim values are applied by setting config.bNoAdi0Trim = 0 or config.bNoAdi1Trim = 0, the trim values are
read from FCFG1 [18] unless they have otherwise been provided. If these values are read from FCFG1
the VIMS module must be powered, allowing flash reads. To avoid reading FCFG1 while running
CMD_RADIO_SETUP, the values may be read in advance using CMD_READ_TRIM, or provided using
CMD_SET_TRIM.
The txPower parameter is stored and applied every time transmission of a packet starts to set an output
power with temperature compensation. This setting can be changed later with the command
CMD_SET_TX_POWER (see
The override value structure is a string of 32-bit entries provided by TI or produced by
1492
Radio
Section
23.3.4.16).
Copyright © 2015, Texas Instruments Incorporated
SmartRF
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
www.ti.com
Studio.

Hide quick links:

Advertisement

loading