


I have configured PTB2 as the WKUP input pin, and WKUP Channel 8 is mapped to PTB2. The WKUP module configuration appears to be correct; however, the WKUP interrupt is not being triggered.
Previously, I configured the same pin as an EIRQ input, and the interrupt was triggered successfully, confirming that the pin and external signal are functioning correctly.
Issue:
- PTB2 configured as WKUP input.
- WKUP Channel 8 mapped to PTB2.
- No WKUP interrupt is received.
- The same hardware setup works correctly with EIRQ configuration.
Please help identify if there are any additional WKUP configuration requirements, dependencies, or known limitations that could prevent the interrupt from being generated.
Wkpu_Ip_Init(0U, &Wkpu_Ip_Config_PB);
/* INT2: Wakeup Trigger. */
Wkpu_Ip_EnableInterrupt(0, Wkpu_Ip_ChannelConfig_PB[2U].hwChannel);
Wkpu_Ip_EnableNotification(Wkpu_Ip_ChannelConfig_PB[2U].hwChannel);