Hi, @Dannii
Thanks for sending me your schematics.
I checked it and compared with our reference design, found below suspects:
1. You connect SWITCH_WAKEUP_B to PTC4 through NetR21_2 and using R22(0 Ohm) as pull-up resistor. You are using GPIO as wakeup source, am I right? If so, then after MCU enter deep sleep mode, the GPIO could not wakeup it because GPIO is a power level, not a power supply.
2.Please refer to our reference design(K32W148-EVK) schematics, SWITCH_WAKEUP_B connects to 10K resistor with 3V_LDO. You can also try to connect in this way, then use a Button to test wake-up function.
SWITCH_WAKEUP_B pad is internally pulled up to the switch input through a resistor, it can be pulled down to wake up the smart power switch. The external SWITCH_WAKEUP_B pin, once driven low, it can turn on power switch;
For your convenience, I paste our K32W148-EVK link here and also its K32W148 Evaluation Kit Board Schematics download link.
Best regards,
Christine.