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.

CC1352P7: cc1352p7-4

Part Number: CC1352P7
Other Parts Discussed in Thread: CC2652P7, SYSCONFIG,

Tool/software:

I am using cc2652p7 board  with VSWA2-63DR rf switch for my project 

i am using example code CC1352p7-4 

in sys config rf switching i need to change my vswa2-6drrf switch  where dio 9 for Tx data and dio 12 for rx data 

i need to set rf switch high  for tx and low for rx 

how to change the pin in example rf uart bridge code 

can you please write a  code to set the rf switch 

  • Hi Kuraravel,

    In order to do that, you have to create a custom board in SysConfig:


    and switch the device to the CC2652P7:

    then, you will have to copy the rfAntennaCallback method to some place in your application, in order to fix the arising build issue.

    Regards,

    Arthur

  • Hello Kuraravel,

    Arthur has the right idea with USE CUSTOM BOARD, you may be able to use the original CC1352P7 device setup considering that these two devices are binary compatible.  In the original SysConfig file, copy the rfDriverCallbackAntennaSwitching function from the Output File View ti_drivers_config.c preview to paste into your application (remove the weak attribute accordingly).  From the RF SysConfig module you can invert the values of the GPIO configurations to reduce the changes to the rfDriverCallbackAntennaSwitching, and reduce the number of antenna switch control pins as well as set the proper GPIOs.

    Regards,
    Ryan