AnsweredAssumed Answered

MKL28 input to TPM pulse counter example or application note

Question asked by M I on Jul 20, 2019
Latest reply on Jul 29, 2019 by Mark Butcher


I need to setup & use the Timer Pulse Module (TPM) of the MKL28 as a Pulse Counter to count input square waveform from a flow meter.

The SDK example do not exactly do this configuration, except some dual or single edge detection / capture that does not trigger the TPM internal pulse counting to log pulse counts.

I have read the Reference Manual regarding the matter but it would be nice to see an example that shows the steps in configuring the module as such.

Has anybody tried to configure the MKL28's TPM  in Pulse Counter mode?

And/or does anyone seen any mkl28/kinetis/TPM application note document on this?

Thanks for the help.