Part Number: CC1352P
Other Parts Discussed in Thread: SYSCONFIG
The txPowerTable generated by the Sysconfig tool doesn't have an entry for 10dBm.
We are using this to set the power in some special test code (not zstack).
RF_setTxPower( rfHandle, RF_TxPowerTable_findValue((RF_TxPowerTable_Entry *) txPowerTable, TX_POWER_DBM));
This works for other values, but we need to be able to set 10dBm for some agency testing in some countries.
Is it possible to get the entries for the missing values? (I really only need 10, 14 and 20)
// TX Power table
// The RF_TxPowerTable_DEFAULT_PA_ENTRY and RF_TxPowerTable_HIGH_PA_ENTRY macros are defined in RF.h.
// The following arguments are required:
// RF_TxPowerTable_DEFAULT_PA_ENTRY(bias, gain, boost coefficient)
// RF_TxPowerTable_HIGH_PA_ENTRY(bias, ibboost, boost, coefficient, ldoTrim)
// See the Technical Reference Manual for further details about the "txPower" Command field.
// The PA settings require the CCFG_FORCE_VDDR_HH = 0 unless stated otherwise.
const RF_TxPowerTable_Entry txPowerTable[TX_POWER_TABLE_SIZE] =
{
{-20, RF_TxPowerTable_DEFAULT_PA_ENTRY(6, 3, 0, 2) },
{-18, RF_TxPowerTable_DEFAULT_PA_ENTRY(8, 3, 0, 3) },
{-15, RF_TxPowerTable_DEFAULT_PA_ENTRY(10, 3, 0, 3) },
{-12, RF_TxPowerTable_DEFAULT_PA_ENTRY(12, 3, 0, 5) },
{-10, RF_TxPowerTable_DEFAULT_PA_ENTRY(15, 3, 0, 5) },
{-9, RF_TxPowerTable_DEFAULT_PA_ENTRY(16, 3, 0, 5) },
{-6, RF_TxPowerTable_DEFAULT_PA_ENTRY(20, 3, 0, 8) },
{-5, RF_TxPowerTable_DEFAULT_PA_ENTRY(22, 3, 0, 9) },
{-3, RF_TxPowerTable_DEFAULT_PA_ENTRY(19, 2, 0, 12) },
{0, RF_TxPowerTable_DEFAULT_PA_ENTRY(19, 1, 0, 20) },
{1, RF_TxPowerTable_DEFAULT_PA_ENTRY(22, 1, 0, 20) },
{2, RF_TxPowerTable_DEFAULT_PA_ENTRY(25, 1, 0, 25) },
{3, RF_TxPowerTable_DEFAULT_PA_ENTRY(29, 1, 0, 28) },
{4, RF_TxPowerTable_DEFAULT_PA_ENTRY(35, 1, 0, 39) },
{5, RF_TxPowerTable_DEFAULT_PA_ENTRY(23, 0, 0, 57) },
{14, RF_TxPowerTable_HIGH_PA_ENTRY(22, 3, 1, 19, 27) },
{15, RF_TxPowerTable_HIGH_PA_ENTRY(26, 3, 1, 23, 27) },
{16, RF_TxPowerTable_HIGH_PA_ENTRY(30, 3, 1, 28, 27) },
{17, RF_TxPowerTable_HIGH_PA_ENTRY(37, 3, 1, 39, 27) },
{18, RF_TxPowerTable_HIGH_PA_ENTRY(32, 3, 1, 35, 48) },
{19, RF_TxPowerTable_HIGH_PA_ENTRY(34, 3, 1, 48, 63) },
{20, RF_TxPowerTable_HIGH_PA_ENTRY(53, 3, 1, 58, 63) },
RF_TxPowerTable_TERMINATION_ENTRY
};
Thanks,
- Bill