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.

AWR6843: Opening port in Matlab

Part Number: AWR6843

Hi to all,

I designed an original code in Matlab for post-processing of RAW data from sensor AWR6843. My code works fine on offline data from sensor UART. I want to make a real-time simulation of data postprocessing in Matlab. As I work from remote location, what shall I do in Matlab in order to run my original Matlab scripts? So I shall recieve bytes continuously from sensor UART to Matlab and then Matlab shall do visualization and post-processing of data.

Thanks in advance,

Veljko

  • Hi, there:

    Sorry for the delay, I just come back from a vacation.  We do not such a real-time demo.  So I can not provide a solution for your project.   But based on the configuration, you should be able to know where is the start and end of a frame, and once one frame of data is collected, you can start to do post processing.  But if there is no enough time to do post processing before the next frame of data is arrived, then you probably need to do two task parallelly.  You can search online for some support. 

    Best,

    Zigang  

  • Dear Zigang,

    Thanks for your feedback. I know that there is not such a demo by TI. In the flowchart of the radar functioning post-processing is always at the user side. Slight smile

    Anyway, I am very familiar with the frame structure and the meaning and significance of all bytes in all TLVs. I desinged an algorithm for the object size classification and works fine in offline simulation. I succeded to parse frames, the begin and the end of the frame are automatically detected, post-processing works fine, and also processing is very fast, so one frame can be processed while the buffer in Matlab receives the other portion of data.

    Anyway, in the Matlab 512 bytes are received in one time slot and I managed to make correct frames from received bytes.

    My question was only, do I need only to open port in Matlab, continuously receive the bytes from the sensor, and process the data and visualize in Matlab, or do you think I shall think about other issues in the communication between Matlab and TI sensor.

    Please, reply to this message with your opinion or you can suggest me some other online support and then I will click that you resolved my question. Slight smile

    Have in mind that I am not beginner in this field and that I know very good the whole procedure of TI radar detection (Kalman filtering, gaiting, confidence, point association etc), so you can write me complex things. Only I work remotely so I cannot try to make at my own this communication between TI sensor and Matlab.

    Thanks in advance,

    Best regards,

    Veljko

  • Hi, Veljko: 

    Open port in MATLAB sounds good to me.  

    Best,

    Zigang