Hello Community,
My objective is to do function call at every 1 ms. I tried lpit0 with 1ms delay but it is not working as expected.
I created new project with lpit0, every 1 sec it will make variable (interrupt) =1; and In main function I am running infinite while loop to count (0 to 3) only if variable (interrupt) =1.
At initial stage variable (interrupt) is 0, Whenever the LPIT0_Interrupt occured it will change to 1 and count increment by 1.
Currently my interrupt is not working as expected always my count is 0 only.
Could anyone please help me to solve this issue and I have attached my project for your reference.
Regards,
Sarwath