FreqMeasureMulti and TeensyStep conflict

Status
Not open for further replies.

jensa

Well-known member
Hi,
This might be one for @luni, but I ran into a conflict between FreqMeasureMulti and TeensyStep as they were both using TIMER_FTM0. I resolved this by setting #define USE_TIMER TIMER_FTM1 in config.h of TeensyStep.

As long as I don't need anything else using more timers, I think I'm all good? Or have this introduced any new limitation that I should be aware of?

J
 
Guess I'll answer my own question now that I know (in case others wonder about the same). This will indeed cause problems, so I reverted and worked around it instead. If done this way, you'll get a hardware hang once you start the second TeensyStep controller. I guess there is no standard way to tell if Timers are "taken"?
 
Status
Not open for further replies.
Back
Top