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: What are the correct settings for my screen?  (Read 1650 times)

Cyrilou

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
What are the correct settings for my screen?
« on: May 24, 2024, 02:20:11 PM »

Hi,

I'm experiencing some glitches on my screen of my device sometimes.

Could you help me to set REG values for display initialization with attached files?

      PIXVOFFSET = ?
      PIXHOFFSET = ?
      HCYCLE = ?
      HOFFSET = ?
      HSYNC0 = ?
      HSYNC1 = ?
      VCYCLE = ?
      VOFFSET = ?
      VSYNC0 = ?
      VSYNC1 = ?
      PCLK = ?
      SWIZZLE = ?
      PCLK_POL = ?
      HSIZE = 480;   //ok
      VSIZE = 272;   //ok
      CSPREAD = ?
      DITHER = ?

System clock is 72MHz.

Thanks.
« Last Edit: May 24, 2024, 02:27:51 PM by Cyrilou »
Logged

Rudolph

  • Sr. Member
  • ****
  • Posts: 404
    • View Profile
Re: What are the correct settings for my screen?
« Reply #1 on: May 25, 2024, 07:38:30 PM »

That looks like a panel similar to what is used in the RVT43H or the PS817-043WQ-C-IPS.

#define EVE_HSIZE (480L)
#define EVE_VSIZE (272L)
#define EVE_VSYNC0 (0L)
#define EVE_VSYNC1 (4L)
#define EVE_VOFFSET (12L)
#define EVE_VCYCLE (292L)
#define EVE_HSYNC0 (0L)
#define EVE_HSYNC1 (4L)
#define EVE_HOFFSET (43L)
#define EVE_HCYCLE (531L)
#define EVE_PCLK (7L)
#define EVE_PCLKPOL (1L)
#define EVE_SWIZZLE (0L)
#define EVE_CSPREAD (0L)
Logged

Cyrilou

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: What are the correct settings for my screen?
« Reply #2 on: May 28, 2024, 10:16:33 AM »

Thanks for your reply.

But if my system clock is 72MHz PCLK=8? or both work?
Logged

Rudolph

  • Sr. Member
  • ****
  • Posts: 404
    • View Profile
Re: What are the correct settings for my screen?
« Reply #3 on: May 28, 2024, 03:39:02 PM »

But if my system clock is 72MHz PCLK=8? or both work?

With 72MHz system clock and PLCK=7 you get 10.286MHz pixel-clock and 66.34Hz,
with PCLK=8 it is 9MHz and 58.05Hz.
So yes, PCLK=7 is for 72MHz system clock and yes, both settings should be fine.

And of course, if you are using a BT817 you could use the second PLL and set it to 9.333MHz pixel clock for 60.19Hz.
Plus you can modify the timing parameters a little for fine-tuning, these are not strictly fixed, it should not hurt for example to make HCYCLE a bit larger.
Logged