WKPU->WISR and Pad_Keeping question

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

WKPU->WISR and Pad_Keeping question

279 Views
PINKMAN
Contributor III

hello expert:

In my project, there is a wakeup source which is falling edge trigger. but  i can read it from   IP_WKPU->WISR even it doesn't happened.

before go to standby mode , i enable Pad_Keeping by 

IP_DCM_GPR->DCMRWF1 &= ~DCM_GPR_DCMRWF1_STANDBY_IO_CONFIG_MASK;

after wakeup ,i disable it by 

IP_DCM_GPR->DCMRWF1 |= DCM_GPR_DCMRWF1_STANDBY_IO_CONFIG_MASK;

i think it should not happend in IP_WKPU->WISR 

can you tell me why ?

0 Kudos
Reply
1 Reply

249 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @PINKMAN,

Please try reading the IP_WKPU->WISR register before the pad keeping is disabled (STANDBY_IO_CONFIG = 1).

Disabling the pad keeping puts the IOs in their default reset configuration. And the WKPU can see some additional edges (internally) depending on the state of the pins before the pad keeping is disabled.

Best regards,
Julián

0 Kudos
Reply