AnsweredAssumed Answered

count pulses by FTM channel(S32K148)

Question asked by Ambarish Hundekar on Jan 30, 2019
Latest reply on Feb 15, 2019 by Ambarish Hundekar

Hello Nxp Team,

 

We are using S32K148 controller in our project.

 

We have to read the speed information by configuring the FTM module.

 

controller is manipulating the speed information  in terms of pulses.

 

controller has to read the  pulses received  through FTM channel.

 

 

I used some Example code of S32k148 (input capture code), but I can not find the pulses  count without interrupt configuration.

 

We can find the frequency and time of the one pulse.

I did not understand the some part of the FTM module in Reference manual.

 

could you please help me with name the hardware register to read the input pulse count value.

 

 

I don't want to configure interrupt(executing ISR for every pulse)  for  Input capture example, it will  waste CPU time.

 

controller may read  more than 2000 pulses per second .

 

Kindly help me, Thanks in advance.

 

Regards,

Ambarish

Outcomes