Hi,
I'm using an i.mx6ull based custom board and is battery powered. I have an LCD device driver using i2c. I need to enable all segments during booting and wait for three seconds then disable all segments. Once all segments are turned off, I need to print some messages on the display.
It takes a long time to boot. Is it a clock stretching? What will be the best solution for the given requirement?
This is bit critical. Please reply fast.
Thanks in advance.
Hi mathew_k_t
seems mdelay is blocking other tasks which could cause linux problems:
https://www.kernel.org/doc/Documentation/timers/timers-howto.txt
msleep() vs. mdelay() – Energiequant
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------