Hi Hui_Ma,
Thanks for reply, actually i have to work on S32K144 . This micro series is new for me and i found that the LPTMR module in S32K144 mod is same as in K60P144 only different in clocking sources. In my application i have to provide delay using LPTMR module , LPTMR module should use the clock given by external crystal .
Please give your comment ,if i have written code right way. because i am little bit unconfident in clock configuration and also i think use of System Oscillator (external clock/internal reference) involves number of register ,which help me in understanding of clock configuration with accurate value in involved register .And so that i can be more confident enabling the register of LPTMR right way to achieve desire time period and also i can provide various time period with the help of various input clock option .
Also i have one doubt what is the meaning of below line, as i have not seen this SIM module being used in above "clocking diagram (Fig:5.1) ". i know this enable or disable the LPTMR clock , but how this SIM module(circuit) is involve in clock provided by LPO in your written code also in my code where i m using clock as oscillator clock .I have gone through this reference manual but not able to understand .
SIM_SCGC5|=SIM_SCGC5_LPTIMER_MASK;
Thanks ,