Skip to main content
Associate
December 4, 2025
Question

Sample code for NUCLEO-F411RE and X-NUCLEO-IHM08M1

  • December 4, 2025
  • 1 reply
  • 610 views

Hi,

I have purchased NUCLEO-F411RE controller EVK and X-NUCLEO-IHM08M1 expansion board to write motor control application and check the motor parameters on Motor Control Work bench tool.

While checking for sample application or extension packages for the expansion board and controller, I don't find SPN8 package on X-CUBE extension list. And don't find sample application to add and compile on STM32IDE for NUCLEO-F411RE + X-NUCLEO-IHM08M1. 

Please suggest me sample application for the NUCLEO-F411RE + X-NUCLEO-IHM08M1 and how to add it into STMCUBEIDE, Compile and Run.

Regards,

Omkar

1 reply

GMA
Technical Moderator
December 9, 2025

Hello @omkar62,

Generate a project for the NUCLEO-F401RE and X-NUCLEO-IHM08M1 using the Motor Control Workbench.
Open STM32CubeMX tool and create a new project by selecting the NUCLEO-F411RE board without initializing any peripherals.

GMA_0-1765269913258.png

Import the F401RE board MC project .ioc with default parameters.

GMA_1-1765269954826.png

Address any reported misalignments between the F401 and F411 microcontrollers as reported by STM32CubeMX tool (Breakin in this case. You can deactivate OCP on F401 project as first step).
Save the F411 project in a new directory.
Copy the ftl directory from the F401 project to the F411 project.
Generate the code using the STM32CubeMX tool.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
omkar62Author
Associate
December 11, 2025

Hi @GMA, Thank you for the suggestion. I tried to do the above procedure in the IDE for F411RE. After import the project, pins are not configured on CubeMX tool. Where can I deactivate OCP on F401 project as first step.

Also, would like to know

1. How can I enable IHM08M1 middleware on CubeMX for BLDC motor.

2. How to configure F411RE + IHM08M1 as work bench setup on MCSDK workbench tool.

Please help me to spin BLDC motor on F411RE.

 

Thankyou

 

GMA
Technical Moderator
December 11, 2025

Hello @omkar62,

After importing the F401 project into the new F411 CubeMX empty project, the CubeMX display should show all I/O configurations.

GMA_0-1765459277063.png

 

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA