-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Nano 33 and Giga: BMI270/BMM150 Compiles but Looses Com Port after Upload #69
Comments
Just as a update from yesterday. If I run each sensor individually there is no issue. Appears some sort of conflict with Zephyr? As another test ran a case on Wire where I had the BMM150 attached directly to the BMI270 through its aux I2C port and used a library designed for that I see the same hang. Note that this config/lib works on a Teensy and a Giga under mbed but not zephyr. |
Out of curiosity wanted to see if I could use the Zephyr BMI270 driver directly. So in the config file I added
and in the overlay to the @i2c1 node:
and received the following build error:
so any ideas - just an experimeng |
got around the error by adding
the sketch does a test if the dev is available and if not goes into a while(1) loop
if its ready it prints the dev name:
from the output it seems that the device is ready but then on the print of the name it printing out a different device:
From the zephyr board for the sense:
And the sketch I am using:
more to follow if I get it working |
Describe the bug
After uploading a test sketch to access the BMI270 and BMM150 the NANO 33 BLE Sense v2 looses Com port. Nothing further can be done.
Target board + cli verbose compilation output
Full verbose compilation output, ideally with
arduino-cli
invocation or from IDE 2.3.3+Issues without the full verbose output will be discarded as invalid.
Output of Serial Monitor
NA - BLANK Lost com por
Output of readelf
NA as no error is produced
Optional: attach the elf file
Dual_sensor_150-270.ino.zip
Optional: attach the sketch
Additional context
Also tested with standalone sensors on Wire and same thing happens.
Also tested on mbed and teensy
Sparkfun library can be downloaded from lib manager. Moded df robot bmi150 lib:
DFRobot_BMM150.zip
on the nano I can get it to run by using only raw data. Heres that sketch, but I had to comment out the function print_rslt which is a debug function and write a new function to return just raw values (non compensated).
The text was updated successfully, but these errors were encountered: