2023-09-06 03:58 AM
Does MCSDK support hrtim?
Solved! Go to Solution.
2023-09-06 05:59 AM
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
2023-09-06 12:07 AM
I want to use hrtim to replace time1 in the ST motor library code, what should I do?
2023-09-06 04:49 AM - edited 2023-09-06 04:50 AM
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
2023-09-06 05:59 AM
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
2023-09-06 06:20 AM
I want to use hrtim to replace time1 in the ST motor library code, what should I do?
2023-09-07 12:22 AM
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