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-3248S035C - Hardware Interrupt for GT911 #129

Open
pepe-el-pepe opened this issue Oct 23, 2024 · 3 comments
Open

ESP32-3248S035C - Hardware Interrupt for GT911 #129

pepe-el-pepe opened this issue Oct 23, 2024 · 3 comments

Comments

@pepe-el-pepe
Copy link

Hello,
according to LINK there is a small hardware issue on this esp board. In case the software change is not a “big deal”, it would be great to have this here in CYD-Klipper :)

@suchmememanyskill
Copy link
Owner

Unsure what the benefit would be in this project; lvgl takes up most of the cpu time and polling happens inside the lvgl main loop, thus maxing out at 25 polls a second.

@pepe-el-pepe
Copy link
Author

I mean, the author writes:
“This results in excessive CPU utilization of more than 80%. The changes listed below result in significantly lower CPU utilization of less than 10% on average (for static screens).”

Maybe I don't fully understand the pooling/interrupt issue, but in my life so far I've learned to use the available resources as efficiently as possible. Wouldn't one of the big advantages then be a cooler uC, longer life and more time for other things? You never know when you'll need it :)

If you don't think it's worth the effort, feel free to close the issue :)

@suchmememanyskill
Copy link
Owner

For (eventual) sleep mode support, this would be useful, but lvgl is architected in a way to do polling-based touch screen sensing. Don't think it's wise to use it for the main touch sensing routine

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