Fysetc portable input shaper problem
Hello, I bought an Fysetc portable input shaper board. I configured it like I should, flashed it and put the config in my directory, I also of course included it in printer.cfg. I'm having this error all the time and don't really know what should I do.
My config:
[mcu PIS]
Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify
serial: /dev/serial/by-id/usb-Klipper_rp2040_E66118F5D71F6A36-if00
[adxl345]
cs_pin: PIS:gpio13
#spi_bus: spi1a
spi_software_sclk_pin: PIS:gpio10
spi_software_mosi_pin: PIS:gpio11
spi_software_miso_pin: PIS:gpio12
axes_map: x,-z,y
[resonance_tester]
accel_chip: adxl345
probe_points:
150,150,20 # an example
16 Replies
Upload your entire printer.cfg
harsh-harlequinOP•2y ago
harsh-harlequinOP•2y ago
here you go
You should put all the custom stuff in the USER OVERRIDES section. Also I don't see the adxl configuration you posted above
harsh-harlequinOP•2y ago
I thought I can paste it in random place
And the adxl config is in another file which is included in cfg
harsh-harlequinOP•2y ago
From what I see there is a problem with those 3 commands
If i comment them out printer does not halt anymore though adxl does not work
No, order in that file matters a lot. So you can't just put things wherever you want
harsh-harlequinOP•2y ago
I pasted them in user overrides and still the same error
Includes & Overrides | RatOS
RatOS uses a modular configuration that heavily takes advantage of the config file include and merge logic in Klipper. For this reason, the order of includes and overrides are very important, do not change the order of the configuration unless you know what you're doing.
I would start over with a fresh template and only override stuff in the bottom user overrides section
national-gold•2y ago
it doesn't work, cause you have adxl spi in your board config, do it like this:
[mcu PIS]
Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify
serial: /dev/serial/by-id/xxxx
[adxl345 usbadxl]
cs_pin: PIS:gpio13
spi_software_sclk_pin: PIS:gpio10
spi_software_mosi_pin: PIS:gpio11
spi_software_miso_pin: PIS:gpio12
axes_map: x,-z,y
[resonance_tester]
accel_chip: adxl345 usbadxl
probe_points:
100,100,20 # an example
Can confirm @deanbo is correct
exotic-emerald•2y ago
came across your response to the same issue I was having. helped a bunch as I had been at it for a few hours trying to figure it out. Got the error cleared up and the mcu PIS shows up now and is all updated but no matter what I do I can't "query" the accel. I keeps returning Invalid adxl345 id (got ff vs e5).
I know I have the serial ID correct as I have checked it 4 times to be sure. I have also ruled out a bad cable because I can move the whole setup to my voron and all is good. any ideas? thanks in advance
ACCELEROMETER_QUERY CHIP="usbadxl"
any time you're running adxl related commands you need to specify the cheap id since it's not default
exotic-emerald•2y ago
I was wondering if i needed to specify the usbadxl aspect...thanks
that was the ticket. Working great now. I love the PIS and did my voron, zeroG, and my klipper 5 plus and left the RR for last knowing quite well it would give me issues with the way the configs are setup. Thanks much
genetic-orange•2y ago
Hey guys' i've the same problem, what is the command to perform the shaper test? cause normal way he don't want do it. i have to communicate with usbadxl that what i know so far
like this?
nvm, forget to declare in the section "resonance_tester" the adxl correctly. but still thank's for help!