Skip to content

fix(barometer): update i2c speed for bmp581 to 400khz#27776

Merged
dakejahl merged 1 commit into
PX4:mainfrom
dirksavage88:pr-bmp581-i2c-freq
Jul 16, 2026
Merged

fix(barometer): update i2c speed for bmp581 to 400khz#27776
dakejahl merged 1 commit into
PX4:mainfrom
dirksavage88:pr-bmp581-i2c-freq

Conversation

@dirksavage88

Copy link
Copy Markdown
Contributor

Solved Problem

Update speed to 400khz. The previous 100khz may have been carried over/copied from a previous gen bosch baro driver.

Solution

Increase to 400khz to match with other devices at 400khz on the same I2C bus (such as the v6x sensors board mags, e.g. BMM350 or EEPROM)

Changelog Entry

For release notes:

Fix: update i2c speed for bosch bmp581 barometer

Alternatives

Leave as-is

Test coverage

Context

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
@github-actions github-actions Bot added kind:bug Something is broken or behaving incorrectly. scope:drivers Device drivers and hardware interfaces. scope:sensors Sensor pipeline, calibration, voting, or sensor validation. labels Jun 30, 2026
@mrpollo

mrpollo commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Maybe worth doing a quick test before merging? Would you mind comandeering your peers at @PX4/test-flight-team to get you a log or two?

@dirksavage88

Copy link
Copy Markdown
Contributor Author

Maybe worth doing a quick test before merging? Would you mind comandeering your peers at @PX4/test-flight-team to get you a log or two?

I don't think we have a cuav autopilot with one of these. It is a much newer baro.

@mrpollo

mrpollo commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Hey @cuav-chen2 @cuav-liu1 @CUAVcaijie would you mind testing this PR?

@cuav-chen2

Copy link
Copy Markdown
Contributor

Sure, I'll test. @mrpollo

@cuav-chen2

Copy link
Copy Markdown
Contributor

baro_0: BMP581 (I2C_BUS)
baro_1: ICP201xx
image
image
image
@mrpollo

@mrpollo

mrpollo commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

@dirksavage88 fyi, i guess this means it works

@dirksavage88

Copy link
Copy Markdown
Contributor Author

Just need someone to approve @mrpollo

@dakejahl
dakejahl merged commit 10c8115 into PX4:main Jul 16, 2026
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug Something is broken or behaving incorrectly. scope:drivers Device drivers and hardware interfaces. scope:sensors Sensor pipeline, calibration, voting, or sensor validation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants