Associate
January 10, 2020
Question
Encoder input, Bug o limitation?
- January 10, 2020
- 6 replies
- 2285 views
I want to use TIM4 for the encoder, but the ST Motor Control Workbench only allow this if I choose Three shunt current sensing. If I choose One shunt, TIM4 is no longer available for the Encoder interface. The encoder has no timing relations to either ADC sampling or pwm, so I cannot see why I shouldn't be able to use TIM4. I also tried to generate the code with TIM3 and replaced it afterwards, but I the ADC3 interrupt never executes. So I assume there may be some limitation but I cannot understand what...
See attached screen dumps