MC9S08GW32 STOP 3 mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S08GW32 STOP 3 mode

398 Views
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;

Labels (1)
0 Kudos
1 Reply

262 Views
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 Kudos