-
-
Notifications
You must be signed in to change notification settings - Fork 16
Nano sense 33 BLE BMI270 failing to start again with latest changes as of 4/12/25 #106
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
Comments
Unfortunately -12 is |
Sorry didn't error didn't register yesterday - probably because GIGA stuff had me crazy. Anyway changed llext_heap_size to 128 from 96 and that seems to have fixed it so that we don't get that error anymore. Now sure what happened that not the BMI270 isn;t working with the sparkfun lib. With the Arduino version it says started but not seeing any data so something is up. Have to dig but may wait to dig into the libraries. You want a PR for the change? |
Even after making the the BMI270 was failing to start as I mentioned. But found something interesting. After uploading the sketech I will get Device not found error. But if I re-burn the bootloader the sketch starts and runs correctly: Also works if I upload the sketch after I do a double of the reset button??? Of course if I power off and power on I get back to not finding the BMI270???? Unless I leave it off for 10 or more seconds - go figure!!!!!! EDIT: Forgot to mention I am using the sparkfun BMI270 library. |
Did finally get the Arduino_BMI270_BMM150 library working with Zephyr. But again strange things happen.
If I cycle power I will get good data"
Here is the modified library if you want to try. Just using the accelerometer sketch to test with. |
Was experimenting a little more with this and begining to think there is some sort of memory issue. While a basic sketch appears to work to get the IMU data after a power cycle - think the issue is the BMI270 since the BMM150 seems to always work and give good data.
Now if I try to add in the MadgwichAHRS library I loose serial (Com port). If I enter debug mode and I type sketch in the serial monitor nothing shows in either the Serial Monitor or on Serial1. More fun. EDIT: Using @KurtE;s trick of typing sketch in Serial1 found the issue is probably another item has to be added to llexte_exports.c. Have to add atan2f. UPDATE: see Llext heap fix for nano33 and Fixes for LLEXT_EXPORTS.C #109 |
Rerunning BMI270 test sketches on the Sense is showing failing to start the BMI270 using the Sparkfun library so ran the Arduino BMI270-BMM150 library in debug mode.
Now getting the following error:
The text was updated successfully, but these errors were encountered: