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.

CC2642R: Building a custom RTLS Coordinator

Part Number: CC2642R

Hello all,

I managed to create custom periodic packets and attach CTE to them in a way that TI’s RTLS_Coordinator identifies them and reads IQ data normally.

 

I now want to create a custom AoA Receiver and replace the RTLS_Coordinator example.

I only need simple functions from the receiver – using only connectionless AoA I need it to sync only to one source and continuously output IQ data without any host interference.

The current implementation of  RTLS_Coordinator forces me to go through Python code and physically attach a host to the LaunchPad in order to start sampling IQ data. I have no interest in controlling the data sampling through a host – I want the LaunchPad to work independently.

 

The RTLS_Coordinator example is quite convoluted and hard for me to follow, since It utilizes the RTLS Service, RTLS Control Module, the NPI and so forth.

For the task that I specified before, do I even need to setup and use the RTLS Control Module, or does the RTLS Service provide all the API I need to set up IQ sampling?

If so, can you list the sequence of commands that I need to start IQ sampling?

 

So far I’ve established a sync with a periodic transmission that contains CTE. Then I called the functions RTLSSrv_initAntArray, RTLSSrv_setCteSampleAccuracy, RTLSSrv_setCLCteSamplingEnableCmd, after which I get the event RTLSSRV_CL_AOA_ENABLE_EVT and return SUCCESS. After that I’m not sure where to proceed to get the IQ samples, or if further initializations are required.

I'm working with SDK 5.2. 

Any help or guide would be appreciated,

 

Eyal

  • Hi Eyal,

    An expert has been assigned to this question and will respond when they can, but it is the holiday season so it may be a few weeks until we can give you a detailed answer. I apologize for the inconvenience and I appreciate your patience.

    Best,

    Nate

  • I'll update and say that I found the issue. I needed to add the symbol RTLS_CTE together with USE_RTLS that I added before.

    The event RTLSSRV_CL_CTE_IQ_REPORT_EVT now fires properly and I tested the switching and the sampling and it all seems fine. Now, however, it seems that the IQ report event only happens for a fixed number of times and then it just stops. I still get regular periodic advertisements after the IQ reports stop, since the event GAP_SCAN_PERIODIC_ADV_REPORT_EVENT is still firing normally, so I haven't lost sync or something like that.

    I'm not sure where is this coming from since there's no timeout or any interval option for AoA sampling. Maybe it's related to some buffer filling up?

  • Thank you for the update Eyal. Since this is a separate issue, I'm going to close this thread. Please open a new thread for new questions. This helps future customers when they search with similar questions and keeps our forum more organized in general.

    Best,

    Nate