SWRA636C November 2019 – December 2020 CC1352P , CC2652P
The power table exported by SmartRF Studio will look like the following:
RF_TxPowerTable_Entry txPowerTable[TX_POWER_TABLE_SIZE] =
{
{6, RF_TxPowerTable_HIGH_PA_ENTRY(42, 0, 1, 39, 20) },
{7, RF_TxPowerTable_HIGH_PA_ENTRY(31, 1, 0, 20, 20) },
{8, RF_TxPowerTable_HIGH_PA_ENTRY(26, 1, 1, 25, 16) },
{9, RF_TxPowerTable_HIGH_PA_ENTRY(31, 1, 1, 31, 16) },
{10, RF_TxPowerTable_HIGH_PA_ENTRY(38, 1, 1, 39, 16) },
RF_TxPowerTable_TERMINATION_ENTRY
};
For applications that do not use this table, the output power is set in the following struct:
// Overrides for CMD_PROP_RADIO_DIV_SETUP_PA
uint32_t pOverridesTx20[] =
{
// The TX Power element should always be the first in the list
TX20_POWER_OVERRIDE(override),
// The ANADIV radio parameter based on the LO divider (0) and front-end (0) settings
(uint32_t)0x11C10703,
// override_phy_tx_pa_ramp_genfsk_hpa.xml
// Tx: Configure PA ramping, set wait time before turning off (0x2F ticks of 16/24 us = 31.3 us).
HW_REG_OVERRIDE(0x6028,0x002F),
(uint32_t)0xFFFFFFFF,
};
With an override value from the table below:
Override | Output Power [dBm] |
---|---|
0x104F66 | 10.5 |
0x103F5F | 9.5 |
0x10335A | 8.5 |
0x14285F | 7.5 |
0x144F2A | 6.5 |