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.

CC2652R: Zigbee TX power setting with MAP_MAC_MlmeSetReq() API

Part Number: CC2652R
Other Parts Discussed in Thread: Z-STACK, LAUNCHXL-CC26X2R1, SYSCONFIG

Hi Team,

My customer wants to have TX power setting like below table,

Power requirement

Power Level verification on TI CC2652R

Chip setting

Measured Result

-5dBm

-5dBm

-6dBm

-6dBm

-6dBm

-7dBm

-7dBm

-7dBm

-10dBm

-8dBm

-8dBm

-10dBm

-9dBm

-9dBm

-10dBm

-11dBm

-11dBm

-13dBm

-12dBm

-12dBm

-13dBm

-13dBm

-13dBm

-17.5dBm

-14dBm

-14dBm

-17.5dBm

-15dBm

-15dBm

-17.5dBm

-16dBm

-16dBm

-17.5dBm

 

-20dBm

-20dBm

they tried MAP_MAC_MlmeSetReq() API, since we have levels as below:

typedef enum
{
TX_PWR_MINUS_22 = -22,
TX_PWR_MINUS_21,
TX_PWR_MINUS_20,
TX_PWR_MINUS_19,
TX_PWR_MINUS_18,
TX_PWR_MINUS_17,
TX_PWR_MINUS_16,
TX_PWR_MINUS_15,
TX_PWR_MINUS_14,
TX_PWR_MINUS_13,
TX_PWR_MINUS_12,
TX_PWR_MINUS_11,
TX_PWR_MINUS_10,
TX_PWR_MINUS_9,
TX_PWR_MINUS_8,
TX_PWR_MINUS_7,
TX_PWR_MINUS_6,
TX_PWR_MINUS_5,
TX_PWR_MINUS_4,
TX_PWR_MINUS_3,
TX_PWR_MINUS_2,
TX_PWR_MINUS_1,
TX_PWR_ZERO,
TX_PWR_PLUS_1,
TX_PWR_PLUS_2,
TX_PWR_PLUS_3,
TX_PWR_PLUS_4,
TX_PWR_PLUS_5,
TX_PWR_PLUS_6,
TX_PWR_PLUS_7,
TX_PWR_PLUS_8,
TX_PWR_PLUS_9,
TX_PWR_PLUS_10,
TX_PWR_PLUS_11,
TX_PWR_PLUS_12,
TX_PWR_PLUS_13,
TX_PWR_PLUS_14,
TX_PWR_PLUS_15,
TX_PWR_PLUS_16,
TX_PWR_PLUS_17,
TX_PWR_PLUS_18,
TX_PWR_PLUS_19
} ZMacTransmitPower_t; // The transmit power in units of -1 dBm.

But the tested result are not match, specially the levels which are not showed on smartRF studio as highlighted below, any ideas? How to get the values customer wants? Thanks!

Power requirement

Power Level verification on TI CC2652R

Chip setting

Measured Result

-5dBm

-5dBm

-6dBm

-6dBm

-6dBm

-7dBm

-7dBm

-7dBm

-10dBm

-8dBm

-8dBm

-10dBm

-9dBm

-9dBm

-10dBm

-11dBm

-11dBm

-13dBm

-12dBm

-12dBm

-13dBm

-13dBm

-13dBm

-17.5dBm

-14dBm

-14dBm

-17.5dBm

-15dBm

-15dBm

-17.5dBm

-16dBm

-16dBm

-17.5dBm

 

-20dBm

-20dBm

  • Which SDK version do you use and which measurement do you do? Conductive or Radiation?

  • Hi Yan,

    Please have the customer use Zstackapi_sysSetTxPowerReq inside their Zigbee application instead and provide an example of their API use.  Additionally, are they evaluating with a LAUNCHXL-CC26X2R1 or custom PCB?  And can you further explain the differences they are seeing between Smart RF Studio operation and the Z-Stack firmware?

    Regards,
    Ryan

  • SDK version : simplelink_cc13x2_26x2_sdk_4_40_00_44 

    evaluated with LAUNCHXL-CC26X2R1 . measurement by Conductive , 

    Have you verify these expected power requirement on TI offical and share measured results ?

    SmartRF Stduio haven't test yet.

      Zigbee Gateway Linux provide a configurature file "nwkmgr_config.ini" to adjust channel TX Power .

    In final on znp side will call function "MAP_MAC_MlmeSetReq( ZMacPhyTransmitPowerSigned, &level );"

    cat nwkmgr_config.ini

    ; tx power per channel, in dBm (from channel 11 to channel 26). Valid range is 127 to -128. The actual power will be the nearest supported power.

    CHANNEL_POWER_LIST = {-5,-5 ,-5 , -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5, -5 }

    after check ZNP code recommanded function Zstackapi_sysSetTxPowerReq still use ZMacSetTransmitPower->MAP_MAC_MlmeSetReq

  • The actual power will be the nearest supported power.

    That's a great point, as the TX power table supports specific values.  Here is an example from ti_radio_config.c which is generated by SysConfig for the v4.40 SDK for the ZNP project:

    RF_TxPowerTable_Entry txPowerTable_2400_pa5[TXPOWERTABLE_2400_PA5_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) },
        RF_TxPowerTable_TERMINATION_ENTRY
    };

    Regards,
    Ryan

  • US Power requirement

    FEM Mode

    2dBm

    HE

    1dBm

    0dBm

    -1dBm

    HL

    -2dBm

     

    EU Power requirement

    FEM Mode

    -5dBm

    HE

    -6dBm

    -7dBm

    -8dBm

    -9dBm

    -11dBm

    HL

    -12dBm

    -13dBm

    -14dBm

    -15dBm

    -16dBm

    Above TX Power steps is our requirement for US and EMEA market.  How could we config sysconfig znp.syscfg to support these requirement ?

    Right now on my side ti_radio_config.c have content below:

    RF_TxPowerTable_Entry txPowerTable_2400_pa5[TXPOWERTABLE_2400_PA5_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) },
    RF_TxPowerTable_TERMINATION_ENTRY
    };

  • We expected to set any one of TX power requirement above and effected accurate ,not nearest supported power.

  • Hi, 

    Please see section 10 of this app note: https://www.tij.co.jp/jp/lit/an/swra640e/swra640e.pdf

    regards,