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.

DLP NIR Nano UART4 数据包解析问题请教

UART4指令问题:我就想实现一次扫描,读取返回的光谱信息。根据EVM User's Guide里面50-51页的步骤,发送指令后收到了附件txt这样的信息,请问最后一个数据包如何解析?谢谢

send_back.txt
41 42 43 44 B8 01 00 00 C0 00 06 00 37 02 B1 08 00 00 44 43 42 41
41 42 43 44 CE 00 00 00 C0 00 06 00 03 04 01 00 00 00 44 43 42 41
41 42 43 44 EF 01 00 00 C0 00 06 00 2D 00 EE 0E 00 00 44 43 42 41

41 42 43 44 DB 66 00 00 C0 00 00 02 2E 00 74 70 6C 00 A0 00 00 00 53 28 75 63 23 63 63 63 63 63 63 63 6A 6A 76 76 75 24 28 66 23 66 23 29 63 23 76 63 63 63 29 00 14 00 00 00 03 00 00 00 03 00 00 00 08 00 00 00 01 00 00 00 4C 65 61 66 5F 77 61 74 65 72 00 00 00 00 00 00 00 00 00 00 0F 03 1F 02 07 04 2F 00 0C 6F 0B 51 1D E9 0E 03 00 60 00 80 8A 85 17 4D E9 02 C0 56 91 57 CB FE C3 97 3F 56 37 2D 77 DD 2E 0D BF 12 B6 64 E9 22 1B 9C 40 1E EC 6F D8 33 8F ED BF C6 FF E4 8D B5 0C 2F BF 36 34 36 30 30 39 30 00 ED 00 18 19 40 74 70 6C 00 52 00 00 00 53 28 63 76 63 23 63 23 76 63 29 00 08 00 00 00 28 00 00 00 02 25 00 36 34 36 30 30 39 30 00 4C 65 61 66 5F 77 61 74 65 72 00 01 00 00 00 00 00 80 00 00 07 37 EA 01 00 00 00 00 00 00 00 00 C0 A4 88 07 00 00 00 00 06 00 01 74 70 6C 00 49 00 00 00 53 28 63 63 76 76 76 76 29 23 00 05 00 00 00 00 06 84 03 A4 06 E4 00 00 00 00 00 36 34 36 30 30 39 30 00 48 61 64 61 6D 61 72 64 20 31 00 40 03 20 40 41 03 20 1F 00 00 00 11 5F 02 00 78 43 03 20 74 70 6C 00 8F 0D 00 00 69 23 00 60 03 00 00 CF 05 00 00 85 06 00 00 3D 06 00 00 D7 04 00 00 C2 07 00 00 A1 06 00 00 33 05 00 00 A1 05 00 00 FC 04 00 00 F1 06 00 00 D0 06 00 00 B7 08 00 00 78 06 00 00 04 07 00 00 C5 07 00 00 68 07 00 00 8D 07 00 00 08 07 00 00 D2 08 00 00 18 08 00 00 BD 08 00 00 29 08 00 00 94 07 00 00 26 08 00 00 D8 04 00 00 78 07 00 00 3D 06 00 00 13 07 00 00 BF 07 00 00 20 08 00 00 00 09 00 00 4F 08 00 00 F6 06 00 00 5F 08 00 00 3E 08 00 00 A2 08 00 00 AA 07 00 00 15 09 00 00 E6 06 00 00 BE 08 00 00 FF 08 00 00 9A 08 00 00 CB 07 00 00 66 07 00 00 31 08 00 00 44 43 42 41 

  • 您好!

    感谢使用TI的DLP产品。

    00 2E是读文件的内容命令,读取的数据可以通过调用dlpspec_scan_interpret() 函数来解析。

    Interpret Scan Data: Once the scan data has been retrieved, the dlpspec_scan_interpret() function converts the binary data into a scanResults structure. The scanResults structure will contain the vector of wavelength points (depending on the scanConfig selected), the corresponding intensity vector, as well as metadata that provides various other parameters such as, temperature, humidity, photodetector, etc. captured during the scan

    谢谢