EmuFlight icon indicating copy to clipboard operation
EmuFlight copied to clipboard

Feature Request/Target/Bugfix: MATEKF411 ICM20689 gyro support (and BMI270)

Open BeauBrewski opened this issue 2 years ago • 12 comments

Per Goldensniperss on discord, Gyro not working on Darwinfpv 15A 1-3S F411 Ultralight/Whoop AIO which uses MATEKF411 firmware.

Per Darwinfpv website, this board can have the ICM20689 gyro. https://darwinfpv.com/products/darwinfpv-15a-1-3s-f411-ultralight-whoop-aio

Upgrading .hex for MATEKF411 to include ICM29689. (Previously done for MATEKF411RX due to upgrades to the HappyModel Mobula6 FC/CRAZYBEEF4FR target.)

(Note: Once BMI270 driver support is done, will need to update this target again 😞 )

BeauBrewski avatar May 25 '22 21:05 BeauBrewski

Needs tested for gyro functionality.

EmuFlight_0.4.0_MATEKF411_Build_27fc065cc.zip

BeauBrewski avatar May 25 '22 21:05 BeauBrewski

Downloaded the zip, flashed my DarwinFPV flight controller and it works fine! Thank you!

nightflasher avatar May 27 '22 19:05 nightflasher

Okay, the gyro works for flying and that is what it should do in first place. But: G-Force in OSD stays at 0.0, so something isn't working there.

nightflasher avatar Jun 06 '22 18:06 nightflasher

Can't be wrong, if this is related to this beta hex file

nightflasher avatar Jul 03 '22 16:07 nightflasher

@BeauBrewski , does this need to be PR'd and merged?
fix g-force some later date?

nerdCopter avatar Jul 23 '22 20:07 nerdCopter

yeah, please merge!

updated to 0.4.1 and on the flying field: NO GYRO - hmpf

nightflasher avatar Aug 14 '22 15:08 nightflasher

is it possible to add the DarwinF411 target in emuFlight?

nightflasher avatar Feb 26 '23 19:02 nightflasher

nope, still no gyro.

nightflasher avatar Mar 01 '23 10:03 nightflasher

@nightflasher , do you have a Betaflight status output from CLI to verify the gyro?

nerdCopter avatar Mar 01 '23 13:03 nerdCopter

Oh my bad, I realize what I did wrong. Derp. Try it this time. Same as original hex up top, but updated to 0.4.1....for real this time.

EmuFlight_0.4.1_MATEKF411_Build_abfbf0e9d.zip

BeauBrewski avatar Mar 01 '23 14:03 BeauBrewski

okay, now it's working.

nightflasher avatar Mar 07 '23 19:03 nightflasher

Working on test target for bmi270 https://github.com/emuflight/EmuFlight/pull/890

BeauBrewski avatar May 21 '23 07:05 BeauBrewski