MC9S08GW32 STOP 3 mode

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

MC9S08GW32 STOP 3 mode

914 次查看
JeffChang
Contributor III

Hi, I have to try enter STOP 3 mode.  The power consumption about 500 uA, but datasheet typical is under 1uA.

How to reduce power consumption? thank you.

 

    SOPT1_STOPE=1;     

    SPMSC1_LVDE=0;

    SPMSC1_LVDSE=0;

    SPMSC2_PPDE=0;

    SPMSC2_PPDC=0;

标签 (1)
0 项奖励
回复
1 回复

778 次查看
bigmac
Specialist III

Hello Jeff, and welcome  to the forum.

 

If any GPIO pins are not connected to external circuitry, and have not been properly initialised, there will be extra current draw due to inputs that are left floating.  After POR, all GPIO pins are inputs.  To minimize the current draw, either enable pullups, or alternatively set each unused pin for output.

 

If you happen to be using a package with reduced number of pins, for the particular device, the unpinned GPIO must always be initialised in the above manner.

 

Regards,

Mac

 

0 项奖励
回复