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.

  • TI Thinks Resolved

SIMPLELINK-CC13X2-26X2-SDK: new antenna switch

Intellectual 330 points

Replies: 4

Views: 71

Part Number: SIMPLELINK-CC13X2-26X2-SDK

Hi

I am using the cc13x2 cc26x2 sdk rev 4.10.0.78

c26x2r1 launchxl  with launchpad cc2640r2 one board with rtls_master firmware and one board with rtls_slave firmware

to the board with the rtls_master I need to connect my switch and antennas set con, the switch is connected to different IO pins 

where can I define the new pins in order to perform AOA 

thanks

Zahiz

  • Hi Zahiz,

    You have to modify the launchpad to use the microSMA and then using the SMA cable to go to the launchpad. Instructions can be found here: http://dev.ti.com/tirex/explore/node?node=AANEtvJ3vSoqWPiI3wiqEA__FUz-xrs__LATEST

    The instructions are for the CC2640R2 LP, but the same instructions apply to CC26x2. AoA is no longer supported on the CC2640R2. 

    Regards,

    Evan Wakefield

    Please click the "This Resolved My Issue" button on this post if it answers your question

  • In reply to Evan Wakefield:

    Hi 

    Thanks

    I think I am OK with the physical connection part

    I need to change the callback (in rtls_master) that switches the antenna during the CTE time

    where can I find this callback

    thanks

    Zahiz 

  • In reply to zahiz zloterz:

    Zahiz,

    The antennas switching occurs within the radio. There is no call back to switch the antenna in the application, the antenna switching done within the stack/radio and is configurable though, which you can find more information on here:

    http://dev.ti.com/tirex/content/simplelink_cc13x2_26x2_sdk_4_10_00_78/docs/ble5stack/ble_user_guide/html/ble-stack-5.x-guide/localization-index-cc13x2_26x2.html#antenna-switching

    Regards,

    Evan Wakefield

    Please click the "This Resolved My Issue" button on this post if it answers your question

  • In reply to Evan Wakefield:

    Hi


    As I understand
    in
    antennaIOEntry_t antennaTbl[ANTENNA_TABLE_SIZE] = {
    BV(27)|BV(28), // id 0, A1.1
    BV(27)|BV(29), // id 1, A1.2
    BV(27)|BV(30), // id 2, A1.3
    BV(28), // id 3, A2.1
    BV(29), // id 4, A2.2
    BV(30)}; // id 5 A2.3

    we put a list of DIOs that we may use for controlling the antenna switch

    in
    typedef struct __attribute__((packed))
    {
    uint16_t connHandle; // Connection handle
    uint8_t slotDurations; // 1us/2us sampling slots
    uint8_t sampleRate; // 1Mhz (BT5.1 spec), 2Mhz, 3Mhz or 4Mhz - this enables oversampling
    uint8_t sampleSize; // 8 bit sample (as defined by BT5.1 spec), 16 bit sample (higher accuracy)
    uint8_t sampleCtrl; // sample control flags 0x00-default filtering, 0x01-RAW_RF no filtering, , bit 4,5 0x10 - ONLY_ANT_1, 0x20 - ONLY_ANT_2
    uint8_t samplingEnable; // 0 = mask CTE even if enabled, 1 = don't mask CTE, even if disabled (support Unrequested CTE)
    uint8_t numAnt; // Number of antennas in antenna pattern
    uint8_t pAntPattern[]; // Antenna Id's in the pattern
    } rtlsAoaConfigReq_t;

    numAnt    will determine number of antennas
    and pAntPattern[]    will determine the sequence

    is it correct

    thanks
    Zahiz

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.