Hi,
I have two requirements
For my KL27
Wake up from single pin input or RTC periodic alarm
- GPIO outputs need to be set in certain states to stop leakage current on external circuits (bias things off or on)
- Inputs need to have some pull ups to stop some external leakage but do not need to wake it up.
- RTC needs to run from external 32.Xkhz xtal with programmed wake up time
- 3 GPIO inputs needs to be able to wake up the chip (the KL03 can wake it up, or, my other hardware trips the other input)
- Lots of modules are enabled (1 x UART, 2 x LPUART's, I2C, SPI) so I guess I need to somehow disable / unlock these for minimal power
- I guess I need to disable unused GPIO
- I need the entire RAM retained
- I need to exit into the same state (no reset)
For my KL03
- Same as above but using LPO to run the RTC with periodic wake up, or maybe just LPTMR as might be ok, as long as I can wake it up at some interval..
My goal is under 3uA each processor
From my reading so far I think i need to enter LLS3 , VLLS3 requires reset which makes it to complex for my RToS. I just need to work out if how I manage the GPIO before entering and also UART/LPUART/SPI/I2C so that the current is minimal.