I am facing the problem that the Backlight Output is active for a short time period when I change from FT800 Powerdown to Active. I am doing the follwing.
Code: Select all
//Action before FT 800 is in normal Active mode, display is displayed and every thing works fine
FT800_Core_PowerMode(_FT800_PWR_MODE_PWRDOWN);
HAL_GPIO_WritePin(FT800_PD_GPIO,FT800_PD_PIN,GPIO_PIN_RESET); //sets the PD_Pin low
//Now the FT800 is in powerdown mode. All is off and all RAM content is celared
HAL_GPIO_WritePin(FT800_PD_GPIO,FT800_PD_PIN,GPIO_PIN_SET); //pull PD_Pin high to indicated wakeup
HAL_Delay(20); //Delay to let FT800 be stable acc. Datasheet
InitVTFTStack(0); //reinit of Vtft since all RAM Data is lost. This is your generated function from Vtft
DrawScreen(&MainScreen); //Draw the Main screen
In the beginnign the backlight is on, the wehn Powerdown, backlight is off. On Wakeup the backlight is on for ca. 1s and off again when Drawscreen is called. After Drawscreen backlight is on.
Any Ideas?