MCSDK HRTIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-06 3:58 AM
Does MCSDK support hrtim?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-06 5: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-06 12:07 AM
I want to use hrtim to replace time1 in the ST motor library code, what should I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-06 4:49 AM - edited ‎2023-09-06 4: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-06 5: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-06 6:20 AM
I want to use hrtim to replace time1 in the ST motor library code, what should I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
