BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: Darker horizontal line/strip when using gradient for red color only  (Read 9364 times)

Qrenz

  • Newbie
  • *
  • Posts: 15
    • View Profile

Hi, I'm using FT811, when i use gradient color via CMD_GRADIENT there're some horizontal darker line/strip appearing on the screen. This is only happening when i use gradient, and only for red color (blue and green no darker line/strip occuring).
Here's my LCD parameter:

Code: [Select]
// LCD display parameters
UINT16 lcdWidth = 800; // Active width of LCD display
UINT16 lcdHeight = 480; // Active height of LCD display
UINT16 lcdHcycle = 928; // tot length of line (hoffset + data + front porch)
UINT16 lcdHoffset = 88; // start of active/data line ((hsync1 - hsync0) + back porch)
UINT16 lcdHsync0 = 0; // start of hsync
UINT16 lcdHsync1 = 48; // end of hsync
UINT16 lcdVcycle = 525; // total number of line (voffset + data + front porch)
UINT16 lcdVoffset = 32; // start of active/data line ((vsync1 - vsync0) + back porch)
UINT16 lcdVsync0 = 0; // start of vsync
UINT16 lcdVsync1 = 4; // end of vsync
UINT8 lcdPclk = 2; // Pixel Clock = 60 MHz / 2 = 30 MHz (LCD spec min-typ-max 20-33-50MHz)
UINT8 lcdSwizzle = 0; // Define RGB output pins
UINT8 lcdPclkpol = 1; // PCLK polarity is on the falling edge

And I was observing, if I make the clock higher (PCLK = 1) the line become lesser, but if I reduce the clock (PCLK = 3, 4, 5) the dark strip become many.
And the dark strip only happen for horizontal gradient applied, it's smooth if i use vertical gradient.

What could be the cause of this? How can i eliminate this completely?
Is this due to FT811 not a true RGB only 18 bit?
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 748
    • View Profile
Re: Darker horizontal line/strip when using gradient for red color only
« Reply #1 on: June 03, 2020, 02:12:31 PM »

Hello,

Can you provide an example of the gradient you are seeing these issues on?
CMD_GRADIENT will calculate a blend from one colour to another, the use of 18bit RGB may effect whats output on the panel, along with the algorithm used to calculate the blend. You may find bitmaps a better option to provide a background gradient from tow colours which closely match each other.


Best Regards,
BRT Community
Logged