Skip to content

Missing standby time constant values as per datasheet#48

Merged
FoamyGuy merged 4 commits intoadafruit:mainfrom
stroobandt:main
Mar 13, 2026
Merged

Missing standby time constant values as per datasheet#48
FoamyGuy merged 4 commits intoadafruit:mainfrom
stroobandt:main

Conversation

@stroobandt
Copy link
Contributor

Two longer standby time constant values (2000 and 4000 ms) were missing as specified in the BMP280 datasheet.
I have an application for the longest one.

Missing standby timeconstant values as per datasheet
Missing standby time constant values as per datasheet
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding these, I noticed some other seemingly incorrect constants have those values already.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

values 0x06 and 0x07 seem to already have named constants here.

But looking in the datasheet it does appear that 10 and 20 ms as the names here state is incorrect, those values aren't listed in the this table of the datasheet:

Image

Can you please also remove STANDBY_TC_10 and STANDBY_TC_20 so that we will not end up with duplicated constant values with differing names.

@stroobandt
Copy link
Contributor Author

Thanks for adding these, I noticed some other seemingly incorrect constants have those values already.

Good point! OK, I removed the invalid standby time constant values.

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

Didn't test hardware, but confirmed new values match datasheet.

@FoamyGuy FoamyGuy merged commit aa85ceb into adafruit:main Mar 13, 2026
1 check passed
adafruit-adabot pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Mar 14, 2026
Updating https://github.com/adafruit/Adafruit_CircuitPython_AS7343 to 1.0.1 from 1.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_AS7343#1 from adafruit/examples

Updating https://github.com/adafruit/Adafruit_CircuitPython_BMP280 to 3.3.10 from 3.3.9:
  > Merge pull request adafruit/Adafruit_CircuitPython_BMP280#48 from stroobandt/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_TM to 1.2.0 from 1.1.18:
  > Merge pull request adafruit/Adafruit_CircuitPython_TM#20 from adafruit/tmp119
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.

2 participants