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

Esp32S3: display remains black with backlight only #42

Open
davidealessandrini88 opened this issue Jun 3, 2024 · 12 comments
Open

Esp32S3: display remains black with backlight only #42

davidealessandrini88 opened this issue Jun 3, 2024 · 12 comments

Comments

@davidealessandrini88
Copy link

I've tried using code with ESP32-S3_WROOM1 kit but without success.
GPIO23 is't present in esp32s3 so I changed it.
I've tried different configurations but without results.
No error on idf monitor but display remains black with backlight only.

I've used different displays, the same shown in the README guide.

To reproduce the problem just compile for ESP32-S3 and connect display in some way, I can't find a valid pins combination.

Thank you

@nopnop2002
Copy link
Owner

nopnop2002 commented Jun 3, 2024

GPIO23 is't present in esp32s3 so I changed it.

you are doing something wrong.
This is the default for ESP32S3.
There is No GPIO23.
st7789_default

@davidealessandrini88
Copy link
Author

Hello,
I apologize, but after so many tests I had lost sight of the initial configuration. So I tried again with the main configuration. I hooked up a Saleae to see the MOSI and CLK signals and they look good. With the Saleae connected, for once the test worked, I finally saw the display working. However it only happened once.

I tried to shorten the cables from board to display as much as possible but it didn't change, I couldn't get the display to work anymore.

I am now able to confirm that the software works, the problem is probably in the wiring.

I encourage you to provide advice/details, if you have any, on this topic.

Thank you

@davidealessandrini88
Copy link
Author

IMG_2601

@nopnop2002
Copy link
Owner

nopnop2002 commented Jun 4, 2024

Please make sure the power supply voltage is 3.3V driven.

Try pulling up the RES pin using a 100 ohm resistor.

@davidealessandrini88
Copy link
Author

I tried the pull-up but unfortunately it doesn't solve the problem. At work I will be able to use a good oscilloscope to better analyze the signals.
In any case the software has no problems, this issue can be closed. Thanks for the advice, I hope I can get the device to work.
Best regards
David

@nopnop2002
Copy link
Owner

From experience so far, the device seems to require a relatively large current at startup.

It may be effective to convert 5V to 3V3 with a regulator and supply it.

@Abluee
Copy link

Abluee commented Jul 7, 2024

GPIO23 is't present in esp32s3 so I changed it.esp23s3 中不存在 GPIO32,所以我更改了它。

you are doing something wrong.你做错了什么。 This is the default for ESP32S3.这是 ESP32S3 的默认设置。 There is No GPIO23.没有 GPIO23。 st7789_default

I encountered the same issue. However, instead of using the program configuration interface to modify the GPIO pins, I changed the #if 0 to #if 1 in the main.c code for the GPIO configuration used for debugging. After flashing, the program displayed normally. I suspect the issue might be due to the program not reading your GPIO configuration correctly. I hope this helps.

image

@nopnop2002
Copy link
Owner

@Abluee

Once it works, I think it will work correctly even if you change it back.

@arunyava
Copy link

config
Use these pin configuration in esp32s3 and use external power also .

@nopnop2002
Copy link
Owner

nopnop2002 commented Jul 31, 2024

@arunyava

You need an explanation as to what the problem is.

@Pr47h4m
Copy link

Pr47h4m commented Aug 18, 2024

IMG_2601

Hello
I am using ESP32-S3 and same display
I am also encountering same issue as you
Have you found any solution?
Thanks

@nopnop2002
Copy link
Owner

nopnop2002 commented Aug 19, 2024

This may be improved by following the steps below.

  1. Pull up Reset with 100 ohms.

  2. Write firmware.

  3. Press the reset button several times.

PullUp-Register

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

No branches or pull requests

5 participants