Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32-8048S050C Wrong Config #221

Open
xperiments opened this issue Nov 30, 2024 · 5 comments
Open

esp32-8048S050C Wrong Config #221

xperiments opened this issue Nov 30, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@xperiments
Copy link

xperiments commented Nov 30, 2024

Hi @rzeldent,

I have a customer my new 5inch version was not working, screen was white....

After some research (and some fight about speed w Sunton guy who helped a lot) I have found the bug to be in the board config

      "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'",
      "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(12.5*1000000)'",
  to
      "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL240M'",
      "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(18*1000000)'",

Tested timings up to 20 (artifacts at screen)

Tested from 16M to 19M with good results at 16M

Cheers!!!

@rzeldent rzeldent self-assigned this Dec 2, 2024
@rzeldent rzeldent added the enhancement New feature or request label Dec 2, 2024
@rzeldent
Copy link
Owner

rzeldent commented Dec 2, 2024

Hi Pedro,

I do not own this board so cannot validate it works. However I changed the PCLK to 16Mhz in the develop branch for the:

  • esp32-8048S050C
  • esp32-8048S050R
  • esp32-8048S050N

I also tested other bords like the esp32-4848S040CIY1, esp32-8048S070C to use 18Mhz but they start flickering, so reverted that
I hope this works...

@xperiments
Copy link
Author

@rzeldent The most needed change is the LCD_CLK_SRC_PLL240M

Is that what make the change from not working to working

BTW I have 7, 5 and 2.8 board if you need any test

@xperiments
Copy link
Author

Actually w this change it will work fine until 16M

To go up to 24M ( the screen spec) we need to activate 120M in PSRAM but that is only avaliable on idf 5x

@xperiments
Copy link
Author

@rzeldent can be great if you can come to discord here https://discord.gg/yRNWJj55 thx!!

@rzeldent
Copy link
Owner

rzeldent commented Dec 26, 2024

Invite has expired...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants