This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee TXPOWER change issue.

Hi,

I am trying to change the tx power of Zigbee using the following APIs : 

1) zb_set_tx_power(0x32);
2) nrf_radio_txpower_set(NRF_RADIO_TXPOWER_NEG12DBM);
3) nrf_802154_tx_power_set(NRF_RADIO_TXPOWER_NEG12DBM);

None of this API makes a significant change in the TXPOWER CPU register and similarly I cannot see any change in the Wireshark RSS. Can you suggest a proper API to see the changes in TXPOWER.

Thanks

  • Ok got it. I will try it again and make sure everything works. 

    Thanks for your help.

  • Hi,

    I got a same question about TX power increasing to +8dBm for nRF52840 in zigbee mode.

    1、Before reseting power value,call this function `nrf_802154_tx_power_get()`,results is 0 and `my_tx_power_register` is 0x00000000.

    2、Reseting power value 8 by calling this function `nrf_802154_tx_power_set(8)`,and call `nrf_802154_tx_power_get()`,the result is 8,but the `my_tx_power_register` still is 0x00000000

    It can be seen from this,if call `nrf_802154_tx_power_set()` can get changed TX power value by call `nrf_802154_tx_power_get()`,but the `my_tx_power_register` is same,why?

    This is part of power reset vaule code:

    NRF_LOG_INFO("Get TX Power Before Reseting:  %d", nrf_802154_tx_power_get());
    NRF_LOG_INFO("Register Valuse Before Reseting: 0x%08x", NRF_RADIO->TXPOWER);  // The actual value from the register
    nrf_802154_tx_power_set(TX_POWER_LEVEL);
    NRF_LOG_INFO("Get TX Power After Reseting:  %d", nrf_802154_tx_power_get());
    NRF_LOG_INFO("Register Valuse After Reseting: 0x%08x", NRF_RADIO->TXPOWER);

    Thanks

Related