Page 1 of 1

Dual core with interrupts

Posted: Mon May 31, 2021 10:36 pm
by tonyfoale
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?

Re: Dual core with interrupts

Posted: Tue Jun 01, 2021 12:51 am
by ESP_Sprite
Suggest you show the code and we can tell you what we think is wrong with it.