Solved
How can I do to count motor steps with Input Capture Direct Mode with DMA?
I want to count the steps that the motor takes with DMA and when it reaches a certain number of steps, turn off the PWM timer. How do I read the incoming pulses?
I want to count the steps that the motor takes with DMA and when it reaches a certain number of steps, turn off the PWM timer. How do I read the incoming pulses?
I would set up the timer in external clock mode and use the signal as the clock source.
I don't think DMA is needed here.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.