Other Parts Discussed in Thread: CC1310
Hello,
I am trying to vary the TX Power dynamically without closing RF. I am doing so in steps of 15,13.6,13,10,6 dBm. However on a spectrum analyzer and from the RSSI values obtained on the RX the power does not seem to vary that much (except for the jump to the lowest TX Power (6dB)).
Currently I am using the rfc_CMD_SET_TX_POWER. Essentially, the following is how I planned to implement it:
rfc_CMD_SET_TX_POWER_t RF_cmdSetTxPower =
{
.commandNo = 0x0010,
.txPower = 0x003F,
};
uint16_t power[NUM_POWER] = {0x003F,0xBE3F,0x6A0F,0x3ACE,0x22C4}; //15,13.7,13,10,6 (in dBm)
int8_t pwrNum = 0;
while(1){
RF_cmdSetTxPower.txPower = power[pwrNum];
RF_runImmediateCmd(rfHandle,(uint32_t*) &RF_cmdSetTxPower);
RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropTx,
RF_PriorityNormal, NULL, 0);
pwrNum++;
}
The txPower hex values were obtained from SmartRF. However, it is also important to note that I am switching frequencies sometimes but sticking with the same hex power values.
Additionally, varying the power on SmartRF with our CC1310 Launch Board connected - we also do not obtain the desired results on the RX RSSI. By desired result, I mean that by varying the transmitted power level by 3dB we expect to see the same variation on the RX-side.
As I understand, even if I were to determine the tx power configuration by computing it from the TxPowerTable - we would still end up obtaining the undesirable results as in SmartRF which were tuned for a particular front-end configuration.
Any ideas on how to tackle this problem?
Thanks in advance.
Jonathan