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
No description
16 Replies
blacksmithforlife
Upload your entire printer.cfg
conscious-sapphire
conscious-sapphire15mo ago
conscious-sapphire
conscious-sapphire15mo ago
here you go
blacksmithforlife
You should put all the custom stuff in the USER OVERRIDES section. Also I don't see the adxl configuration you posted above
conscious-sapphire
conscious-sapphire15mo ago
I thought I can paste it in random place And the adxl config is in another file which is included in cfg
conscious-sapphire
conscious-sapphire15mo 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 description
blacksmithforlife
No, order in that file matters a lot. So you can't just put things wherever you want
conscious-sapphire
conscious-sapphire15mo ago
I pasted them in user overrides and still the same error
blacksmithforlife
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.
blacksmithforlife
I would start over with a fresh template and only override stuff in the bottom user overrides section
stormy-gold
stormy-gold15mo 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
miklschmidt
miklschmidt15mo ago
Can confirm @deanbo is correct
optimistic-gold
optimistic-gold15mo 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
miklschmidt
miklschmidt15mo ago
ACCELEROMETER_QUERY CHIP="usbadxl" any time you're running adxl related commands you need to specify the cheap id since it's not default
optimistic-gold
optimistic-gold15mo 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
dependent-tan
dependent-tan14mo 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
SHAPER_CALIBRATE CHIP="usbadxl" AXIS=X
SHAPER_CALIBRATE CHIP="usbadxl" AXIS=X
like this? nvm, forget to declare in the section "resonance_tester" the adxl correctly. but still thank's for help!