EmbDev.net

Forum: µC & Digital Electronics Inertial sensors not giving updated values


von Aditya K. (stadkama)


Rate this post
useful
not useful
Hello,
  Currently I am working on BMI160 inertial sensors which has an SPI 
interface with main controller.The sensors is acting as a slave.
    i.There are 5 sensors.
  ii. I am trying to communicate in fixed mode with only one sensor.

  SPI timings details: clk - 9MHz. and transferring 16 bits at a time.

I am facing the below problems while communicating with it.

- During initialisation of the sensor I set some of its registers. But 
those values are not saved in it. It will always hold the reset value,
even if I give the post write operation delay mentioned in the data 
sheet.

-Even if the sensors are moved I am getting the same values. Why are the 
sensors not providing updated values?
I followed these steps during the read of data registers from 
accelerometer and gyroscope.
  1. Check the status register 0x1b which holds the data ready signals 
for accelerometer and gyroscope.
  2. Then read the x,y and z axis data register for accelerometer and 
gyroscope.
  Please provide the inputs. Thank you in advance.

: Edited by User
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.