Title: DPS310 External Barometer Doesn’t Work with F405-Wing Boards, but Pixhawk 2.4.8 Detects It as DPS280
I’m trying to connect an external DPS310 barometer to my SpeedyBee F405-Wing for use in a VTOL setup, aiming for better altitude accuracy and smoother landings. However, I’ve encountered an issue: none of my flight controllers with an STM32F405 MCU detect it as an I2C barometer. I also tested with a FlyingRC F4 Wing, with the same result.
In both cases, I get the following:
BARO2_DEVID -> DevID = 5 -> Bus Type = MSP
But there’s no I2C address or device name (DevType) shown.
The barometer is integrated into the GEPRC GEP-M1025-DI GPS + Compass + Barometer combo module.
Interestingly, when I connect the same module to a Pixhawk 2.4.8, it recognizes the barometer as a DPS280 and it works. If I set BARO_PROBE_EXT to DPS280+MSP (mask = 4160) or to All (mask = 32767), it also detects a third barometer with:
ID = 5, Bus Type = MSP
I assumed it should work with the F405-Wing, especially since the SpeedyBee F405 V4 (Copter) has this barometer integrated onboard.
Here’s what I’ve tried so far:
-
Firmware versions: 4.6.1, 4.6.2, 4.7.0, and custom builds of 4.6.1 and 4.6.2 (all include the “DPS280/DPS310 Barometric Sensor” support)
-
Removed the onboard pull-up resistor (marked as 10kΩ, but actually 100kΩ)
This changed the I2C address from 0x76 to 0x77 (verified using an Arduino Nano and I2C scanner sketch)
Is there any chance to get this working with the F405-Wing boards?