2019-10-14 05:37 AM
Hi All,
I'm trying to interface the STM32F4 Discovery board with an AC Servo drive. So basically, I have this hex file of a closed source firmware, whose function is to, on one side, interface with PC through USE port, and on the other side, send PWM + DIR signal to control a servo drive in torque control mode.
Following diagrams are all I have from the author of this firmware.
So output signal for PWM is PE9 and DIR is PE11.
Now, i've dug through the servo drive manual, and below is the closest wiring I can find from the manual
As you can see here, the manual mentions 5V TTL signal. However, if I'm not wrong, output from PE9 and PE11 are 3.3V CMOS signal, therefore, I do not know whether I can follow this wiring instruction to link up the STM32F4 to the servo drive.
Is there a difference in wiring for a 5V TTL PWM signal and 3.3V CMOS PWM signal?
Can someone also please explain to me the wiring configuration above and what is the purpose of the internal wiring of the Servo drive (before the optocoupler)?
Here is the link to the servo drive manual https://www.hiwin.com/pdf/d2_drive_user_manual.pdf
Thanks in advance
2023-12-19 06:17 AM
hi you solve this one now i am also facing same problem ,you can give some suggestion for this one
2023-12-19 07:47 AM
@kalai The thread is already more than three years old and was probably answered on another website, maybe that will help you?
Good luck!
/Peter