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.

IWR1642BOOST: Serial communication in Matlab: Packet Structure

Part Number: IWR1642BOOST


I am trying to extract data from the IWR1642BOOST board using serial communication in Matlab. I am able to parse through the header, but am encountering some issues when getting the x, y, z, and velocity from the detected objects. I have read the doxygen documentation, but am still unsure of the exact byte-by-byte breakdown of the packets.

I was wondering if someone could confirm my interpretation of the documents:

  • The first TLV should start at byte #41 (The header is 40 bytes)
  • Bytes 41:44 of the packet should contain the tag of the first TLV
  • Bytes 45:48 of the packet should contain the length of the first TLV
  • If this length were 100 bytes, the next TLV's tag should be at bytes 149:152 and the next TLV's length should be at bytes 153:156

From what we understand of the documentation, the length field of the TLV does not include the 4 bytes for the tag field and 4 bytes for the length field, but if our assumption is wrong we would appreciate guidance.

Thanks.