2025-03-18 4:20 AM
Hi,
I managed to create a custom inverter board using STMC Board Designer which is basically 1 Nucleo-H755ZI-Q inverter and 2 times a IHM08M1 power board(see Other post about creating bridge ) . One of the 2 power boards is therefore connected to other pins of the Nucleo-H755ZI-Q in order for me to drive 2 motors independently. (included board below)
That all worked and I'm able to create a STMC Workbench project (included below) and configure the encoder, stages, etc.
All goes well until I want to generate the code, from what I understand is that there are some bindings missing in the foc_assign.ftl templates. There's no support for M2_ADC listed which causes several files to be incomplete (mc_tasks.c and stm32h7xx_mc_it.c as far as I can tell). I've added the files with fault codes aswell.
Could you guys help me create the correct .ftl files in order for me to generate the project for 2 motors for a STM32H755 MCU using the workbench?
2025-03-18 9:09 AM
Managed to change some of the .ftl and .xml files in order to get the generation working properly. Could you guys check and verify if all is setup correctly and this would work?