SPI interrupt panics when using ESP-LCD (IDFGH-10273) #11536
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
master
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-USB-OTG
Power Supply used.
USB
What is the expected behavior?
LCD screen works
What is the actual behavior?
System panics with
Steps to reproduce.
Debug Logs.
No response
More Information.
The bug is here:
esp-idf/components/driver/spi/gpspi/spi_master.c
Line 729 in 903af13
resume_task
can setdesired_dev
to be NULL and then return true inesp-idf/components/driver/spi/spi_bus_lock.c
Lines 428 to 435 in 903af13
Fix: move the assertion inside the
if(!resume_task)
The text was updated successfully, but these errors were encountered: