How to use UART to wake from sleep mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use UART to wake from sleep mode

2,902件の閲覧回数
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.

ラベル(2)
0 件の賞賛
返信
4 返答(返信)

2,365件の閲覧回数
mjbcswitzerland
Specialist V
0 件の賞賛
返信

2,365件の閲覧回数
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,365件の閲覧回数
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,365件の閲覧回数
vanajagujjala
Contributor III

Hi Mark,

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

Vanaja.

0 件の賞賛
返信