Good day to the forum,
I have a few questions and I am currently stuck. Specifically, it is about the following. On a simple Arduino with the 328p I have used TimerInterrupts to ensure that a function or a certain part is always executed at a certain time.
Now on the ESP32 it's a bit more complicated, there are TimerInterrupts there too, but how can I relate them to the two cores so that an interrupt is only executed on one core. To shift a part of the program on a core one uses tasks as far as I have understood correctly. These can be given priorities.
But how can I give the tasks the time repetition frequency like a timer interrupt?
Concretely I have the question: How can I make sure that certain parts (Tasks?) of my program are always executed after X ms and on the core specified by me.
Currently I'm still working with the Arduino IDE, if this should lead to problems, I'm glad about hints.
Thank you very much for reading my post and possibly helping me.
TimerInterrupt Multicore and Tasks - Some Question about the Architecture
-
- Posts: 5
- Joined: Fri Sep 10, 2021 7:10 am
Who is online
Users browsing this forum: No registered users and 115 guests