-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[BUG] STM32 HAL software SPI bug #23064
Comments
@slowbro Can you take a look at this? |
I am having the following issues that may be related? BTT Octopus Pro (429) TMC5160’s I have sensor less homing working great using SPI_ENDSTOPS, but with a SD card with a print file on it in the BTT TFT or onboard SD, the machine false triggers when it goes to home. If I print from the TFT U Disk every thing works as expected. |
I think the issue is that there is not enough grace time for the MAX TC to get a temp reading. I wonder if it would eventaully be able to read the temp OK. @bigtreetech have you tried enabling |
No, but I can try it now. However, In theory, after calling |
|
@bigtreetech — It would help to get calls to |
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/HAL/STM32/HAL_SPI.cpp#L81
Here is the initialization function of software SPI, but it does call the hardware SPI API of Arduino framework.
Bug Timeline
No response
Expected behavior
No response
Actual behavior
Octopus-Pro, Enable TMC SPI、LCD SD SPI、Max31865 SPI at the same time and use the software SPI. After calling
SPI.begin();
, Max31865 cannot read the normal temperature and report the max temp error.Steps to Reproduce
No response
Version of Marlin Firmware
Commits on Nov 2, 2021
Printer model
No response
Electronics
No response
Add-ons
No response
Bed Leveling
No response
Your Slicer
No response
Host Software
No response
Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: