betaflight / betaflight

Open Source Flight Controller Firmware
GNU General Public License v3.0
8.01k stars 2.86k forks source link

MAG causing flight controller freezing #13617

Open ivrj opened 2 weeks ago

ivrj commented 2 weeks ago

Describe the bug

When mag enabled, betaflight is crashing (freezing) on startup. If disable mag, flight controller wont freeze anymore. Mag connected to CL2 DA2 as matek f405 se page orientation. Hardware: Matek f405-se, gps Beitian BE-252Q with magnetometer QMC5883 , Caddix vista Firmware BF 4.5

To Reproduce

wiring hardware as describe on wiring session, enable magnetometer. If disable magnetometer, flight controller will not freeze anymore. Need to put GPS powered on 5v to be able to configure on betaflight configurator, gps only turn on when connect LIPO, otherwise you can't change configuration if powered by USB (4.5v line).

Expected behavior

flight controller not freezes

Support ID

Id: "9f31f0fe-4d28-4b24-a7e6-e71ff2878534"

Flight controller

Matek F405 SE, Aliexpress

Other components

GPS Beitian BE-252q with mag QMC5883 Caddix Vista Crossfire nano

How are the different components wired up (including port information)

  1. Caddix vista on UART5 powered on VBat
  2. GPS on UART4 powered on 5v line
  3. Crossfire on UART2 powered on 4.5v
  4. Mag QMC5883 on CL2/DA2 as matek product page orientation ( https://www.mateksys.com/?portfolio=f405-se#tab-id-4 and https://www.mateksys.com/?portfolio=f405-se#tab-id-5) 👇

image

image

Add any other context about the problem that you think might be relevant here

No response