I2C Deadlock (IDFGH-14095) #14906
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.3.1 & 5.4-dev ( master branch )
Espressif SoC revision.
ESP32-D0WD (revision v1.0)
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-D0WD (revision v1.0)
Power Supply used.
USB
What is the expected behavior?
Do not enter into deadlock.
What is the actual behavior?
Deadlock occur when no free i2c device left
Steps to reproduce.
Just request execute i2c_new_master_bus() until no free busses left, and try to release one of them.
Debug Logs.
No response
More Information.
When no free buses left i2c_acquire_bus_handle() do not release s_i2c_platform.mutex.
ESP_RETURN_ON_FALSE is executed and lock never released
The text was updated successfully, but these errors were encountered: