-
-
Notifications
You must be signed in to change notification settings - Fork 16
Nano 33 ble SPI fails after BMI270 Connected #56
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
if I try to adjust stack to the following:
just see gibberish after crash: |
Related to question @KurtE raised |
On the External Wire pins, I tried a couple of devices on SPI object. And a QWIIC display: https://www.smart-prototyping.com/Zio-Qwiic-OLED-Display-1_5inch-128x128 Also changed the start part of setup to paus before doing things:
Runs fine on MBED. Fails on zephyr, no output to Serial or Serial1 and I lose Serial... Edit: Note: I added some printk calls into the constructors for the display and they are showing up in the USB Serial port,after I type sketch. Shows first USB type message and then nothing else.
And that message does not show up. |
Describe the bug
Using a sparkfun BMI270 sensor connected via spi hangs after device connected message. Library used: Sparkfun BMI270.
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
Output of readelf
You can find the loaction of the elf file by compiling in Verbose mode and looking near the end of the compilation output (after
Linking everything together..
)Paste (or attach) the output of
arm-none-eabi-readelf -a $your_sketch_elf_file
spi_elf.txt
Optional: attach the elf file
Example02_BasicReadingsSPI.ino.zip
Optional: attach the sketch
Additional context
Could be stack size - will adjust with increased stack size to see if it works
Attached is a LA trace that shows up to board crashing:

The text was updated successfully, but these errors were encountered: