I assume you pose the question is because you are not getting a wakeup to the PSoC from a change in GPIO input.
Note: The more aggressive the low-power you have chose, the less interrupt sources are available for the wakeup. Which low-power mode type are you attempting to use?
Hibernate mode is used as low power mode.
Rather than not wake up from hibernate mode,
PSoC5LP is a problem that shifts to active mode instead of staying in hibernate mode.
Therefore, We would like to check the signal of this "wakeup_out".
If I understood you correctly, the problem is not waking up. The problem is waking up unexpectedly.
You were correct. The Register TRM does not list a status bit for the wakeup_out signal shown in the PICU diagram.
If you are waking up unexpectedly, is it possible that one of your wakeup sources is set to Digital HiZ?
High impedance inputs have known to have floating signals. This means that stray voltages can cause the input to cross the logic switching threshold.
There is nothing such as register to keep a value of wakeup_out, as Len mentioned.
Also it wouldn’t be suitable to recognize by a value of pin whether interrupt is working correctly.
So I leave a suggestion here to avoid wake-up automatically from Hibernate mode.
Please try to configure GPIO pin to Resistive pull-up or pull down, depending on your requirement.
For more details, refer to “Component List” section in 001-56137
We think the PICU and clock are having an effect,
However we have not yet determined what caused the hibernation mode to exit.
I will consider it based on the information you received.
I checked it with a simple circuit using CY8CKIT-050.
When you press the switch assigned to P6_1, Pin_irq goes 'H'.
The VCCA / VCCD waveform at that time was acquired.
Tte irq pin of the Pin component corresponds to PIRQ,
When PIRQ goes' H', wakeup_out goes also 'H'.
I understand that the timing has moved from hibernate to active mode.
By adding more WDT APIs:
If you leave it after pressing P6_1, it can be judged that it is in the active state because it will be reset by the watch dock.