Hi Diego,
Thank you for your interesting in our kineits product.
Could you tell me how did you configure your PTC5 as the VLLS3 wake up source? Did you configure the according LLWU module?
Can you enter in the VLLS3 successfully? could you tell me your consumption.
you can't use PTC5 wake up your vlls3, I think maybe your configuration have some problems, so please check your configuration.
If you use PTC5 as the VLLS3 wake up source, you should configurate the following points:
1, set the ACKISO bit in PMC_REGSC
if (PMC_REGSC & PMC_REGSC_ACKISO_MASK)
PMC_REGSC |= PMC_REGSC_ACKISO_MASK;
2, Configure the PORTC_PCR5
You can do it like this :
PORTC_PCR5 = ( PORT_PCR_MUX(1) |
PORT_PCR_PE_MASK |
PORT_PCR_PFE_MASK |
PORT_PCR_PS_MASK
);
3, configure the LLWU module
configure the dege detection for the wakup pin in LLWU_P9,
Actually, you can refer to the low power code in our KL25 sample code, the link is :
http://www.freescale.com/files/32bit/software/KL25_SC.exe?WT_TYPE=Lab and Test Software&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=exe&WT_ASSET=Downloads&fileExt=.exe
After your configuration is correct, then test it again.
If you still have question, please let me know!
Best regards,
Jingjing