Hi,
I am working on S32K144 Timer. In output compare mode, I am able to generate maximum 100 msec delay. I am using SOSC Frequency (8MHz), Max divider (128). Even with the highest MOD value, I am not able to generate more than 100 msec delay. Can I generate beyond 100msec if yes then please help?
Thanks and Regard,
Ravi Ranjan
Hi,
The system oscillator clock SOSC (8MHz) can be divided by 64 (SCG_SOSCDIV[SOSCDIV1]).
The FTM module may use the SOSCDIV1 as an external clock (FTMn_SC[CLKS]) which must be, however, selected in PCC module (PCC_FLEXTMRn[PCS]), see Table 25-9. The FTM module has a prescaler with division factor up to 128 (FTMn_SC[PS]). And the counter is 16-bit wide. That means the delay can be up to 67s.
Please check if all the registers are set correctly.
Regards,
Daniel