Everything installed without a problem on my side.
What I did so far:
Activated ph-i2c2 and spi1-cs0-spidev under orangepi-config
Added i2c-dev and spi-dev in /etc/modules
My printer.cfg:
Blockquote
[mcu rpi]
serial: /tmp/klipper_host_mcu
[adxl345]
cs_pin: rpi:None
spi_speed: 488000
spi_bus:spidev1.1
[resonance_tester]
accel_chip: adxl345
probe_points:
100, 100, 20 # an example
Under /boot/orangepiEnv.txt I added
Blockquote
param_spidev_spi_bus=0
param_spidev_max_freq=488000
Installed numpy:
Blockquote
sudo apt install python3-numpy python3-matplotlib libatlas-base-dev
~/klippy-env/bin/pip install -v numpy
Followed the mcu guide
Installed dependecies
Blockquote
sudo apt-get install python3-dev python3-pip python3-smbus i2c-tools libi2c-dev
sudo apt install python3-numpy python3-matplotlib libatlas-base-dev python3-spidev
And still getting a “Invalid adxl345 id (got 0 vs e5).” error