STWIN Trigger reset button via USB or Firmware
Hi!
I have a STEVAL-STWINKT1B sensor running the HSDatalog firmware.
I am interfacing with it using an USB cable via linux and a modified version of the "cli_example" relying on the "HSDatalog.h" interface, which I am compiling using cmake.
When running the program from the command line terminal, the program runs fine. However, if the recording is prematurely interrupted for some reason, the sensor can get stuck, and it is impossible to start a new connection with it.
The simple solution to this is just by pressing the reset-button on the sensor, which after a few seconds solves the problem. However, I would like to be able to perform this reset without any manual interference. So my question is:
Is it possible to trigger a reset of the sensor by either a command through the USB/Cpp-code, or by embedding some kind of code-trigger in the firmware? (For example whenever the sensor receives power from the USB).
Thank you
