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

Screen garbage on first power up #87

Open
etkal opened this issue Oct 2, 2024 · 1 comment
Open

Screen garbage on first power up #87

etkal opened this issue Oct 2, 2024 · 1 comment

Comments

@etkal
Copy link

etkal commented Oct 2, 2024

Just bought a new NanoVNA, HW 3.6.1_SM_ST, looks like the latest firmware from here (shows 1.2.27, and I even reloaded the latest image from here so it's identical). When I first power it on after being off for a while, the screen flashes white, but then shows garbage on the upper half, which when written over by the display image still shows garbage data on the left side. Powering off and back on fixes the issue, just flashes white, then display off, then draws as expected.

I suspect a timing issue on startup, might experiment with that, perhaps a delay is needed to allow the ili9341 HW to stabilize when cold. I have a couple Raspberry Pi Pico projects that use the ili9341 and I had to play with the reset timing at startup to get it to behave properly:

void ILI934X::Reset()
{
gpio_put(m_rst, 1);
sleep_ms(50);
gpio_put(m_rst, 0);
sleep_ms(50);
gpio_put(m_rst, 1);
sleep_ms(50);
}

Have you seen this or had it reported before? I'll see if I can experiment with this code, have not developed for this processor / SDK before.

Regards,
Erik

Screenshot 2024-10-02 at 08 57 52

Screenshot 2024-10-02 at 08 58 24

@etkal
Copy link
Author

etkal commented Nov 5, 2024

Is anyone else seeing this??

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

1 participant