S32K144 Timer Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 Timer Issue

1,066 Views
raviranjankumar
Contributor III

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

0 Kudos
Reply
1 Reply

641 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply