-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
BMP280 first read BUG #12421
Comments
You can check if the time between changing the sensor mode and reading the data is correct. Try to add mdelay(10) here: nuttx/drivers/sensors/bmp280_uorb.c Line 635 in 3cc65d5
|
That's odd.. I don't remember seeing that. |
@raiden00pl it makes no difference. Modification:
Before modification:
After modification:
|
I see there is no waiting for any status flag before reading the data. Make sure that |
Everytime bmp280 run for the first time after reset the board it is reporting incorrect value.
Near to the sea level it should return near to 1013 hPa, but:
Running it at second time, everything is fine:
@jerpelea did you see this issue before (git blame show you are author) ?
I'm testing on RaspberryPi Pico: #12420
The text was updated successfully, but these errors were encountered: