-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
The screen is initialized correctly every 2 times #543
Comments
is that behaviour consistent whether there is a sdcard inserted or not? |
It is the same even without SD card unfortunately |
I also add that the screen is connected via 3-wire spi, so no miso |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Sorry to disturb you, but i still have the same problem, i can't figure how to fix it |
had another look at the schema, but I can only theorize since I don't have the device: apparently the display reset pin isn't routed to the esp32, does it rely on power to operate the reset? speculation: if the lcd reset isn't controled by LovyanGFX at init, then the probablility that this problem is caused by something else is higher it could be worth testing something like this at boot just to see if it changes anything, but with that reset pin attached to 3v3 on the lcd socket I'n not sure it'll have an effect: hardware::setScreenPower(false);
delay(200);
hardware::setScreenPower(true); |
Yes, i thing that's the issue; i ordered a new pcb with a fix. The behavior of the pcb shows that is may be the problem. |
I reordered a new pcb with a reset control. It now works 100% of the time! Thank you for your help! |
The screen is initialized correctly every 2 times
Whether when starting the code, or when resetting the screen after a sleep mode, resetting communication with the screen only works once in 2, whether using
lcd ->init();
orlcd->init_without_reset()
The project in question is still that of an open source phone and the fact that the screen only lights up once in 2 is quite problematic. The power supply is controlled by the esp32 and perfectly stable esp.
I specify that during a bad initialization, I also receive an error from the touch part in i2c:
Environment ( 実行環境 )
Problem Description ( 問題の内容 )
Screen initialization fails 1 out of 2 times
Expected Behavior ( 期待される動作 )
White sceen
Steps to reproduce ( 再現のための前提条件 )
Just init the screen?
Schematic
Code to reproduce this issue ( 再現させるためのコード )
Please submit complete source code that can reproduce your problem.
Full Code
I hope it was me who made a simple mistake in my configuration
Thanks in advance!
The text was updated successfully, but these errors were encountered: