Hi Ping,
Finally I can to enter into VLPS mode and now my current consumption is 2.8uA!!! Thank you very much for your help in this issue.
Now I'm trying to use the UART0 in VLPS mode. Basically my app is sleeping and I when a RX frame from UART0, the KL26 wakeup. I'm trying to configure this, but the KL26 doesn't wakeup, even if in the RX pin is active (the slave sends frames to the KL26).
I've found a documentation "KLQRUG.pdf" with an example (example 2: functionality of UART0 in VLPS mode), and I've written the code in my app (with a little modifications to adapt it to my hard and config), but the KL26 is always sleeping.
Please, can you help me in this new issue?
I explain you my configuration:
1. I'm using the same clock configuration of the PEx_lowpower_example.
2. I'm using the PE for the UART0 (AS1). Is a CPU Internal Peripherals. Please, see the image below:

2. After the function PE_low_level_init();, I've tried 3 different UART0 configurations to wakeup the KL26, but the results are the same, no wakeup:
2.1. Using only the PE with setting "Wakeup condition == Idle line wakeup"
2.2. Using only the PE with setting "Wakeup condition == Address mark wakeup"
2.3. Using only the PE with setting "Wakeup condition == Address mark wakeup" and reconfiguring the UART0 with the code:
NOTE: my freceived frame would be:
FF 02 0C 22 13 63 4B 30 52 39 01 21 93 4C 03
void HalUART0VLPS(void)
{
//SIM_SOPT2 |= SIM_SOPT2_UART0SRC(1);
//SIM_SOPT2 |= SIM_SOPT2_PLLFLLSEL_MASK;
/*SIM_SOPT2 = SIM_SOPT2_UART0SRC(3);
SIM_SCGC4 = SIM_SCGC4_UART0_MASK;
SIM_SCGC5 = SIM_SCGC5_PORTA_MASK;
*/
PORTA_PCR1 = PORT_PCR_ISF_MASK | PORT_PCR_MUX(0x2);
PORTA_PCR2 = PORT_PCR_ISF_MASK | PORT_PCR_MUX(0x2);
UART0_C2 &= ~ (UART0_C2_TE_MASK | UART0_C2_RE_MASK);
UART0_BDH = 0x00;
UART0_BDL = 0x34;
UART0_C4 = 0x0F;
//UART0_C1 = UART0_C1_WAKE_MASK;
//UART0_C3 = 0x00;
UART0_MA1 = 0xFF;
UART0_MA2 = 0x02;
UART0_C2 = UART0_C2_RWU_MASK | UART0_C2_RIE_MASK;
UART0_S1 |= 0x1F;
UART0_S2 |= 0xC0;
UART0_C2 |= UART0_C2_TE_MASK | UART0_C2_RE_MASK;
//UART0_C2 = UART0_C2_RWU_MASK | UART0_C2_RIE_MASK | UART0_C2_ILIE_MASK;
}
By default, the TX and RX line are "1" logical value, because my slave device doesn't support inverted mode.
Please, can you help me on this?
Thank very much in advance.
Joaqui.