Skip to main content
Mkuma.4
Associate
August 12, 2021
Solved

Hi, I am running gyroscope as following configuration (0x0A,0x00) (0x16,0x70) (0x11,0x80) (0x12,0x40) (0x0D,0x02). I am getting value for only 0x22 and 0x23 output registers. Rest output registers are giving 0, 0 as value.

  • August 12, 2021
  • 2 replies
  • 753 views

..

This topic has been closed for replies.
Best answer by Mkuma.4

It is working now, I am using LSM6DSL sensor. Now I am getting the values but values are changing from 0 t0 65535 while sensor is kept at rest(without moving).

2 replies

TBomb.1
Visitor II
August 12, 2021

Hi, which part number are you using?

Did you try to read the WHO_AM_I (usually 0Fh register) and see whether the I2C communication is ok, for example with a logical analyzer?

Tom

Mkuma.4
Mkuma.4AuthorBest answer
Associate
August 13, 2021

It is working now, I am using LSM6DSL sensor. Now I am getting the values but values are changing from 0 t0 65535 while sensor is kept at rest(without moving).