apache / apache/nuttx

BMP280 first read BUG

Open
#12,421 5 comments 0 reactions 1 assignee Claimed by @linguini1 View on GitHub
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

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:
```
nsh> bmp280
Absolute pressure [hPa] = 609.820007
Temperature [C] = 25.740000
```

Running it at second time, everything is fine:
```
nsh> bmp280
Absolute pressure [hPa] = 1008.929993
Temperature [C] = 20.930000
nsh>
```

@jerpelea did you see this issue before (git blame show you are author) ?

I'm testing on RaspberryPi Pico: https://github.com/apache/nuttx/pull/12420

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.