cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK HRTIM

iskan
Associate III

Does MCSDK support hrtim?

1 ACCEPTED SOLUTION

Accepted Solutions
FouadB
ST Employee

Hello Iskan,

The STM32 Motor Control Software Development Kit (MCSDK) does not utilize the HRTIM (High Resolution Timer). For our motor control, only the advanced-control timer (such as TIM1) is required to generate the output PWM waveform.

Best regards

If you agree with my answer, please accept it by clicking on 'Accept as solution'."

View solution in original post

5 REPLIES 5
iskan
Associate III

I want to use hrtim to replace time1 in the ST motor library code, what should I do?

Issamos
Lead II

Hello @iskan 

Can you add a few details to your question. I'm not sure I understand what you want to know.

Best regards.

II

FouadB
ST Employee

Hello Iskan,

The STM32 Motor Control Software Development Kit (MCSDK) does not utilize the HRTIM (High Resolution Timer). For our motor control, only the advanced-control timer (such as TIM1) is required to generate the output PWM waveform.

Best regards

If you agree with my answer, please accept it by clicking on 'Accept as solution'."

I want to use hrtim to replace time1 in the ST motor library code, what should I do?

Hello Iskan,

Please find here an introduction about HRTIMER capabilities and the mode suitable for motor control. (from p17, 18, 19): https://www.st.com/resource/en/product_training/STM32G4-WDG_TIMERS-High_Resolution_Timer_HRTIM.pdf

You can use CubeMx to activate and set up the HRTIMER and subsequently update the FW FOC (MCSDK).

Best regards

If you agree with my answer, please accept it by clicking on 'Accept as solution'."