cancel
Showing results for 
Search instead for 
Did you mean: 

Accelerometer lsm6dso and ism330dlc not working

smoha.2
Associate II

I am working on a project which has 2 board revisions A and B.(A was the old revision and B is new). Board A has the accelerometer chip lsm6dso and board B has the accelerometer chip ism330dlc. The driver used is drivers/iio/imu/st_lsm6dsx/. If I use the compatible string in dts as compatible   = "st,ism330dlc" and only the accelerometer in REV B is working and not in board A. But if I add compatible   = "st,lsm6dso", the accelerometer in board A is only working and not in board B. What changes can I make in the dts or in the driver so that the same driver can be compatible with both boards and the accelerometer is working on both boards?

1 REPLY 1
Federica Bossi
ST Employee

Hi @smoha.2​ ,

Welcome to ST Community!

Which are the differences between Board A and B about the pinout of MEMS?

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.