2023-08-09 05:13 AM
Dear All,
I am using the X-CUBE-SPN5 with the EWARM toolchain (F302R8 with IHM05A1) to control a stepper motor. For now, I can move the motor to a specific angle.
Now, I would like to transmit the target angle by Python. I have a USB to TTL Serial Cable. I would thus like to program the serial communication.
Can I use for example the UART provided functions by SPN7 and use it in the project derivated from SPN5?
Tanks in advance for your help ! :)
Solved! Go to Solution.
2023-09-27 02:15 AM
Hello @user-stm
Any communication protocol via UART-VirtualCOM can be reused for this purpose.
The code of the SPN7 library can be used as a guideline.
If you agree with my answer, please accept it by clicking on "Accept as solution".
2023-09-27 02:15 AM
Hello @user-stm
Any communication protocol via UART-VirtualCOM can be reused for this purpose.
The code of the SPN7 library can be used as a guideline.
If you agree with my answer, please accept it by clicking on "Accept as solution".