Gracefull shut down of microcontroller

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

Gracefull shut down of microcontroller

1,170件の閲覧回数
vrushalitaklika
Contributor III

Hi,

I am looking for steps involoved in graceful shutdown of microcontroller when any of the gpio pin is used as key_switch to shutdown microcontroller.

If anyone has idea on sequence of shutting down microcontroller safely, please share your views.

Thanks

Vrushali

0 件の賞賛
4 返答(返信)

900件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you please specify used MCU? Thanks

0 件の賞賛

900件の閲覧回数
vrushalitaklika
Contributor III

MPC5777C

0 件の賞賛

900件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

You may perform software reset

SIU.SRCR.R = 0x80000000;

in the interrupt routine on external IRQ signal connected to the button

Basically you only need to slightly modify example below:

Example MPC5777C-SIUL_External_IRQ GHS714 

900件の閲覧回数
vrushalitaklika
Contributor III

Thanks David

0 件の賞賛