Hi Parth Modi
I check your code and I saw in your main function that you configure PTA4 in Pin control register as TSI0_CH5, and you need to configure it as PTA4/LLWU_P3:
void main (void)
{
char ch;
PORTA_PCR4 = (PORT_PCR_MUX(1));
SMC_PMPROT = SMC_PMPROT_AVLLS_MASK |
SMC_PMPROT_ALLS_MASK |
SMC_PMPROT_AVLP_MASK;
LLWU_Init();
..........
..........
Please check this and tell me if this make it works. If this didn't make could you tell me if your problem is the wake up source or entering to low power mode? I also check your LLWU driver and it looks fine.
Hope this information help.
Have a great day,
Jorge Alcala
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------