How can i use the ESP_INTR_ALLOC() function to pin a interrupt and it's ISR to a specific core?

YvesDS
Posts: 13
Joined: Sat Sep 30, 2017 10:57 am
Location: Bredene (Belgium)

How can i use the ESP_INTR_ALLOC() function to pin a interrupt and it's ISR to a specific core?

Postby YvesDS » Wed Nov 01, 2017 9:04 pm

Hi,

How can I use the "ESP_INTR_ALLOC() API to pin a interrupt to a specific core, and can i be sure that the ISR function would be on the same core?

I can nowhere find a example for this question
Grtz,
Yves

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: How can i use the ESP_INTR_ALLOC() function to pin a interrupt and it's ISR to a specific core?

Postby WiFive » Thu Nov 02, 2017 2:26 am

It is advised to use xTaskCreatePinnedToCore() with a specific CoreID argument to create tasks that will allocate interrupts.

Who is online

Users browsing this forum: KMTsvetanov and 77 guests