How to decode serial data from VL53L8CH?
Hello,
I am trying to get histograms off of the VL53L8CH sensor. I have the sensor hooked up to an F401 and I'm using the official driver from here: https://www.st.com/en/embedded-software/stsw-img043.html.
When I start ranging with the sensor through the driver, it starts sending binary data over the serial port. I believe the format of this data is described in general terms in section 5.8 of the user guide for the sensor (UM3183). But it's not very specific and it would be quite a pain to write my own function to decode the data. I believe the EVK software (from the link above) includes code that reads in this data from the serial port and saves it to a csv and/or numpy array. However the EVK software is pre-compiled so it's not easy to use this code myself. Is there example code for decoding data from the serial port, or can the code used in the EVK software be made available?
Thank you.
