accelerometer LIS2DH12 strange and wrong behavior on SPI BUS (I2C is okay)
I have an accelerometer LIS2DH12 connected to my STM32 with I2C and it works fine. Now I changed to SPI bus and somehow the accelerometer behaves strange. I can set parameters like "full scale to 2g" and "set Output Data Rate to 1Hz" and also read ou...