2023-03-15 9:31 AM
Hello,
I am working with a NUCLEO-F446RE development board and an X-NUCLEO-IHM06A1 motor control board to control a stepper motor.
An example project (STM32CubeExpansion_SPN6) is given with the motor board. However, I want to modify this project to add two PWM outputs and UART communication.
Normally I would do this by modifying the .ioc file, but it is not provided in the example project. Is there any way to recreate the .ioc file? If not, how can I do the PIN configuration? What are the names of the files in which this configuration is found?
Thanks in advance,
Best regards,
Yoan
2023-03-16 8:35 PM
Hello @YNL_95,
What you can do is generate the code you need for your PWM and UART using STM32CubeMX and then copy it to your example project.
Regards,
Ryan
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.