cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get the proper device_id for LSM6DSV via SPI using STM32L412RB

Dev_k
Associate II

I have a custom setup which contains a microcontroller STM32L412RB and a LSM6DSV.I tried READ the WHO_AM_I register (thanks for implementing that) using the driver LSM6DSV(https://github.com/STMicroelectronics/lsm6dsv-pid).Yet, I get back a 0x0 and not desired value. I need to observe the signals in oscilloscope, that transmission is happening properly.

I also need to get the data from Accelerometer and Gyroscope registers.

 

Can anyone help me through this..?

2 REPLIES 2
Dev_k
Associate II

https://github.com/STMicroelectronics/lsm6dsv-pid

This is the link for Driver provided by STM32 community.

Thank you

Federica Bossi
ST Employee

Hi @Dev_k ,

Can you share some photos of your setup and also your schematic?

I think there could be some hardware problem.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.