Help with testing resonances

Basic Information:

Printer Model: Modded Ender 3 V2 Neo
MCU / Printerboard: Creality 4.2.2
Host / SBC: RPi 4B+(1GB RAM)
Log.zip (1.0 MB)

Describe your issue:

I recently purchased an SB2209(RP2040) toolhead CAN board as well as a BTT U2C USB CAN adapter. After a variety of issues, I got it working and it prints just fine. However, I wanted to make use of the onboard ADXL345 accelerometer. So I copied the config from the SB2209(RP2040) github and integrated it into my existing config. When I run “ACCELEROMETER_QUERY” it returns “accelerometer values (x, y, z): 0.000000, -148.041188, 9104.533087”. However, when I run “TEST_RESONANCES AXIS=X” it moves to the testing location and immediately shuts down the mcu, throwing the error ‘Internal error on command:“TEST_RESONANCES”’. I have followed the instructions to the best of my ability, and am unsure of what I can do to get it working. Any help would be greatly appreciated.

There is a mistake in your config:

[adxl345]
cs_pin = EBBCan:gpio1
spi_software_sclk_pin = EBBCan:gpio2
spi_software_mosi_pin = EBBCan:gpio0
spi_software_miso_pin = EBBCan:gpio3
axes_map = z,-y,x

[resonance_tester]
probe_points = 110, 110, 20
accel_chip = toolhead # <------------------ needs to be "adxl345"

ok great! thanks for the help! It works!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.