cancel
Showing results for 
Search instead for 
Did you mean: 

IIS2DH axis Y not working

FItal
Associate II

Hello,

i use iis2dh (STEVAL-MKI168V1) on Arduino Due through spi.

unfortunately, the y axis does not respond (I tried 3 development boards!).

if instead use STEVAL-MKI135V1 board the same firmware works.

could someone help me?

best regards,

Francesco

4 REPLIES 4
Miroslav BATEK
ST Employee

It is really strange, the communication with both devices is the same.

What data do you get from IIS2DH and LIS2DH?

What sensor driver do you use?

FItal
Associate II

in one case I use a lib made by me, in the other case i use SparkFunLIS3DH lib.

When I use SparkFunLIS3DH lib on STEVAL-MKI135V1 board  no I have problems on the three axes.

When I use SparkFunLIS3DH lib on STEVAL-MKI168V1 board  only the y axis is fixed.

(I correctly receive the WHO_AM_I)

if I change the resolution (+-16 g), then something changes.

In IIS2dh I use continuous mode without Interrupts.

FItal
Associate II

Hello,

someone could send me an example of a basic setting for iis2dh?.

I'm using Arduino but I can not read anything correctly.

Best regards,

Francesco

FCern
Associate II

Hi Francesco,

I am trying developing a Vibration Meter, can you please be so kind to share with me your project with Due? Short schematic and, if you don't mind, the sketch?

Thank you very much

Ciao

Fabio