You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see Marlin support two Adafruit MAX31865 boards that use Software SPI not hardware SPI. On a SKR PRO v1.1/v1.2 or GTR V1.0 board, there are a lot of free I/O PINS. It would be nice to use two (2) MAX31865 boards with Software SPI. Currently I can only manage to get ONE MAX31865 to use Software SPI.
Feature Workflow
Below in temperature.cpp the Adafruit_MAX31865 instance is called by passing:
MAX31865_CS_PIN,
MAX31865_MOSI_PIN,
MAX31865_MISO_PIN and
MAX31865_SCK_PIN
Here is the wiring diagram for two MAX31865 boards:
But, temperature.cpp, Marlin variable HEATER_1_USES_MAX6675, does not end
up calling max31865.temperature(100,430). It just does a return raw * 0.25
Also, I do not see where in temperature.cpp the Adafruit_MAX31865 instance is called by passing:
MAX31865_CS2_PIN,
MAX31865_MOSI_PIN,
MAX31865_MISO_PIN and
MAX31865_SCK_PIN.
NOTE: MAX31865_CS2_PIN does not get used. MAX6675_SS2_PIN gets used but to get the Adafruit MAX31865 call to use software SPI I am forced to ensure that MAX6675_SS_PIN is NOT equal to MAX31865_CS_PIN (see the very first picture).
I can get ONE MAX31865 board to work but NOT TWO MAX31865 boards.
I expected to see two boards to work.
On the GTR V1.0 board the default hardware SPI bus is the micro SD card reader, which makes accessing the default hardware SPI bus a lot harder.
It would be nice to have this all work with Software SPI.
Description
I would like to see Marlin support two Adafruit MAX31865 boards that use Software SPI not hardware SPI. On a SKR PRO v1.1/v1.2 or GTR V1.0 board, there are a lot of free I/O PINS. It would be nice to use two (2) MAX31865 boards with Software SPI. Currently I can only manage to get ONE MAX31865 to use Software SPI.
Feature Workflow
Below in temperature.cpp the Adafruit_MAX31865 instance is called by passing:
Here is the wiring diagram for two MAX31865 boards:
But, temperature.cpp, Marlin variable HEATER_1_USES_MAX6675, does not end
up calling max31865.temperature(100,430). It just does a
return raw * 0.25
Also, I do not see where in temperature.cpp the Adafruit_MAX31865 instance is called by passing:
NOTE: MAX31865_CS2_PIN does not get used. MAX6675_SS2_PIN gets used but to get the Adafruit MAX31865 call to use software SPI I am forced to ensure that MAX6675_SS_PIN is NOT equal to MAX31865_CS_PIN (see the very first picture).
I can get ONE MAX31865 board to work but NOT TWO MAX31865 boards.
I expected to see two boards to work.
On the GTR V1.0 board the default hardware SPI bus is the micro SD card reader, which makes accessing the default hardware SPI bus a lot harder.
It would be nice to have this all work with Software SPI.
Configuration files ONLY:
2MAX31865-configurationsFiles.zip
Whole Marlin folder .zip, including platformio.ini file on my google drive for you to download:
https://drive.google.com/file/d/1A8tHZmrHzKAHpVaGKLnOm6DDyTA9-g2x/view?usp=sharing
The text was updated successfully, but these errors were encountered: