Printer Model: Homebrew CARTESIAN, based on AnetA6
MCU / Printerboard: BTT Octopus 1.1
Host / SBC: Octoprint
I want to use a load cell witch is also used by Anycubic printers in my setup. I’m using a Ads1220 to read out the cell.
The Printer crashes with
Internal error during ready callback: Invalid ads1220 reset state (got [0xff, 0xff, 0xff, 0xff] vs [0x0, 0x0, 0x0, 0x0]).
This is generally indicative of connection problems
(e.g. faulty wiring) or a faulty ADS1220 chip.
This was an also an issue in a previous topic :
It was said then that this was a bug and should be fixed in the newest commit, but im using the newest one.
What is further interesting is that everything works fine if i have a clock missmatch from 8MHz instead of the intended 12MHz, but this then causes other issues:
So my question is if this is some issue with spi communication e.g. noise or misconfiguration, or still indeed a bug.
This is really outside my sphere of expertise but while waiting for better advice I’d slow down the SPI data rate and see if that helps. Your ads1220 is running at 20 Hz, spi_speed = 128000 should be more than enough,