S32K148 - FTM and external clock

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

S32K148 - FTM and external clock

965 Views
jakub_mielczare
Contributor III

Hello,

In my application I need to use FTM timer in S32K148. I have the following questions:

1. Can FTM sue 24.576MHz clock as EXTCLK

2. There are TCLK0-2 inputs for EXTCLK. Which input can be used by which FTM timer instance?

NEW QUESTIONS:

   3. Can FTM timer in output compare mode be clocked (EXTCLK) by clock which is not 50% duty cycle?

   4. What is the minimum duty cycle in this case?

   5. What is the minimum pulse width in this case?

Best regards,

Jakub

Tags (1)
0 Kudos
Reply
1 Reply

853 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Jakub,

As you can see in the RM,

pastedImage_1.png

pastedImage_4.png

pastedImage_2.png

pastedImage_3.png

pastedImage_5.png

1.

The external clock must not exceed 1/4 of FTM input clock (SYS_CLK).

2.

TCLKn for each FTMn can be selected in the SIM_FTMOPT0 register. 

3.

It can be used in OC mode.

4 & 5.

It is not specified.

But the restriction also considers jitter.  

Regards,

Daniel

0 Kudos
Reply