I am reaching out regarding an issue with the BNO086 sensor I recently purchased from Mouser Electronics india . The sensor works perfectly when connected to an ESP32, but I am encountering issues when attempting to use it with the Sony Spresense board. I have included detailed debug information to provide a clearer picture of the steps I’ve taken to troubleshoot.
Details of the Issue:
- Setup and Connections:
I have connected the BNO086 sensor to the Sony Spresense board via SPI with the following pin assignments:
SCKto Pin 13
SO(MISO) to Pin 12
SI(MOSI) to Pin 11
CS to Pin 10
Power and ground connections are stable and match the voltage requirements for both the sensor and the Spresense board.
Additionally, I have tested an I2C connection with the BNO086, using Pins 14 and 15 on the Spresense for SDA and SCL. - Behavior Observed:
When connected to the Sony Spresense via SPI, the sensor does not respond, and I am unable to retrieve any data. I have implemented the setup based on the SparkFun library,
When connected to an ESP32 with the same wiring and code (adapted for the ESP32 platform), the sensor performs as expected, returning accurate data outputs. - 2C Troubleshooting:
As an alternative to SPI, I attempted an I2C connection with the Sony Spresense. Using an I2C scanner, the sensor is detected successfully on the I2C bus, which confirms the connection and that the sensor is recognized.
Despite being detected, I still cannot retrieve actual data from the BNO086 when trying to read from it over I2C with the Sony Spresense. This contrasts with the ESP32 setup, where data retrieval over I2C works correctly.