Wake up gpio driver with interrupt (notificationfromISR) on freeRTOS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Wake up gpio driver with interrupt (notificationfromISR) on freeRTOS

819件の閲覧回数
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 返信

726件の閲覧回数
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 件の賞賛
返信