UART interrupt in VLPS mode.

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

UART interrupt in VLPS mode.

744 Views
taimurwajad123
Contributor III

Hi Everyone,

I'm working on Kinetis K10, MK10DX128FT5.
A system requirement is to enetr VLPS mode and on UART interrupt, system must come back to normal run mode. The system wakes up succefully after first entery to the VLPS mode, but after that, if the system again enters in VLPS mode, it's not waking up again, UART isn't sending interrupt(assumed) .

UART1_BDH|= UART_BDH_RXEDGIE_MASK;
 UART1_S2 |= UART_S2_RXEDGIF_MASK;

I'm enabling UART edge interrupt before entering in VLPS mode.
I'm not able to found the bug as yet, any link to some usefzul documentation or related post?

Regards
Taimur

3 Replies

510 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Taimur,

There is an errata record about K10_50MHz product VLPS mode, please check below picture for the detailed info:

pastedImage_1.png

According to this errata, I would recommend customer to refer below code to enter into VLPS mode:

pastedImage_2.png

You could get the full software project from [Kinetis 50MHz bare metal sample code(REV 1.6)]

Wish it helps.

best regards,

Mike

510 Views
taimurwajad123
Contributor III

Hi Mike,
Thanks for the reply. Actually in our case the transitions from

Run to VLPS, and

VLPS to Run.

I'm able to wakeup k10 with UART interrupt, however with TSI, K10 remains in VLPS, doesn't matter what are the configurations.

Regards

Taimur

0 Kudos

510 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Taimur,

Please check my comment at below thread:

https://community.nxp.com/thread/464236 

best regards,

Mike

0 Kudos