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

GT911 - Interrupt disabling causes target reset #54

Closed
fb87 opened this issue Dec 11, 2022 · 1 comment
Closed

GT911 - Interrupt disabling causes target reset #54

fb87 opened this issue Dec 11, 2022 · 1 comment

Comments

@fb87
Copy link

fb87 commented Dec 11, 2022

I am checking M5EPD with sample code but target reset right after boot. It's seem to be issue with the Interrupt disabling in GT911 ISR. According to the note from esp32 which states ESP32xx runs FreeRTOS... disabling interrupts can lead to issues, such as Watchdog Timeout. Since when I was disable the interrupt disabling as bellow, the target didn't reset anymore, kindly check if we can do something better?

void ICACHE_RAM_ATTR ___GT911IRQ___()
{
    // noInterrupts();
    gt911_irq_trigger = 1;
    // interrupts();
}
@Tinyu-Zhao
Copy link
Collaborator

Currently in communication with ESP32 about this issue, until then no better solution has been found, please be patient, thanks.

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