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.

IWR6843LEVM: Problems about getting data from serial port

Part Number: IWR6843LEVM

Hi

while I am doing the experiments about Vital_Signs_With_People_Tracking:

FW:  vital_signs_tracking_6843AOP_demo

CFG: vital_signs_AOP_2m

I successfully started the instutrial visualizer,  and the device worked all functional, no problem.

But when I connected the radar to pc, trying to track data with serial port. What I got from serial port, is different from what you write in the user guide.

What I got:  Frame Header(48 bytes)  + unit struct(20bytes) + point struct(point num * 8 bytes)

What I should get :  Frame Header(48 bytes)  TLV header(8 bytes) + unit struct(20bytes) + point struct(point num * 8 bytes)

So I missed TLV headers, besides, TLV nums seemed to be strange, and no vital sign tlv, or other any tlvs.

Is this normal, if it is not, could you please tell me how to get the right data from serial port

  • Hi,

    Vital Signs TLV contains a header and Vital signs information

    TLV header contains the TLV type and length information. TLV type is 0x410 and length is 136 (0x88) bytes

    Vital signs information contains ID, Rangebin, Breathing deviation, Heart rate, Breathing rate, Heart rate circular buffer and Breath rate circular buffer

    uint16_t id;
    uint16_t rangebin;
    float breathingDeviation;
    float heartRate;
    float breathingRate;
    float VitalSignsHeartCircularBuffer[15];
    float VitalSignsBreathCircularBuffer[15];

    Are you able to locate the TLV type 0x410 and length of 136?

    Regards

  • Thanks for answering, I have parsed succesfully, but there's something I don't understand still. 

    float VitalSignsHeartCircularBuffer[15];
    float VitalSignsBreathCircularBuffer[15];

    these two messages, are they in the time domain, what does the amplitude mean, and can we get heartrate and breathrate from these signals directly.

    Do you have any idea about?

    Regards

  • Hi,

    float VitalSignsHeartCircularBuffer[15];
    float VitalSignsBreathCircularBuffer[15];

    Correspond to internal parameters to display the waveform. They do not have any unit. You can ignore them in your development

    You cannot derive heartrate and breath rate from the above arrays. You need to use 

    float heartRate;
    float breathingRate;

    in the TLV for heart rate and breath rate

    Regards