This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2674P10: Enabling 20dBm for ZNP on CC2674P10 RGZ

Part Number: CC2674P10
Other Parts Discussed in Thread: SYSCONFIG

My customer is using a custom board with CC2674P10 RGZ, they would like to enable the 20dBm Tx power on ZNP project, but could not find how to.

znp_LP_EM_CC2674P10_tirtos7_ticlang only supports maximum 5dBm:

image.png

And switching device is not supported in the project of LP_EM_CC2674P10.

I also tried to start from a LP_EM_CC1354P10-6 project, but there is no option for CC2674P10 RGZ in the device switching window:

image.png

Please kindly provide a guide to enable the 20dBm Tx power for ZNP project, the target device is CC2674P10 RGZ. Thanks.

Best regards,

Shuyang

  • Hi Shuyang,

    I've investigated and do not think the Migration Guides will offer much clarity in this regard. When looking at the znp_LP_EM_CC2674P10_tirtos7_ticlang ti_radio_config.c/h SysConfig-generated files, it appears that the high PA tables are already available.  There is likely an error in the Zigbee SysConfig module which only allows non-PA values, which you could amend by replacing TXPOWER in ZMacSetZigbeeMACParams

    /********************************************************************************************************
     * @fn      ZMacSetZigbeeMACParams
     *
     * @brief   Sets MAC PIB values specific for Z-Stack (after calling ZMacReset)
     *
     * @return  None
     ********************************************************************************************************/
    void ZMacSetZigbeeMACParams(void)
    {
        uint8_t responseWaitTime = 16;
        ZMacSetReq(MAC_RESPONSE_WAIT_TIME, &responseWaitTime);
    
        uint16_t transactionPersistenceTime = 500;
        ZMacSetReq(MAC_TRANSACTION_PERSISTENCE_TIME, (byte *)&transactionPersistenceTime);
    
        uint8_t macFrameRetries = ZMAC_MAX_FRAME_RETRIES;
        ZMacSetReq(MAC_MAX_FRAME_RETRIES, &macFrameRetries);
    
        ZMacSetTransmitPower( (ZMacTransmitPower_t)20 ); //CHANGED FROM TX_POWER
    }
    

    You could also use the SYS_SET_TX_POWER MT API during runtime.

    Regards,
    Ryan

  • Hi Ryan,

    The customer tried to modify the Tx power passed into ZMacSetTransmitPower(), but the Tx power is not changed.

    Two questions about this function:

    1. ZMacTransmitPower_t only contains enums up to 19, but ZMacSetTransmitPower seems to accept an input parameter of 20 because the return value is 0(SUCCESS) when (ZMacTransmitPower_t)20 is passed into it. I'm a little confused about the enum definition, why it is up to 19 not 20?

    2. The customer has verified the return value of ZMacSetTransmitPower() being 0, but in antenna callback function, it still is not hitting the if (paType == RF_TxPowerTable_HighPA) branch. Is there anything else needed besides changing the Tx power? Do I need to specify the paType manually?

    If you happen to have a CC2674P10 board on hand, it will be really appreciated if you give us a hand to verify it on your side, thanks.

    Best regards,

    Shuyang

  • Hi Shuyang,

    Please confirm the SimpleLink F2 SDK version being used and provide the ti_radio_config.c/h files being generated by SysConfig.  How is the customer verifying the output TX power, and are they evaluating it both before and after commissioning?  Please also try the following:

    • Revert ZMacSetZigbeeMACParams, copy ti_zstack_config.h from the syscfg output folder to the root project directory, disable ti_zstack_config.h from generating in the SysConfig editor, and edit TXPOWER in the root ti_zstack_config.h to 20.
    • Use SYS_SET_TX_POWER to change different TX powers (0, +5, +15, +19, +20) both before and after commissioning, and report the result of each

    I cannot comment on the definition of ZMacTransmitPower_t.  You should not have to specify the paType manually.

    I am not able to test today but will try to find a CC2674P10 RGZ tomorrow to evaluate.

    Regards,
    Ryan

  • Based on my quick test it appears that the TX powers in between +14 and +20 dBm can be selected using SYS_SET_TX_POWER and determine the TX output power of the default CC2674P10 ZNP project where a network has been formed.  I can observe packet RSSI modulating as expected and observed in a packet sniffer when changing TX power values. Values from -20 to +5 dBm are not included in txPowerTable_2400_pa20 and thus not supported.

    Regards,
    Ryan

  • Hi Ryan,

    I have verified the antenna switching pin is toggling as expected and the software goes into the high PA branch in the antenna switching callback. Thanks for confirming and I will work with the customer to verify the behavior on their end.

    Best regards,

    Shuyang