mc9s12g128: GPIOs to hold state during sleep mode

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

mc9s12g128: GPIOs to hold state during sleep mode

411 Views
bensonliu
Contributor I

Hi, 
We would like to setup the mc9s12g128 in a way that the GPIOs hold their state while entering sleep mode. 

For example, we configure the pin 19(PP2) to GPO mode and set up HIGH at run mode.

Could the pin still keep HIGH state after system entering sleep mode?
Or how to configure that the GPIOs hold their state while entering sleep mode?

Thank you.

0 Kudos
1 Reply

239 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The GPIO pin states are not affected by entering MCU into Stop mode.
So in the stop mode, the PP2 pin will be still in the high state.

Regards,

Daniel

0 Kudos