Skip to main content
Associate III
June 5, 2025
Solved

HSO Algorithm for STM32F4 or STM32F7 ?

  • June 5, 2025
  • 1 reply
  • 572 views

Hi,

I have generated code for HSO on a workbench as recommended by the release note. But we are thinking of using the STM32F4 or STM32F7 series of controllers. So, my question is: Does the HSO algorithm work for dual-channel FOC on the STM32F4 or STM32F7 boards if we port the code? HSO is not for the STM32F4 Series. Is it due to peripheral limitations or not introduced?

 

Thanks,

Rahul D

Best answer by Gael A

Hello Rahuld,

There is no theoretical limitation to the use of F4 and F7 for HSO. Be aware though that the Cordic functions will have to be written again as Cordic is not embedded into F4 and F7.

1 reply

Gael A
ST Employee
June 5, 2025

Hello Rahuld,

There is currently no plan to port the HSO to STM32F4 or STM32F7. We currently put our efforts on newer MCUs than those two.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
RahuldAuthor
Associate III
June 5, 2025

Hi @Gael A ,

 

There is some misunderstanding.

I am asking if I generate a code with G4 control Board and use its application layer (HSO functions) with same configuration & run in F4/F7 control Board code. Will it work?  

 

Thanks,

Rahul D

Andrew Neil
Super User
June 5, 2025

You would need to rebuild the HSO functions to run on different targets.

As @Gael A  said in your other thread, the HSO functions are not supplied as source code - so you can't do that.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.