There was an error when orangezero3 configured the ADXL345: Unknown command: "ACCELEROMETER_QUERY"

voron trident
orangepi zero3
spider 3.0

I encountered a problem when installing the ADXL345.
This is the configuration file adxl.cfg.

#####################################################################
#      ADSL345
#####################################################################
[mcu OrangeZero]
serial: /tmp/klipper_host_mcu

[adxl345]
cs_pin: OrangeZero:None
spi_bus: spidev1.1
axes_map: z,y,x
spi_speed:5000000

[resonance_tester]
accel_chip: adxl345
probe_points: 150, 150, 20

When I included [include adxl.cfg] in print.cfg, an error occurred.

I have no idea why.
Could you please give me some guidance?
klippy.log (6.2 MB)

I modified the configuration:

[mcu orangepi]
serial: /tmp/klipper_host_mcu

[adxl345]
cs_pin: orangepi:gpio24
spi_bus: spidev1.1
axes_map: z,y,x
# spi_speed:5000000

[resonance_tester]
accel_chip: adxl345
probe_points: 150, 150, 20

Then this error occurred again:

The error likely comes from issues on the Linux level. Depending on the Linux distribution used on the OPi and its quality, getting SPI to work can be a major pain.

This is one of the beauties of the Raspberry Pi. Here, it just works out of the box without having to fight goofy quirks.