cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure pinout and clock in a project without .ioc file ?

YNL_95
Associate

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

1 REPLY 1
RBENF.1
ST Employee

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