espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.45k stars 7.25k forks source link

MIPI DSI HAL does not have timeouts (IDFGH-13093) #14039

Open robotman2412 opened 3 months ago

robotman2412 commented 3 months ago

Is your feature request related to a problem?

I have software that tries to initialize a MIPI DSI display, but I'd like for it to still work if the display doesn't. If I physically disconnect the display, ESP-IDF will hang when trying to initialize it, rather than returning an error.

Describe the solution you'd like.

Add support for setting a timeout value as part of the MIPI DSI and MIPI DSI DBI functions/API.

Describe alternatives you've considered.

No response

Additional context.

No response

suda-morris commented 3 months ago

I think DSI doesn't support hot-plug-in, what's the value in initializing the DSI LCD when there's no LCD connected?

robotman2412 commented 3 months ago

Because my code will run on 3000 devices and not all of them are going to have the display working first try.