Can FreeRTOS set gpio as wakeup source

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

Can FreeRTOS set gpio as wakeup source

1,078 Views
674943148
Contributor II

Hi all,

i am using a imx7D board, and i wonder how to wake up the Cortex-M4 core after entering sleep mode. Is it possible to configure gpio as a wakeup source in FreeRTOS? How to do it?

Best regards

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

979 Views
igorpadykov
NXP Employee
NXP Employee

HI wang

I am afraid it is not possible as sleep mode supported only in linux.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

978 Views
674943148
Contributor II

Hi igor

Thank you for your reply and there's something wrong with my statement. I used LPM_MCORE_SetPowerStatus() to enter LPM_M4_STATE_STOP in a FreeRTOS task, which is a low-power state with Cortex-M4 closed. But i don't know how to resume it with a tickless external interrupt. 

Best regards

Wang

0 Kudos
Reply

979 Views
vinothkumars
Senior Contributor IV

Hi Wang,

Will you please give your configuration. I also struggling in wake up.

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
Reply