This enables startups be fast, since they do not require calibration.
The very first power up does require calibration from scratch.
Every subsequent power up shall improve already good initial calibration. Improvements accumulate.
The stored calibration is discarded when reset button is pressed (connected to GND) on power up.
The initial calibration process then starts anew and the result is stored to flash.
The stored calibration data can be lost when a new firmware version is flashed on device.
Also adjusted some parameters, fixed couple overflows and documented the calibration procedure.
This enables startups be fast, since they do not require calibration.
The very first power up does require calibration from scratch. Every subsequent power up shall improve already good initial calibration. Improvements accumulate.
The stored calibration is discarded when reset button is pressed (connected to GND) on power up. The initial calibration process then starts anew and the result is stored to flash.
The stored calibration data can be lost when a new firmware version is flashed on device.
Also adjusted some parameters, fixed couple overflows and documented the calibration procedure.