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

Issue on ESP32. Missing bit because interrupts executed #107

Open
slavkaz001 opened this issue Feb 5, 2022 · 0 comments
Open

Issue on ESP32. Missing bit because interrupts executed #107

slavkaz001 opened this issue Feb 5, 2022 · 0 comments

Comments

@slavkaz001
Copy link

slavkaz001 commented Feb 5, 2022

I am missing bits sometimes and I troubleshoot the problem and found that ESP is freezing executing the code sometimes for 10 µs and the routine is missing one of the bits and errors out. I configured output pin to follow input and i see it is missing some of the falling falling edges. In the second test I configured output pin to toggle while esp32 is waiting for the falling edge and see it halt execution sometimes. Blue is input and yellow is the output debug pin.
it seems like ESP32 interrupts the code execution to do some other work. Any ideas?
902C4034-6E33-43BF-94BA-FE78FBB46D08
D1CFC9DB-402C-4B14-A9F7-AF4C4BE7A1F3

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