Skip to content

Instantly share code, notes, and snippets.

@vajonam
Last active May 9, 2022 02:39
Show Gist options
  • Save vajonam/e5414de23fd3b28e3fa98b3dc37ff5d2 to your computer and use it in GitHub Desktop.
Save vajonam/e5414de23fd3b28e3fa98b3dc37ff5d2 to your computer and use it in GitHub Desktop.
BTT SKR Mini V1.2 - ADXL345 - Klipper
[adxl345]
axes_map: x,-y,z
cs_pin: PC7
spi_bus: spi1
@vajonam
Copy link
Author

vajonam commented May 9, 2022

On an BTT SKR Mini V1.2 I was able to get it working

PC7 is a unused neopixel ping for chip select pin

[adxl345]
axes_map: x,-y,z
cs_pin: PC7
spi_bus: spi1

SKR Mini V1.2 Pinout

Wiring based on pinout above.

ADXL345 BTT SKR MINI V1.2 MCU
SDO MISO
SDA MOSI
SCL SCK
5V 5V
GND GND
CS PC7

However I did notice that that the MCU didn't boot up with the ADXL connected, it seems to work with it disconnected and then once it starts up and get the klipper: ready, you can connect up the ADXL345 and the ACCEL.._QUERY should return correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment