How many timers at one time

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

How many timers at one time

401 Views
kiciek
Contributor I

I want to make DC servocontroller on Kinetis K40 (i have MK40N512VLK10). Can i use two quadrature decoders (one as source signal and one from encoder) and PWM output with dead times at same time? What about controller for two motors - two STEP/DIR sources, two encoders, and two outputs?

Labels (1)
0 Kudos
1 Reply

290 Views
egoodii
Senior Contributor III

From your brief description, it sounds like you should be able to use FTM0 as your PWM source, and FTM1 and FTM2 each as quadrature-encoder counters.  I'm not clear what your 'two motor' setup requires.

0 Kudos