Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store calibration to flash memory #38

Merged
merged 6 commits into from
Dec 11, 2023
Merged

Store calibration to flash memory #38

merged 6 commits into from
Dec 11, 2023

Conversation

ysoldak
Copy link
Owner

@ysoldak ysoldak commented Dec 11, 2023

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.

@ysoldak ysoldak changed the title Storing latest calibration to flash memory Store calibration to flash memory Dec 11, 2023
@ysoldak ysoldak merged commit a679fac into master Dec 11, 2023
@ysoldak ysoldak deleted the flash branch December 13, 2023 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant