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

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

1 个回复

  • 您好!

    感谢使用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

    谢谢