Inertial sensors not giving updated values

OP #4465766
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.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.