FT800 Backlight

General discussion on Visual TFT Software.
Author
Message
James81
Posts: 57
Joined: 24 Feb 2015 07:16

Re: FT800 Backlight

#16 Post by James81 » 21 Apr 2016 08:39

The function void InitVTFTStack(); is already doing this.

Code: Select all

void InitVTFTStack() {
  Init_MCU();

  Init_Ext_Mem();

  SPI_Set_Active(SPI1_Read, SPI1_Write);

  // Init all dynamic objects
  InitObjects();

  // Init FT800 controller core and library stack
  FT800_Init();

  FT800_Core_ClockSource(_FT800_CLK_SOURCE_EXTERNAL);
  FT800_Core_ClockPLL(_FT800_CLK_PLL_48MHz);

  // Internal modules setup
  FT800_Display_SetConfig(&VTFT_FT800_CONFIG_DISPLAY);

  FT800_Audio_SetConfig(&VTFT_FT800_CONFIG_AUDIO);

  FT800_Sound_SetConfig(&VTFT_FT800_CONFIG_SOUND);

  FT800_Interrupt_SetConfig(&VTFT_FT800_CONFIG_INTERRUPT);

  FT800_PWM_SetConfig(&VTFT_FT800_CONFIG_PWM);

  FT800_GPIO_SetConfig(&VTFT_FT800_CONFIG_GPIO);

  FT800_Touch_SetConfig(&VTFT_FT800_CONFIG_TOUCH);

  FT800_TouchTransform_SetConfig(&VTFT_FT800_CONFIG_TOUCHTRANSFORM);

  // External memory setup
  FT800_Register_GetExtData(VTFT_GetExtData);

  // Draw start screen
  //DrawScreen(&StartScreen);

}

The DrawScreen is commented because I will draw tha screen later.
When the DrawScreen function is called the Backlight switches off, new DL List is loaded at FT800 and display is swapped. after that the backlingt is tuned on. This is correct behavour.
But the problem is, that just after the FT800_Init(); call the backlight goes on, and it stays on untill the DrawScreen() function is called. So the big question why does the FT800_Init() turning on the backlight?

James81
Posts: 57
Joined: 24 Feb 2015 07:16

Re: FT800 Backlight

#17 Post by James81 » 21 Apr 2016 10:01

In addition the FT800_Init() function is taking 750ms. What the hell is it duing during that time?

Blubberino92
Posts: 6
Joined: 19 Feb 2019 10:30

Re: FT800 Backlight

#18 Post by Blubberino92 » 19 Feb 2019 12:58

Hi,

Is there an update on this problem? I have excatly the same problem and can't find a solution. Would an update of the FT800 library would solve this problem? I haven't tried a newer library yet, because I didn't want to add some extra troubles.

Thanks for your support!

Blubberino92
Posts: 6
Joined: 19 Feb 2019 10:30

Re: FT800 Backlight

#19 Post by Blubberino92 » 19 Feb 2019 13:16

Hi

I'm struggling with the same problem. Has anyone found a solution or has there been an update of the library to fix that problem? I'm still working on an older version of the FT800 library because I didn't want to add extra bugs/troubles by updating the library. But if it would fix the problem I would do that.

Thanks for any answer!

Blubberino92
Posts: 6
Joined: 19 Feb 2019 10:30

Re: FT800 Backlight

#20 Post by Blubberino92 » 28 Feb 2019 10:12

In the Application Note AN_265FT_App_MainMenu I found that part I printscreened and added as a JPG. Is it possible that you can add that in your FT800_Init() function? This should solve the problem with the ugly rainbow screen and plotting the old datas.
Attachments
clearScreenatBootup.JPG
clearScreenatBootup.JPG (146.86 KiB) Viewed 1529 times

Post Reply

Return to “Visual TFT General”