Wake up on GPIO on k21F(MK21FX512VMC12)

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

Wake up on GPIO on k21F(MK21FX512VMC12)

643 Views
savinaydharmapp
Contributor I

Hi All,

My application is configured to wake up on external event on GPO(i.e PTC11).  Proccessor is not waking up when i enter sleep

_lpm_set_operation_mode (LPM_OPERATION_MODE_SLEEP);. where as i am able to wakeup when enter LPM(low power mode) using 

_lpm_set_operation_mode (LPM_OPERATION_MODE_WAIT);. Could anyone guide to reslove the issue.

Regards

savinay

Labels (2)
Tags (2)
0 Kudos
Reply
2 Replies

566 Views
cutworth
NXP Employee
NXP Employee

Hi Savinay,

Are you trying to run the code with "lowpower" demo under MQX folder? Which MQX version you use? Are you running this with Freescale tower board or with your own board? If you are running with your own board, did you port the BSP?

If you have written your own low power entry code, then please share your code.

Hao

0 Kudos
Reply

566 Views
savinaydharmapp
Contributor I

Hi Hao,

We are using our own board. BSP is ported to this board. We are using lpm api provided by BSP to enter low power mode.

Regards

savinay

0 Kudos
Reply