Description
BNO086 not detected on MicroMod + artemis using SPI
On a Machine Learning MicroMod board with an Artemis processor, my BNO086 SF breakout board is not detected.
I have verified and re-verified (and many more times) that connections and pin definitions are correct, but the BNO086 remains undetected.
The same HW connection and code (with appropriate adjustment for the pin definition) works right away on a teensy41 board.
Is there anything specific to adjust (HW or Software) for that particular setup (artemis MCU + MicroMod Machine Learning)?
My setup
- Artemis MCU (MicroMod processor board)
- MicroMod Machine Learning board
- Powered by USB
Steps to reproduce
Hardware connection:
MicroMod Machine Learning --> BNO086
CS --> CS
COPI --> SI
CIPO --> SO
SCK --> SCK
DO --> INT
D1 --> RST
3V3 --> 3V3
GND --> GND
BNO086 "mode" pins set for SPI:
PSO --> 3V3
PS1 --> 3V3
Code is the Example_01_SPI_RotationVector.ino with the only modifications (to match hardware connection) being as follows:
#define BNO08X_CS SPI_CS // also tested with A0 and 55
#define BNO08X_INT D0 // tested to work fine in I2C mode for the sketches requiring INT and RST
#define BNO08X_RST D1 // tested to work fine in I2C mode for the sketches requiring INT and RST
Expected behavior
BNO08x Read Example
BNO08x found!
Setting desired reports
Could not enable rotation vector
Reading events
sensor was reset Setting desired reports
Rotation vector enabled
Output in form i, j, k, real, accuracy
sensor was reset Setting desired reports
Rotation vector enabled
Output in form i, j, k, real, accuracy
-0.11,0.02,0.65,0.75,3.14
-0.11,0.02,0.65,0.75,3.14
Actual behavior
BNO08x Read Example
BNO08x not detected. Check your jumpers and the hookup guide. Freezing...