inav icon indicating copy to clipboard operation
inav copied to clipboard

Consolidation of issues about RM3100 compass

Open and-sh opened this issue 8 months ago • 3 comments

Using the compass revealed the following problems:

  1. Due to incorrect scaling most of compass data are lost magnetic field strength is about 0xEA6 lsb due to cancelling of low byte most of this data are lost. details https://github.com/iNavFlight/inav/issues/10746
  2. Due to n.1 seems that no one use RM3100 compass with Inav. SPI is rarely accessible on most FC, so it is logical to change the bus to I2C and possible somebody will use it. details https://github.com/iNavFlight/inav/issues/10747
  3. The order or initializing registers is incorrect. details https://github.com/iNavFlight/inav/issues/10748
  4. A check new reading is unnecessary waste of time because sampling rate of compass is much more than reading rate. details https://github.com/iNavFlight/inav/issues/10752
  5. Sampling rate can be substantially lower than default, used by Inav. This can lower the noise. details https://github.com/iNavFlight/inav/issues/10752

and-sh avatar Apr 09 '25 17:04 and-sh

Thanks a lot :)

b14ckyy avatar Apr 09 '25 17:04 b14ckyy

It looks like you may have some good changes here. It also looks like indeed you're almost the only one using it, other than that old Matek board. Want to make a pull request or two?

sensei-hacker avatar Nov 12 '25 03:11 sensei-hacker

Sorry for delay, very busy due to work. I'll do it. Just explain the procedure in general. I'll figure it out from there. So far, I've only used GitHub for storing backups.

and-sh avatar Nov 15 '25 13:11 and-sh