PWM for servo motor | Cypress Semiconductor
PWM for servo motor
I try to control a DC motor with an H-bridge that is managed by a CY8CKIT-049-42XX.
I want to order the H-bridge PWM => T0 / Tx55 = 0V until T0 / Tx55 = 35V (T0/T is rapport cyclique in french, i dont know in english)
- depending on the desired speed I need to change T0by entering a pin (ideally analog 0 to 5V).
- retrieve tachometer voltage +/- 9V (3V / 1000 rpm) and PID control.
- For position control i have a resolver with AD2S90 and AD2S99 chips. (see link)
I watched the TCPWM and PWM, see the FAN controller. But I can not.
Someone does an idea.
A big thank you in advance.
PS: the H-bridge run with a pic. But now i want to works with psoc if it's possible.