Code for 1ms withTMR module

Discussion created by DSPIC MIC on Sep 17, 2016
Latest reply on Sep 18, 2016 by Hui_Ma

I have to generate delay for my MICRO S32KXXX 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.