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.

LAUNCHXL-CC26X2R1: RF Core Configuration through SysConfig. ZStack SDK 3.40.00.02

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

Hello,

I am trying to  configure the RF Core for my external amplifier CC2592 on a CC2652 custom board and was wondering if there is any option to configure the RF Core Pins in SysConfig similar to how it is done in Smart RF Studio.

I have (attached snap from Target Config of Smart RF Studio)
DIO13 - LNA
DIO7 - PA
DIO14- HGM

Thanks
Akhilesh

Target Config

  • Hello Akhilesh,

    Please see the following E2E post: https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/825002 

    Also consider using the CC2652P.

    Regards,
    Ryan

  • Hi,

    I had viewed that thread previously and made those changes and tested the amplifier previously(ZStack 3.20.00.00). and it had worked fine in the legacy configuration
    I got a new board and made the changes but they don't seem to be working, so I was wondering if some changes were made when SysConfig was introduced. Does SysConfig have anything to support RF Core configuration.

    Looking into the CC2652P option, however I do not  see any sample examples for it. Can we use the CC1352P examples ? I need to run it at 2.4GHz.
    I wouldn't need to make any RFCore configuration for chip right ?

    Another question I have is how can I change the RF output dbm, both while building and at runtime ? The Tx power option is greyed out when a stack is selected in the RF Stacks.
    I saw an rfEcho example about setting the Tx level at runtime. However while developing a Zigbee Router, is the stack already using the RF handle or can I create one ?
    If I do and change the power, how does it affect the zstack ?

    Thanks
    Akhilesh

  • As I know, sysconfig doesn't support PA/LNA pins configuration for CC2652R+CC2592. I agree with Ryan that you should use CC2652P instead of CC2652R+CC2592 so you won't need to config PA/LNA pins.

  • Hi,

    I am getting a CC2652P board to test it out.
    In the meantime, I am trying to get this board (CC2652R1+CC2592) working as well.

    I have made the following changes just before BIOS_start() in main;
    IOCPortConfigureSet(IOID_13, IOC_PORT_RFC_GPO0, IOC_IOMODE_NORMAL);
    IOCPortConfigureSet(IOID_7, IOC_PORT_RFC_GPO1, IOC_IOMODE_NORMAL);
    IOCPortConfigureSet(IOID_14, IOC_IOCFG31_PORT_ID_GPIO, IOC_IOMODE_NORMAL);
    However I am not getting any RF Tx packet on the sniffer.

    Would you please clarify the following doubts ?
    1. Do I have also initialize the pins for these DIOs or does IOCPortConfigureSet take care of that.
    2. Do I have to make any changes to the radio_config to indicate an external amplifier ?
    3. How do I configure the output power of the RF Stack, be it  CC2652P or CC2652R1+CC2592

    Thanks
    Akhilesh

  • Hi,

    1. Based on the CC2652 TRM section "13.3.3 Control External LNA/PA (Range Extender) With I/Os", it seems your configuration should be fine.
    Please also note that there are DIOs which are configured by the Z-Stack examples as well.
    For example, in the ti_drivers_config.h file (generated by SysConfig), DIO13 is used by BTN-1 (CONFIG_PIN_BTN1). This may be overwriting the configuration you've performed for the RFC signals.

    2. By default, radio_config.c/h files are generated by SysConfig, so any edits there will be overwritten based on the project's .syscfg file on build.

    3. There are APIs to set the TX power; for Z-Stack, see Zstackapi_sysSetTxPowerReq.

    About developing for CC2652P, yes, you can start with the CC1352P examples: http://dev.ti.com/tirex/content/simplelink_cc13x2_26x2_sdk_3_40_00_02/docs/zigbee/html/cc13x2_26x2/custom-hardware-cc13x2_26x2.html#change-device-configuration

    Regards,
    Toby

  • Hi,

    I copied the generated files into the application and disabled the .sysconfig file so that they wouldnt get overwritten.
    However I noticed that I still needed to Initialize the pins, so had to make and update to the ti_drivers_config.c file to include the Pins used by the RF Core.

    I was able to observe amplified Tx after that.  Thank you for the assistance

    Regards,
    Akhilesh