Oliver Schmid

Fast Counter MK21FNM0VMD12

Discussion created by Oliver Schmid on Aug 17, 2016
Latest reply on Aug 18, 2016 by Oliver Schmid

Hi. I implemented an VRZ for my K21 with PHA and PHB.

But now I need a counter, which counting up/down when PHA is high or on rising / falling edge. I have only one phase (PHA).

I sampled it with the quadrature mode, but I think this is the wrong way.

Is there an other solution, how I can use the PHA to increment/decrement my counter?

When I use the normal FTM up counting mode my counter counting but not in the mercy of my PHA?

Have anybody an idea?

 

rgds Oliver

Outcomes