#BMI270 problem

1 messages · Page 1 of 1 (latest)

little frost
#

Hello, I be tried to connect the bmi270 on my custom board, I ve verified the hardware and I ve done everything to get the software part working.

I even built my own custom target with the following defines but cannot detect the gyro .I ve tried everything, it's on spi 1 , I ve selected the spi bus and everything.

#

No matter what I do, I cannot get it working, tried setting every parameter, checked every resource , added it to DMA and everything

sharp hornet
#

Post actual text files, not screenshots

#

And you still haven't provided any of the information I requested

#

The first two problems are you're missing the gyro define and your gyro config is incorrect

little frost
#

Yes sir I read the manufacturer guidelines, they say use SPI 1 for it so I m connecting breakout to it, also set the spibus and mode for gyro 1 , set all the resources for cs ext and spi pins, added all the required defines and built my own target what else do I need , check the photo I post of target.h

#

The photo I posted above was when I was trying it with gyro 2 , I changed the gyro to use to second , I was just trying it out but it didn't work

#

I will again try it double checking the hardware once again let's see where it goes and I will post full CLI dump

sharp hornet
#

SPI2 should work, but nothing else you have posted so far is correct so it's not surprising its not working

#

you need to include the BMI270 in the defines so Betaflight is compiled with the correct driver, and you need to set the gyro properly in the BF Config

#

FInd a similar config and flash a cloud build using BF Configurator to rule out issues with your build environment

#

And fix your config file

little frost
#

Hello , I tried a different gyro, mpu6500 which worked perfectly, I guess I have hardware issue, one more thing I wanted to ask you is bmi has a intial sequence that switches it from i2C to spi , does betaflight driver do that

little frost
#

Okay great it's my issue then

little frost
#

It's my first time soldering a lga package ,maybe it didn't get soldered properly. Yest I also got the baro working