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: Reading the serial data from mmw sensor into the CCS

Part Number: AWR1642

Tool/software: Code Composer Studio

Hi all,

I am interested in reading the serial data from the mmw sensor that is passed into the PC. How could I read it in the code composer studio ? Do I need to include reading from serial port in the dss_maain.c file ? 

Or can I write my own .c file to read through the array of detected objects that is passed through the serial port ? 

Thanks 

  • Hello Amol,
    If you want to view the detected objects value in CCS you can probe the structure " MmwDemo_detectedObj" an see the values of all the detected objects.
    Alternatively you could also save the UART data into a file on the PC using standard tools like Tera term.

    Regards,
    vivek
  • Hi Vivek, since I do not have much experience with this I would like to know if you could elaborate "probing the structure MmwDemo_detectedObj" ? I tried using System_printf to print the number of detected objects , it did print for 2 times and then the code crashed. later I found out that I cannot use the print statements. So how else could I display the number of detected objects or the co-ordinates of the detected objects.

    Thanks
  • Hi Amol,
    For your requirement I would request you to go section 6.10 of mmwave-sdk-user-guide.pdf.
    It explains why and how to disable CCS print and check any variable status in real time.


    Regards,
    Jitendra Gupta
  • Due to inactivity for a long time, we assume that your query has been resolved, so closing this thread. 

    For any further query related to this thread, please post your question, which will re-open this thread.



    Regards,
    Jitendra Gupta