Alright, I think I got it into NORMAL_STOP and any VLLSx STOP modes using processor expert, and I'm able to come out of it through a LPTMR. However, I am not able to truly get it into a low power setting.
Here's my scenario.
I have a 22 uF storage cap on my Vdd pin on the microcontroller. The 3V on the Vdd is isolated with a diode. So I have 3V on the Vdd and when power goes off, I expect the microcontroller to enter a low power mode, which should allow the 22uF cap to hold a charge long enough to keep the processor running (in low power mode) for several seconds. So when power is re applied, the microcontroller would return from low power mode and continue operating (with slight changes due to entering low power mode in the first place, but that is irrelevant to this discussion). The goal is to keep the processor on long enough so it does not actually power off.
However, when entering STOP_VLLS0,1, or 3 by setting "low power mode" under "STOP operating mode" in processor expert, and having Cpu_SetOperationMode(DOM_STOP, NULL, NULL); called after I check my LVW flag (no interrupt on the LVW). I get about 100ms of time between when the processor enters low power mode and the time the processor is no longer powered.
If I enter Normal_Stop by setting in Processor Expert the low power mode under the "SLEEP operation mode" to "STOP", and call Cpu_SetOperationMode(DOM_SLEEP, NULL, NULL);, I get about 45ms of time before the processor shuts off.
Something is draining the power and it's leaking through the microcontroller. if I remove the micro controller, I get minutes worth of storage time on the cap, so I know the 22uF is isolated properly.
plus, in my older design when using a HC08 QG8 or MP16 processor, I simply check the LVW flag, disable various PIT timers, disable PWM signals, and begin a RTI clock. Then I go into STOP3 mode. When the RTI interrupts, I come out of low power mode, check to see if I am still in LVW, increment counters, and re-enter STOP3 mode. Doing this would allow me about 10 seconds of time in which the processor remains powered.
Anyone have any ideas what I can do to get this Kinetis not to drain my cap in 100ms in Low Power Mode?