Multiple BNO085's

I wanted to use multiple BNO085’s with the STM32 using SPI Daisy Chain. I’d found a GitHub repo of a modified Sparkfun Arduino BNO080 library, modified to work with the STM32- The repo. I tried to modify this library to work with multiple BNO’s but I’m unable to get it working.

Changes made:

  • Created a structure to share the variables between both of the IMU’s
  • Created instances of both the IMU’s
  • Passed functions with the structure parameters so that the functions are called separately for both the IMU’s
  • Separate CS Pins and INT Pins used for the two IMU’s

Issue’s faced:

I get the default quaternion values i.e., 0,180,360. Unable to get live values.

This is my repo, My repo

I would appreciate any help on this.

That means nothing to forum members, other than you are unhappy with the results.

Please describe the problems in detail. Explain what you tried, what you expected to happen, what happened instead, and what you did to debug the issues.