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/IWR1443BOOST: How to read streaming data on PC through the dev-pack?

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Hi,

I did follow the similar procedure to run capture demo and save data from CCS memory browser. However, I couldn't see data coming from the tera term data com port because I understood that the baud rate for Data port should be 921600. But I saw in this thread that you advice to set baud rate of 115200 similar to the config port. Why is that ?. Furthermore, If I see the raw data coming from the data com port , is it possible to capture the data in pc for say, few minutes ?. for post-processing purposes. If so, can you guide how to save it ?. Thanks,

Regards,

Sheeraz

  • Hi Sheeraz,

    The link to the other thread is broken; I am not sure what you are referencing. Are you using the Capture Demo or the Out of Box demo? The capture demo does not output data on UART by default - you will have to modify the software to output raw data on UART. The Out of Box demo does output on UART, but the baudrate should be 961200.

    For capturing data coming across the UART, you will need to make sure that when receiving the data, you know:

    1. When the data packet starts (which bit is the first bit of data?) - you can use a magic word for this purpose
    2. When the last bit of data has been received - you can determine the size of the frame.
    3. Ensure that data is collected at the same rate it is sent; UART is slow, radar will generate a lot of data, ensure you are not overwriting data as you send it

    You can use most scripting languages to save data on the serial port. 

    Regards,

    Justin

  • The out-of the box demo means the mmwave demo visualizer ?, It sends point-cloud data in that case, right ? Or correct me. Yes, I am referring to the capture demo.
  • Another thing , when we load images during the uniflash procedure, the radarSS file is the same for both (mmwave demo/capture demo) cases, but there are three files for MSS image (1. mmwave demo, 2. capture demo, 3. ccsdebug ) , I used 1. for mmwave demo, works fine. for capture demo, I m using 3. for reading the memory location in CCS debug mode. However, I am not sure about the usage of 2. file, since Can you explain the difference ?
  • Hi Sheeraz,

    The Out of Box (OoB) demo sends point cloud information.

    The CCS Debug binary (3) can be used to run any .xer4f files, and should be used for purpose of debugging device software. In your example, you are using it to view memory contents. The capture demo binary (2) (.bin) will be compiled when the debug binary (.xer4f) is compiled. .bin files are made to run on the device independent of a PC, the .xer4f files are to be used with CCS to run software in debug mode.

    To your original question - the capture demo does not transmit any data, you would need to modify it to do so. You can use the .xer4f file to debug any modifications you make. Once you have completed the modification, you can use the .bin file, which you have changed to transmit data, to capture the data over serial port.

    Regards,
    Justin
  • Hello Justin,

    Is it possible to get raw ADC data via UART port? I am doubt since UART port does not have enough bandwidth to transmit raw ADC data.

    If we want to use UART port to transmit raw ADC data, will some information loss during transmission? Or will the data structure change?

    Thank you.

    Regards,
    Jiadi
  • Hi Jiadi,

    Please open a new thread for your question. We will be happy to answer it there.

    Regards,
    Justin