2020-04-23 04:59 AM
Hi,
I am using STM32L4R9 to implement graphics using TouchGFX. And i am using 390x390 Amoled Display.
I have a requirement to display time always on the display whenever the device not being used , but with very less power consumption.
So do you guys any option in TouchGFX to display time always with low power consumption?
Also, please let me know how can i send the own generated data buffer to the framebuffer and disable the TouchGFX acces to the framebuffer at that time.
Also Could you please share any document that shows the Code flow using ToucGFX and RTOS.
Thanks and Regards,
Bala
2020-04-24 01:31 AM
Hi,
The only way you can "intercept" the framebuffer, is by being a part of the render chain. You can do this by doing a custom Widget and implementing the draw() function, taking a lock on the framebuffer.
Displaying time isn't really done in a "low power way" - Either your system is running in low power mode or it isn't. I'd just have a time component on all my views that receives the updated time from the model (backend) that reads the RTC or something else.
/Martin
2020-04-28 02:39 AM
Hi martin,
Thank you so much for the response.
Could you please share any document or web link that shows the Code flow using ToucGFX and RTOS.
Thanks and Regards,
Bala
2020-04-28 03:38 AM
You can check out the sticky on integrating hardware and GUI if you're looking for information on the flow between TouchGFX (Gui task) and other tasks and how to propagate values into the gui.
/Martin