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

Board spontaneously resets if backlight dimmed #22

Open
mcmanigle opened this issue Mar 13, 2024 · 1 comment
Open

Board spontaneously resets if backlight dimmed #22

mcmanigle opened this issue Mar 13, 2024 · 1 comment

Comments

@mcmanigle
Copy link

mcmanigle commented Mar 13, 2024

I have a simple application (weather / clock) that just connects to WiFi, periodically updates weather information, and displays it.

Everything works fine and it runs for hours (stable, low RAM use) if I leave the display backlight at full brightness. However, if I dim the backlight using PWM on GPIO1, the board will spontaneously reset after a couple of minutes. Anywhere between 1 minute and 15 minutes before it resets, randomly.

rtc_get_reset_reason shows POWERON_RESET or RTCWDT_BROWN_OUT_RESET. Either one can show, but otherwise the reset pattern looks random as described above.

I looked at the datasheet for PT4103 backlight LED controller, which suggests low-frequency PWM on the backlight control pin, but even using 500Hz, the reset still happens.

Is this something you have experienced or could test?

@lewisxhe
Copy link
Contributor

Try connecting a battery to provide backup power to the board.

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

2 participants