Skip to content

[BUG] Adafruit MAX31865 causes serious delays on SKR 1.4 (bugfix-2.0) #21638

@zeleps

Description

@zeleps

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

Installing an Adafruit MAX31865 on my SKR 1.4 (as per GadgetAngel's instructions) caused big delays in almost any function. Homing pauses for 3-4 seconds before starting, and another 4'' before deploying bltouch. Prints pause for a few seconds at random steps and ultimately fail with MAXTEMP. Changing TEMP_SENSOR_0 back to 5 (my previous setup) without physically changing any connections brings speed back to normal (temperature readings are incorrect, of course).

I put some timing code for testing and found out that max865ref.readRTD() takes some 70-90msec to complete, so does max31865_0.temperature(MAX31865_SENSOR_OHMS_0, MAX31865_CALIBRATION_OHMS_0). This seems to be excessive, and makes the sensor practically useless.

I installed the sensor on the LCD's SPI at first, using pin 0.03 for CS, then changed it to on-board SPI (0.07-0.08-0.09) with 0.26 for CS. Results were the same. I'm not using SD for printing, I print directly from OctoPrint.

Bug Timeline

Issue started immediately after installing MAX31865.

Expected behavior

Little, if any, delays.

Actual behavior

Long, noticeable and ultimately fatal delays

Steps to Reproduce

No response

Version of Marlin Firmware

latest bugfix 2.0

Printer model

Custom

Electronics

SKR 1.4

Add-ons

bltouch, Adafruit MAX31865 on T0, type 5 thermistor on T1.

Your Slicer

Cura

Host Software

OctoPrint

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions