Strange behavior of ADXL345 - in search for a reliable alternative

That was a long involved discussion a while ago and quite a bit of water has passed under the bridge since then.

Going over it again, I don’t think I’m contradicting myself here - if you look through the post you’re listing:

I guess it’s not completely explicit but I was saying that you can use SPI1 for the ADXL345 - what I’m recommending here. At the time I did not know (you hadn’t decided) which stepper drivers you were using so I put in the caveat that if you’re using stepper drivers that use an SPI port you should use something other than SPI1 on the P6 connector.

Going through your klippy.log, I saw that you are using TMC2209s for all your stepper motor drivers so, using P6 and SPI1 (like I suggested in my original reply) should not have a problem and, in my opinion, should be more reliable than using the bit banging port software of spidev


When I talked about my usage, I noted that I use the integrated ADXL345 on the EBB42 when I have a toolhead stepper motor. I also use the small ADXL345 boards (from Amazon/AliExpress), connected to an SPI port on the main controller board and zip-tied to the toolhead for resonance measurements:

Again, I’ve never had any issues with ADXL345s but I do connect them to a controller board’s SPI port and not an SBC’s GPIO pins.