Skip to main content
Visitor II
April 19, 2023
Question

Accelerometer lsm6dso and ism330dlc not working

  • April 19, 2023
  • 1 reply
  • 735 views

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?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 20, 2023

    Hi @smoha.2​ ,

    Welcome to ST Community!

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