Search found 2 matches
- Fri Apr 12, 2024 8:03 am
- Forum: General Discussion
- Topic: Cache/load interupt call to make first execution fast
- Replies: 2
- Views: 823
Re: Cache/load interupt call to make first execution fast
I am open to switching the code fully to ESP-IDF functions too if that would solve that problem. I use only a few Arduino functions for convenience. How would I ensure that pcnt_get_event_status and digitalWrite are in IRAM in that case? Right now I am using PlatformIO to build my project if that ma...
- Wed Apr 10, 2024 2:08 pm
- Forum: General Discussion
- Topic: Cache/load interupt call to make first execution fast
- Replies: 2
- Views: 823
Cache/load interupt call to make first execution fast
I have a project where I need to react very fast to the call of an pulse counter interrupt. However I noticed that the first activation after reset comes with a huge delay. Subsequent calls execute within 4µs, but the first one takes 55µs. I guess this is due to code loaded into RAM from flash. I al...