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.

CC1352P: MT Commands

Part Number: CC1352P
Other Parts Discussed in Thread: SYSCONFIG

Hello everyone, hope you are all well.

I have a few questions about the CC1352p

 

  1. The command SYS_SET_TX_POWER, has a TX Power field of 1 byte, but when I configure TX Power in the sysconfig I put 5dB, when I search the TX Power in the file "ti_radio_config.c", TX = 0x7217, the tx value is 2 bytes. I don't understand if in the command SYS_SET_TX_POWER the TX value is 1 byte, why in the file it is 2 bytes?

 

  1. In the SYS_SET_TX_POWER command what would be the value of 5dB, I can't find a list of values?

 

  1. When I use the command SYS_OSAL_NV_READ , I use it to read the parameter ZCD_NV_SCAN_SCAN_SCAN_DURATION 0x0086, which is in the file "zcomdef.h", it is to know the duration of the scan while some device joins the network, it throws me the value of 0x04, I am not sure if that value of 0x04 corresponds to 16 minutes as the duration time found in some tables of values of other commands?

 

        4.When I send data using AF_DATA_REQUEST by broadcast I can only send up to 82 bytes of data, not sure why I can't send more if the data goes from 0 - 128 bytes?

 

Regards,

Jose

  • Hello Jose,

    1. The MT_SysSetTxPower command uses MAP_MAC_MlmeSetReq to convert the supplied txPower in dBm into a register value to be used by the radio configuration.

    2. The TX Power attribute of this command should be supplied in dBm.  For the CC1352P this will be between -20 to 20 dBm but will also depend on your PA settings and radio configuration.  No PA is used for values less than or equal to 5 dBm whereas the PA is enabled for greater than 5 dBm.  The LAUNCHXL-CC2652P7-2 matching circuit for the PA enabled is optimized for +14 to +20 dBm.

    3. ZCD_NV_SCAN_DURATION -> zgDefaultStartingScanDuration -> bdbAttributes.bdbScanDuration -> BDB_ATTRIBUTES_DEFAULT_CONFIG -> BDB_DEFAULT_SCAN_DURATION which is set to 4 in the bdb_interface.h by default, and is in units of seconds.

    4. Here is a brief explanation of maximum Zigbee packet sizes: https://e2e.ti.com/f/1/t/1077231 

    Regards,
    Ryan

  • Hello ryan,
    thanks for your answers

    1. where can you find MAP_MAC_MlmeSetReq ?
    2. if i put in the command SYS_SET_TX_POWER -> 0xFF, it will transmit at max power ?
    3. ZCD_NV_SCAN_DURATION, is the 4 seconds duration in the scan to create the network and then close it, or is it to scan for each channel and then join?

    Regards,

    Jose

  • 1. This MAC API maps directly to its ROM image implementation.  The source is not accessible to developers.
    2. Setting a value higher than possible will result in using the maximum value from the power table.  https://e2e.ti.com/f/1/t/1096081 
    3. ZCD_NV_SCAN_DURATION is scanning channels for joining, BDBC_MIN_COMMISSIONING_TIME is the time the network is open after forming the network or using a permit join enable command.

    Regards,
    Ryan