SPI Read for BMI085

Hi , i have attempted to build an spi read and write function for the BMI085 imu sensor and I seem to be having a problem with the read function. i have used the spi example as a basis and the write function seems to be working and I am using my oscillocsope to decode the signals from the miso and mosi. may I please get some help regarding the read function. i will happily share my code and pin configuration in hardware if need be.

Thanks in advance nikolai Dimech

Related