Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid adxl345 id (got ff vs e5) #39

Open
geekredux opened this issue Sep 9, 2024 · 1 comment
Open

Invalid adxl345 id (got ff vs e5) #39

geekredux opened this issue Sep 9, 2024 · 1 comment

Comments

@geekredux
Copy link

geekredux commented Sep 9, 2024

I'm having the same problem as an earlier user. My error message is slightly different though: Invalid adxl345 id (got ff vs e5)

I'm using Rampon v04 because my Klipper version is v0.12.0-289 (but I tried v03 also and got the same error).

I switched out USB cables with no success.

I'm also a little confused because all of the docs I've been reading have references to setting the SPI pins, but your adxlmcu.cfg file doesn't say anything about those. It only has the entry 'cs_pin: adxl:CS'. Are there supposed to be lines for spi_software_sclk_pin, spi_software_mosi_pin, and spi_software_miso_pin ?

I will add the printer does see the KUSBA board when it's plugged into the front. When I SSH in it does list as /dev/serial/by-id/usb-Anchor_Rampon-if00 and it does throw an error when I unplug the cable. Also, it shows on Fluidd's System page (screengrab attached).

Ideas?

OpenNept4une _ System
@geekredux
Copy link
Author

Oh, ffs... Never mind.

Okay, I was looking at only the open issues and didn't previously see closed issue #26. Your instructions in that issue to comment out these lines in printer.cfg solved the problem:

[adxl345]
cs_pin: rpi:None
spi_bus: spidev0.2

[resonance_tester]
accel_chip: adxl345
probe_points:
100, 100, 20 # an example

I will second @DarkstarDev's recommendation that you update the instructions at https://github.com/xbst/KUSBA/blob/main/Docs/v2-Rampon-Firmware.md to warn users they may need to do this with their printer.cfg file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant