Skip to content

State Mask bits description

iliasam edited this page Jan 31, 2024 · 4 revisions

Description of "Stake Mask" (displayed by PC Utilities)
See https://github.com/iliasam/OpenTOFLidar/blob/develop/Firmware/scanning_fw/main.h
bit0 (0x1) - Bad communication with TDC after init
bit1 (0x2) - No return signal was found (TDC timeout)
bit2 (0x4) - Wrong hits number from laser comparator
bit3 (0x8) - Wrong number of encoder events. Encoder is dirty or wrong installed
bit4 (0x10) - Mirror is stopped or encoder is not working
bit5 (0x20) - Mirror speed is too low or too high
bit6 (0x40) - No calibration values are set (see more info about calibration: https://github.com/iliasam/OpenTOFLidar/wiki/LidarTestingUtility).
bit7 (0x80) - UART busy. To much data to send at such UART speed.

You can press "Info" button in the "LidarTestingUtility" to get this description for active bits.

Clone this wiki locally