Wake up gpio driver with interrupt (notificationfromISR) on freeRTOS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Wake up gpio driver with interrupt (notificationfromISR) on freeRTOS

811 次查看
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 项奖励
回复
1 回复

718 次查看
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 项奖励
回复