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.

LP-CC2652RB: Change Antenna Switch pattern

Part Number: LP-CC2652RB


Hi,

i want to design a custom Antenna board for the CC26x2 Launchpad. At the moment, the RF Core switches the Antennas in a One-Hot Pattern. Is there an way to change this to binary coded?

Is this somewhere hardcoded inside the stack?

I have an RF Switch which has binary coded inputs and i don't want to put an extra decoder in between.

Best regards

Franz

  • Hi,

    Assigning this thread for follow-up. Stay tuned.

  • Hi Franz,

    I am so sorry for the late response.

    So, for the switching pattern, there are four GPIO's initialized and controlled from the AOA driver files (AOA.h + AOA.c) located in <sdk-install-dir>\examples\rtos\CC26X2R1_LAUNCHXL\ble5stack\rtls_passive\Drivers\AOA (so not defined in the stack).

    The switching pattern is not straight-forward one-shot: you are correct in that there is only one pin enabled at a time for selecting either of the antennas in an array, but a fourth pin is toggled to select either of the arrays on the booster pack. You can choose to change the pins used and how they are set, but a lot of the support functions for the AOA driver is based on toggling the array select and going through the three antennas on each array (as you probably know). You are obviously free to change it to whatever you want, but in this case it might result in more work than changing out the antenna switch in your design.

    Best regards,

    Vetle