29-May-2022, 08:53 AM (This post was last modified: 29-May-2022, 09:07 AM by alex.tersa.)
(28-May-2022, 06:43 PM)SnowLeopardFPV Wrote: I have no idea how the B10 and B11 pins are being assigned to an I2C resource on your FC. In the INAV target file for the BETAFPVF722 target configuration file (HERE) the only assignments for MCU pins B10 and B11 are for UART3. There are no other references to those pins.
Code:#define USE_UART3
#define UART3_RX_PIN PB11
#define UART3_TX_PIN PB10
I've tried running resource remapping commands in INAV 4.1 and they just don't do anything. Anything after the "resource" command just gets ignored so all that gets output is a list of assigned resources.
Either way, INAV doesn't officially support use of an I2C device on the UART3 pads so you may somehow be trying to make use of an undocumented feature which might still be in development, thus the reason it is flaky. I don't honestly know.
If you want a official and stable compass support then you might have to switch to an FC that has official INAV support for an I2C resource via dedicated SDA and SCL breakout pads.
wow... thanks mate, and what flight controller would you recommend? I need it to have several uart and SDA/SCL, as well as it runs on inav.
I'm looking at the LUX-H7, with iFlight SucceX 50A 4in1 ESC, do you think is this set would function?
https://iha-race.com/producto/controlado...-ultimate/
https://iha-race.com/producto/esc-ifligh...32-4-in-1/
The webs are in spanish, but the manuals and pictures are universal.
Thanks in advance!