-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stepper Driver SPI (MAX31865 module) does not work when LCD SD is connected on EXP2 #31
Comments
I read MarlinFirmware/Marlin#25774 and used some clues with SOFTWARE_SPI for both temp sensors must be commented out. If it is not disabled, the SPI connection for MAX31865 fails when the SD card is used. As soon as the card is inserted into the LCD SD slot and the SD is read from, the MAX31865 SPI fails with a temp error even though it worked fine before any SD was inserted. I have 2 2 wire PT1000s connected to both the onboard MAX31865 and stepper driver MAX31865. The temp error is first thrown on the onboard MAX31865 so I assume that SPI to both MAX31865 is failing. The onboard MAX31865 used to work fine with the LCD SD SPI in the past so there is an issue where the onboard MAX31865 works with SOFTWARE_SPI and fails with HW_SPI while the stepper driver SPI works with HW_SPI and fails with SOFTWARE_SPI. It's not clear why there are separate defines for @bigtreetech Hopefully the below config helps with the immediate SPI issue but I don't know why software spi does not work for stepper driver SPI and EXP2 (LCD SD) SPI at the same time.
|
Update: The printer fails to read temp via SPI from both the onboard and stepper module MAX31865 when SD card is inserted into the LCD SD reader that uses SPI. This happens randomly so it's basically not possible to use the LCD SD slot right now. |
Hi,
I am trying to use a PT1000 with the MAX31865 module plugged into Motor7 slot on the Octopus Pro 1.0.1. The printer reports a MINTEMP error for the temperature when I have the LCD controller EXP2 is connected to the Octopus Pro EXP2.
The printer can successfully read the temperature ONLY if I disconnect the EXP2. I am using the ULTICONTROLLER LCD with my board and it's EXP2 pin out is the same as the standard LCD EXP2.
My pins configs is below. I commented out the
MAX31865_CS_PIN
listed in the BTT MAX31865 manual because it seems thatTEMP_1_CS_PIN
is now used in the latest Marlin instead ofMAX6675_SS_PIN
. Is my configuration correct and is there a solution to use the LCD mounted SD SPI and stepper motor SPI at the same time?Based on the other issues reported, I assume that this is related to
#23
The text was updated successfully, but these errors were encountered: