Skip to main content
YNL_95
Visitor II
March 15, 2023
Question

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

  • March 15, 2023
  • 1 reply
  • 1510 views

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

This topic has been closed for replies.

1 reply

RBENF.1
ST Employee
March 17, 2023

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