UART interrupt in VLPS mode.

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

UART interrupt in VLPS mode.

1,561 次查看
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 回复数

1,327 次查看
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

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

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