Skip to main content
Associate II
November 21, 2023
Question

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

  • November 21, 2023
  • 2 replies
  • 1256 views

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..?

This topic has been closed for replies.

2 replies

Dev_kAuthor
Associate II
November 21, 2023

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

This is the link for Driver provided by STM32 community.

Thank you

Federica Bossi
Technical Moderator
November 24, 2023

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.