Activate nested interrupts

Posts: 9
Joined: Sun Jan 21, 2018 9:06 pm

Activate nested interrupts

Postby MajinFoo » Sat Mar 17, 2018 11:14 pm


i heard the esp32 supports nested interrupts. If so, how can it be activated?

Posts: 2352
Joined: Thu Nov 26, 2015 4:08 am

Re: Activate nested interrupts

Postby ESP_Sprite » Sun Mar 18, 2018 2:02 am

The Xtensa does support this using interrupt levels; in theory, an interrupt of level 2 can interrupt one of level 1. I'm not sure if our FreeRTOS implementation also honours this, however. In general, with an RTOS, it's preferable to keep your interrupts short and sweet anyway and do most of the processing in a thread; that way you usually don't need nestedinterrupts anyway.

Return to “ESP32 IDF”

Who is online

Users browsing this forum: Google [Bot] and 15 guests