I want to run an ISR function in core 0 to handle an external interrupt. It will run for the duration of program use and it will pass a global integer value to a function on core 1.
I have been having a problem getting the code to compile using xTaskCreatePinnedToCore(....). As soon as I include that line it gets upset about parameters being absent or wrong. I have added (void * pvParameters) as per numerous examples that I have viewed.
Firstly, my question is "Is it possible to run an ISR in core 0" using the Arduino IDE?
Secondly, if it is possible are there any tricks or traps to be aware of?
Dual core with interrupts
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Dual core with interrupts
Suggest you show the code and we can tell you what we think is wrong with it.
Who is online
Users browsing this forum: No registered users and 84 guests