AnsweredAssumed Answered

Code for 1ms withTMR module

Question asked by DSPIC MIC on Sep 17, 2016
Latest reply on Oct 7, 2016 by Hui_Ma

I have to generate delay for my MICRO S32KXX for 1 ms second.

I have gone through number of post, which are related to LPTMR module to generate delay for application .

I also followed up the LPTMR module in K60P144M micro and tried here to write the code for generation dealy for 1 ms.

I want to use OSC0ERCLK clock for LPTMR module, my crystal is of 8 MHz.

 

I have attached my code .

 

I have written the above code (attached as LPTMR_Code) for K60P144 as reference ,to implement code for my micro S32KXXX.Please give your feedback. if i have written right.

Thanks!

Outcomes