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: Issues about function AOA_getPairAngles().

Part Number: LAUNCHXL-CC26X2R1


Hi team,

Here's the request from the customer:

  1. Customer went to look at the function AOA_getPairAngles() carefully, and his understanding is as follows: the position of the angle result in the AOA_getPairAngles() function is as shown in the figure below, one of the following two figures is #elif RTLS_MASTER, the other is #ifdef RTLS_PASSIVE, they appear successively, and the variables that finally store the angle value are all on antResult->pairAngle[pair]. If using antResult->pairAngle[pair] to store the angle value, the later data will overwrite the previous data, so how to store the data? Or is his understanding above wrong? If the understanding is wrong, which variable is the specific variable that stores the final angle value?
  2. As shown in the figure below, TI officials can implement the transmission of the final angle value to the provided page. Which code file is the angle value transmitted through? Which variable is the transmitted angle value stored in and passed out?

Could you help check this case? Thanks.

Best Regards,                                                        

Nick

  • Hi Nick,

    Please make sure to specify the SDK version - here I assume it is SDK 5.10. Please let us know in case a different SDK is used.

    1- The code has been written assuming the data collected from each constant tone extension (CTE) is sent over UART before the next tone is sampled. The customer can modified the functioning of the function to write the angles to a different location.

    2- There is no file, this transmission is done through UART. The content of the UART data should be pretty explicit.

    I hope this will help,

    Best regards,

  • Hi Clément,

    Customer confirms the SDK version is 5.10.

    HW uses three boards: master, passive, and slave. Both the master and the passive are equipped with AOA antenna boards. The master automatically collects the two angle values ​​obtained by the passive and the master. 

    Customer wants to know is which UART transmits the angle value of master and passive? And which .c file is this UART written in?

    Best Regards,                                                        

    Nick

  • Hi Nick,

    The UART communication is handled by the code in the NPI folder. Generally speaking, I recommend to use the search functions of your IDE to identify the code used to transmit data over UART.

    I hope this will help,

    Best regards,

  • Hi Clément,

    Customer gives us more detail about this issue:

    1. He found this function in the rtls_ctrl_aoa.c file. The customer's understanding is to send the value of the aoaResult via this function, so the aoaResult inside of this function is the angle value. Is he right?
    2. What is the main difference between the three .c files in the following figure?Are the two calculated angle values, rtls_aoa.c and rtls_ctrl.c, related to the transfer?

    Best Regards,                                                        

    Nick

  • Hi Nick,

    1- Yes correct, this is the right function.

    2-  I do not understand the question here. Please refer to the comments in the files if more details are required.

    Best regards,

  • Hi Clément,

    The customer provided more information here:

    1. What are the main purposes and differences of the three files rtls_ctrl_aoa.c, rtls_aoa.c and rtls_ctrl.c? The customer didn't quite understand the description in the document notes.
    2. If rtls_ctrl_aoa.c is enabled, will the files rtls_aoa.c and rtls_ctrl.c still be used?

    Best Regards,                                                        

    Nick

  • Hi Nick,

    All the files provided are required to make AOA work on the system.

    I cannot comment more than this. Thank you for your comprehension.

    Best regards,