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 ?
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