How to use UART to wake from sleep mode

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

How to use UART to wake from sleep mode

2,887 次查看
vanajagujjala
Contributor III

Hi,

     1. How to use UART interrupt to wake up uC from sleep mode in K20.

     2. Is it possible with UART Interrupt?

     3. How much current consumption in sleep mode?

    

Please help

Thanks

vanaja.

0 项奖励
回复
4 回复数

2,350 次查看
mjbcswitzerland
Specialist V
0 项奖励
回复

2,350 次查看
vanajagujjala
Contributor III

Hi Mark,

     Sorry for the delay,I migrated to some other work.

     1. I tried STOP mode,while running the code current is 10.5mA after enter into run mode current down to 4.6mA,but in Reference Manual and some where else i read in stop mode current is 0.4mA ?

     2. I tried K20 low power demo,In this example they are using LLWU is using to wake MCU from stop mode,but in my case i need to wake MCU if any character/data received from UART interrupt mode (9600 baud rate),in stop mode all clock are disabled?

     3.  From the Reference Manual MCU wake up from STOP mode by using AWIC, Is it ture?

Please help me & is there any wrong understanding by me.

0 项奖励
回复

2,350 次查看
mjbcswitzerland
Specialist V

Hi

- The user's manual decribes the various low power modes; you need a low leakage mode to get to very low current consumption. Some such modes allow specific clocks to remain enabled or be disabled so this depends to some extent on the code using it.

- Various asynchronous events can wake the processor from a LLWU mode (this is controlled by the AWIC).

- The UART edge interrupt is an asynchronous event which is designed to allow waking the processor on UART reception.

Regards

Mark

0 项奖励
回复

2,350 次查看
vanajagujjala
Contributor III

Hi Mark,

     Thanks for your reply. let me go through this and get back to you.

Vanaja.

0 项奖励
回复