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.

IWR1642: 液位计demo串口输出数据输出解析问题

Part Number: IWR1642

想做上位机,使用High_Accuracy_Visualizer 1.2.1,IWR1642串口输出的数据为:02 01 04 03 06 05 08 07 04 00 01 02 60 00 00 00 42 16 0A 00 00 00 00 00 59 63 CA 36 01 00 00 00 02 00 00 00 01 00 00 00 10 00 00 00 01 00 14 00 1F D7 00 00 00 00 25 00 00 00 00 00 06 00 00 00 18 00 00 00 00 00 00 00 21 04 00 00 00 79 07 00 71 00 00 00 07 00 00 00 02 00 00 00 F8 8E 01 08
其中按官网协议解析来看
uint16_t magicWodr[4]:02 01 04 03 06 05 08 07 //魔术字
uint32_t version:04 00 01 02 //版本00040201
uint32_t totalPacketLen:60 00 00 00 //总数据包长度96字节
uint32_t platform:42 16 0A 00 //平台1642
uint32_t frameNumber:00 00 00 00 //帧号
uint32_t timeCPUcycles:59 63 CA 36
uint32_t numDetectedObj:01 00 00 00 //检测到的对象数
uint32_t numTLVs:02 00 00 00 //2个item
uint32_t subFrameNumber:01 00 00 00
10 00 00 00
01 00 14 00
1F D7 00 00 00 00 25 00 00 00 00 00 06 00 00 00 18 00 00 00 00 00 00 00 21 04 00 00 00 79 07 00 71 00 00 00 07 00 00 00 02 00 00 00 F8 8E 01 08

数据头解析没有问题,到TLV解析的时候这个数据长度解析和官网给的格式不一致,使用High_Accuracy_Visualizer 1.2.1是可以读出数据的,这个具体的解析数据格式是什么样的呢?还是我这个串口打印的信息是错误的?