Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
2 years, 3 months ago.
SMT32L4 GPIO Needs 3 ms to Cause Wake from Deep Sleep
I have a NUCLEO_L433RC_P and want to use
MBED_TICKLESS. One of the wake-up sources needs to be a GPIO.
I'm creating an
InterruptIn and adding a fall handler:
InterruptIn interrupt_in(PB_4, PullUp);
If Mbed OS has entered deep sleep it appears the GPIO must be low for 3 ms in order to wake-up the MCU and for the interrupt to fire.
In other words, for pulses more than 3 ms what I trying appears to work but less than 3 ms and nothing happens. 3 ms seems like a long time to me!
MBED_TICKLESS defined a much shorter pulse will cause the interrupt to fire.
Does this mean anything to anyone?
Any thoughts greatly appreciated.