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.

RTOS/CC2640R2F: AOA demo

Part Number: CC2640R2F

Tool/software: TI-RTOS

1、When we test the demo using the angle of arrival BoosterPack™ kit, we found that the output angle was not very good. Keep the equipment still ,The deviation was around 20 degrees, sometimes larger, and it could not reach the goal of less than 4 degrees ,so I would like to ask what kind of test conditions are needed, such as the position of the sender, the distance, the test environment, etc.

Platform:CC2640R2 LaunchPad + antenna(Angle of Arrival BoosterPack)

sdk:simplelink_cc2640r2_sdk_2_30_00_28  

test methed:

2、As shown below,we found that the code of aoa_receiver and aoa_sender has been removed from the latest sdk(simplelink_cc2640r2_sdk V2.40.00.32).Do you know if TI has a plan for continuous development for AOA?

3、How to understand the design idea of the receiver code caculated the angle of arrival in the file AoA.c,As show below.

// Example code for processing IQ data
int16_t AngleComplexProductComp(int16_t I1, int16_t Q1, int16_t I2, int16_t Q2)
{
    int32_t Zre, Zim;
    int16_t angle;

    // X*conj(Y)
    Zre = I1*I2 + Q1*Q2;
    Zim = Q1*I2 - I1*Q2;
    Zre >>= 10;
    Zim >>= 10;

    // Angle. The angle is returned in 256/2*pi format [-128,127] values
    angle = iatan2sc((int16_t) Zim, (int16_t) Zre);

    return (angle * angleconst);
}