Skip to main content
TVeng.1
Associate II
December 10, 2020
Solved

Modifying pins configuration in expansion board sample project using STM32Cube IDE

  • December 10, 2020
  • 5 replies
  • 3292 views

using Nuleo-401RE EVAL and x-cube-spn3-Stepper Motor sample project for expansion board. want to use UART2 and change FLAG pin to PA0. In STM32 Cube IDE I am not able edit back the pin configuration (.ioc not visible in sample project), how to change or re-assign the pins and re-generate code, need to go back Cube Mx? or can we do with Cube IDE we can modify pin assignement?

This topic has been closed for replies.
Best answer by Cartu38 OpenDev

Unfortunatelly no way. If example is delivered without any .ioc file. You have to reverse engineering here, starting a brand new project being able to benefit of device configuration tool.

5 replies

Khouloud ZEMMELI
ST Employee
December 10, 2020

Hello @TVeng.1​ 

It will be more easily if you configure your pins through CubeMX then re-generate code.

Thanks, Khouloud

TVeng.1
TVeng.1Author
Associate II
December 10, 2020

Thanks, I thought same but I want to re-use expansion board powerstepper1 driver and example application.

If I re-generate how to include this example application and driver again on top of newly generated BSP?

TVeng.1
TVeng.1Author
Associate II
December 11, 2020

X-CUBE-SPN3 (High power stepper motor driver software expansion for STM32Cube) is the example project I am trying to modify, I am not seeing .ioc file in that to modify the pin and rebuild source code. Anyway to get the .ioc file? please help.

Cartu38 OpenDev
Cartu38 OpenDevBest answer
Graduate II
December 11, 2020

Unfortunatelly no way. If example is delivered without any .ioc file. You have to reverse engineering here, starting a brand new project being able to benefit of device configuration tool.

TVeng.1
TVeng.1Author
Associate II
December 11, 2020

Thank you for clarifying