Wake up gpio driver with interrupt (notificationfromISR) on freeRTOS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wake up gpio driver with interrupt (notificationfromISR) on freeRTOS

813 Views
satsok_n
Contributor III

I am using the freeRtos examples of KW41Z sdk on MCUxpresso. Is there any example of awaking the gpio driver task from an interrupt? 

0 Kudos
Reply
1 Reply

720 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello Kostas,

 

Unfortunately, there is no example exactly as you needed in the SDK. However, you can take a look to the freertos_i2c example which implements i2c interrupt and you can take as reference for  task and interrupt synchronization.

 

In addition, please have in mind that ISR has higher priority over tasks. Please check the following posts from a colleague as it may be useful for you.

ARM Cortex-M, Interrupts and FreeRTOS: Part 1 | MCU on Eclipse 

ARM Cortex-M, Interrupts and FreeRTOS: Part 2 | MCU on Eclipse 

ARM Cortex-M Interrupts and FreeRTOS: Part 3 | MCU on Eclipse 

 

Best regards,

Felipe

0 Kudos
Reply