This is my attempt at writing a simple example of BNO085 SPI comms.
I would recommend reading the QSG documentation first.
The code steps you through the following process -
1 - Reading the unsolicited start up messages
2 - Requesting a product ID
3 - Requesting a continous sensor report