Basic Information:
Printer Model: MK3S Clone
MCU / Printerboard: SKR Mini E3 V3
Host / SBC: Raspi 3B+
lis.cfg
config-20260101-173124.zip (438 Bytes)
If you’re repetitively getting Invalid lis2dw ID while querying your accelerometer, and you’re using lis2dw based device from BTT, please note that the settings described on Klipper website may not produce a working result.
I’ve found that the spi configuration needs to be stated explicitly in order for the system to work. Just make sure to use configuration which matches your board. In my case, it’s a BTT S2DW V1.0 board, and settings which worked are:
[lis2dw]
cs_pin: lis:gpio9
spi_software_sclk_pin: lis:gpio10
spi_software_mosi_pin: lis:gpio11
spi_software_miso_pin: lis:gpio8
axes_map: x,z,y
Hope this helps