Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] BMI270 support #861

Closed
nerdCopter opened this issue Aug 31, 2022 · 18 comments · Fixed by #930
Closed

[feature request] BMI270 support #861

nerdCopter opened this issue Aug 31, 2022 · 18 comments · Fixed by #930
Assignees
Labels

Comments

@nerdCopter
Copy link
Member

  • No support for BMI270
  • Been trying to get BMI270 code compiling for multiple weeks unsuccessfully :(
@nerdCopter nerdCopter self-assigned this Aug 31, 2022
@nerdCopter
Copy link
Member Author

nerdCopter commented Aug 31, 2022

i wonder if @yangyeah or @JulioCesarMatias is interested in this task?
i plan to keep trying, but seems more complex than expected and doesn't look good for me.

@BeauBrewski
Copy link
Collaborator

Ditto

@BeauBrewski BeauBrewski added help wanted Extra attention is needed feature-request labels Sep 1, 2022
@DusKing1
Copy link

DusKing1 commented Sep 2, 2022

  • If you are suffering memory issue, please use the maximum fifo driver
  • You only need to include the bmi270.c or bmi270_maximum_fifo.c in target.mk

@nerdCopter
Copy link
Member Author

  • If you are suffering memory issue, please use the maximum fifo driver
  • You only need to include the bmi270.c or bmi270_maximum_fifo.c in target.mk

thank you kind sir, i have tried a multitude of ports, but i will "reset" and try again.

@DusKing1
Copy link

DusKing1 commented Sep 2, 2022

  • If you are suffering memory issue, please use the maximum fifo driver
  • You only need to include the bmi270.c or bmi270_maximum_fifo.c in target.mk

thank you kind sir, i have tried a multitude of ports, but i will "reset" and try again.

feel free to dm me if you need more help hehe

@JulioCesarMatias
Copy link
Contributor

I'd like to help with that... But unfortunately I don't have any FC with the BMI270

@DutchFPV
Copy link

DutchFPV commented Sep 4, 2022

I'd like to help with that... But unfortunately I don't have any FC with the BMI270

I have 2 Foxeer F7 V3s that are useless to me until this gyro is supported. Are you in the US? I can send you one.

I'm two weeks away from launching a new racing frame and build spec intended for use with an Emuflight preset that's already in place. Problem is about half of all racers are using the Foxeer F7. So I'm a bit invested in this. Unfortunately my coding skills are nil. But it would be my pleasure to send you a board if you think it will help move this along. DM me (Dutch) in the Discord group if interested.

@JulioCesarMatias
Copy link
Contributor

I'd like to help with that... But unfortunately I don't have any FC with the BMI270

I have 2 Foxeer F7 V3s that are useless to me until this gyro is supported. Are you in the US? I can send you one.

I'm two weeks away from launching a new racing frame and build spec intended for use with an Emuflight preset that's already in place. Problem is about half of all racers are using the Foxeer F7. So I'm a bit invested in this. Unfortunately my coding skills are nil. But it would be my pleasure to send you a board if you think it will help move this along. DM me (Dutch) in the Discord group if interested.

I'm in Brazil...

@DutchFPV
Copy link

DutchFPV commented Sep 5, 2022 via email

@nerdCopter
Copy link
Member Author

nerdCopter commented Sep 19, 2022

pinging another person (@Guidus93) (Zeez & iFlight) that may be able to help or forward to potential helpers...

@nerdCopter nerdCopter changed the title BMI270 [feature request] BMI270 support Sep 21, 2022
@chucky-whiskers
Copy link

Has anyone made any progress on this yet?

@nerdCopter
Copy link
Member Author

Has anyone made any progress on this yet?

nope. only failed attempts.

@Peck07
Copy link
Contributor

Peck07 commented May 14, 2023

Is there any update on this?
I've managed to compile the IFLIGHT_F745_AIO_V2 target based on the branch 20220726_BMI270_targets (of course with modifications)
I don't have this board, but have another type with BMI270, so that will be my next step, unless somebody already solved this
Sorry, pretty new to compiling Emuflight.

Edit: Did the changes on target BETAFPVF411 (the board I have), and gyro is working on the bench, so something is definitely not right 😄
Also, I must admit I've used an older version of accgyro_spi_bmi270.

@nerdCopter
Copy link
Member Author

Is there any update on this? I've managed to compile the IFLIGHT_F745_AIO_V2 target based on the branch 20220726_BMI270_targets (of course with modifications) I don't have this board, but have another type with BMI270, so that will be my next step, unless somebody already solved this Sorry, pretty new to compiling Emuflight.

Edit: Did the changes on target BETAFPVF411 (the board I have), and gyro is working on the bench, so something is definitely not right smile Also, I must admit I've used an older version of accgyro_spi_bmi270.

you "do" or "do not" have your modifications working??.
image

it is my understanding that current Emu code-base is missing too many things for the bmi270 driver to work.

@nerdCopter
Copy link
Member Author

nerdCopter commented May 15, 2023

this was the latest BMI code attempt. still massively broken.
20220906_BMI270_more-try_still-broke_massive-PITA
https://github.com/nerdCopter/EmuFlight_nerdRepo/tree/20220906_BMI270_more-try_still-broke_massive-PITA

tried with iNav as well, but failed. i'm thinking iNav logic would work better for our old code base, but may need to be a mix of both sources.

@Peck07
Copy link
Contributor

Peck07 commented May 15, 2023

Compiling code to targets BETAFPVF411, IFLIGHT_F745_AIO_V2:
https://github.com/Peck07/EmuFlight/tree/20220726_BMI270_targets

WARNING: still needs to be tested in flight!

@BeauBrewski
Copy link
Collaborator

@Peck07
I can bench test the IFLIGHT_F745_AIO_V2.

Also have a Skystars with BMI270 I can test on, I believe its SKYSTARSF7HDPRO

@Peck07
Copy link
Contributor

Peck07 commented May 15, 2023

@nerdCopter started a PR: #890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
7 participants