Tool/software: TI-RTOS
Hi Team,
I want to implement the function of modifying the transmit power.I exported this power meter from smartstuio:
RF_TxPowerTable_Entry txPowerTable[TX_POWER_TABLE_SIZE] =
{
{-10, RF_TxPowerTable_DEFAULT_PA_ENTRY(0, 3, 0, 2) },
{0, RF_TxPowerTable_DEFAULT_PA_ENTRY(1, 3, 0, 7) },
{2, RF_TxPowerTable_DEFAULT_PA_ENTRY(1, 3, 0, 9) },
{3, RF_TxPowerTable_DEFAULT_PA_ENTRY(2, 3, 0, 11) },
{4, RF_TxPowerTable_DEFAULT_PA_ENTRY(2, 3, 0, 12) },
{5, RF_TxPowerTable_DEFAULT_PA_ENTRY(3, 3, 0, 16) },
{6, RF_TxPowerTable_DEFAULT_PA_ENTRY(4, 3, 0, 18) },
{7, RF_TxPowerTable_DEFAULT_PA_ENTRY(5, 3, 0, 21) },
{8, RF_TxPowerTable_DEFAULT_PA_ENTRY(6, 3, 0, 23) },
{9, RF_TxPowerTable_DEFAULT_PA_ENTRY(8, 3, 0, 28) },
{10, RF_TxPowerTable_DEFAULT_PA_ENTRY(11, 3, 0, 35) },
{11, RF_TxPowerTable_DEFAULT_PA_ENTRY(8, 1, 0, 39) },
{12, RF_TxPowerTable_DEFAULT_PA_ENTRY(14, 1, 0, 60) },
{13, RF_TxPowerTable_DEFAULT_PA_ENTRY(15, 0, 0, 108) },
// The original PA value (13.7 dBm) have been rounded to an integer value.
{14, RF_TxPowerTable_DEFAULT_PA_ENTRY(63, 0, 0, 92) },
// This setting requires CCFG_FORCE_VDDR_HH = 1.
{15, RF_TxPowerTable_DEFAULT_PA_ENTRY(63, 0, 1, 72) },
RF_TxPowerTable_TERMINATION_ENTRY
};
1.I used the WOR-RX (433M) routine. First I tested the default transmit power, which is 0xA73F. When I use RF_setTxPower(rfHandle,txPowerTable[14].value); the status value returned by the API is successful, but it is 0xB83F instead of 0xA73F, why?
2.From the results, the end of 3F means paType = 0x1, but the power meter shows DefaultPA, how to explain it?
3.I tried different power combinations, although it can be set successfully but it does not seem to take effect, because the RSSI value does not change under the same conditions.