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.

CCS/AWR1642: Communicating with external code from CCS

Part Number: AWR1642

Tool/software: Code Composer Studio

Hi,

I wanted to know if there is any way using which I can use the demo code in CCS to communicate with my external C++ code ?

Thanks.

  • What is your "external C++ code" running on?

    The usual answer is sure, just use a serial UART connection.
  • Hey Keith,

    The external C++ code is using other libraries like OpenCV etc and I cannot implent it inside the CCS .
    In response to your suggestion of using the serial UART connection, by using the serial UART we only he get the raw data. Is there away to process it out ? For example say I just wanted to know the number of detected objects which is numDetObj or the x,y co-ordintes of the detected objects ? 

    Thanks

  • Hello Amol,

    You can get the object information through UART. If you consult the sdk, in the following directory:

    C:\ti\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw\docs\doxygen\html

    You will find a file called 'index.html'. In this document there is a section near the bottom called 'Output information sent to host'. In this section you can find the output packet structure sent to UART which contains the number of detected objects as well as the information about each object, which is stored in the MmwDemo_detectedObj structure.

    Regards,

    Adrian