cancel
Showing results for 
Search instead for 
Did you mean: 

How do I pause GFX when The screen is off??

Jack li1
Associate III

I use the DSI screen and securely stop GFX when I close the screen。

6 REPLIES 6
eng23
Senior

Hi,

I suspend TouchGFX task in RTOS:

osThreadSuspend(defaultTaskHandle);

I don't know if it is the best way, but it works.

I tried this method but it crashed

Martin KJELDSEN
Chief III
NVIC_DisableIRQ(LTDC_IRQn);

(For LTDC setup). This stops the "tick" and TouchGFX Engine will wait on a semaphore until the interrupt is enabled again.

Using this method results in programs executing only OSWrappers::signalVSync();.Semaphore is not executed, resulting in modle: tick () not being executed

​Correct :) That's "stopping" touchgfx in my mind. You want something else? Go into low power mode?

Yes, I want to use low power mode.