KUSBA Pro v2 (ADXL345) Instructions
Klipper Prep. (enabling resonance testing)
0. Run the following commands in order. This will take some time. (Based on the [official Klipper docs](https://www.klipper3d.org/Measuring_Resonances.html#software-installation))- Connect your KUSBA PRO via a USB cable to your Raspberry Pi while holding down the button.
- SSH into your Raspberry Pi.
- Go to the Klipper directory:
cd ~/klipper
- Clean remaining files from previous build:
make clean
- Choose the options for the build:
make menuconfig
- Use these settings:
[*] Enable extra low-level configuration options Micro-controller Architecture (STMicroelectronics STM32) ---> Processor model (STM32G431) ---> Bootloader offset (No bootloader) ---> Clock Reference (8 MHz crystal) ---> Communication interface (USB (on PA11/PA12)) ---> USB ids ---> () GPIO pins to set at micro-controller startup (NEW)
- Exit by typing
Q
, save by pressingY
. - Build the firmware:
make
- Find the ID of your KUSBA PRO in DFU mode using
lsusb
. It should be the device appearing asSTM Device in DFU mode
. - Flash the firmware:
make flash FLASH_DEVICE=1234:5678
. Replace1234:5678
with the ID you found in the above step. - Use
ls /dev/serial/by-id/*
to find the serial address of your KUSBA PRO. It'll start with:usb-Klipper_stm32g431
- Download the
adxlmcu.cfg
file from this repository. - Upload the
adxlmcu.cfg
file to your config directory. You can do this on Mainsail/Fluidd etc. - Edit the
adxlmcu.cfg
file (in Mainsail/Fluidd). Change the MCU serial address (step 12) and the probe points. - Save and close.
- If your KUSBA PRO isn't assembled follow the assembly doc first.
- Edit your
printer.cfg
file. Add: - Do your input shaper testing. When done comment the include line to disable the KUSBA PRO. (If you don't do this and unplug the KUSBA PRO, Klipper won't work.)