STM32CubeMX V5.0.1: error in uwTimclock with STM32G0xx (with Timebase source TIM15, TIM16, TIM17)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-21 1:13 AM
If, as the basis of time, I use a different timer than the systick in the hal_timebase_tim file in the ruler
uwTimclock = HAL_RCC_GetPCLK2Freq ();
there is an error. Should
uwTimclock = HAL_RCC_GetPCLK1Freq ();
Solved! Go to Solution.
- Labels:
-
Bug-report
-
STM32CubeMX
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-24 1:15 AM
Hi @wuio
Your issue has been transmitted for the dev team.
it will be implemented in the next version of the CubeMX.
Best Regards,
Wael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-21 7:23 AM
Hello @wuio ,
Can you please share your ioc file to check this issue.
I cannot reproduce your issue, I checked from my side and I have:
uwTimclock = HAL_RCC_GetPCLK1Freq();
Kind Regards,
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-22 2:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-22 6:13 AM
Hi @wuio ,
You are right, I raised this issue internally to CubeMX team for fix.
Thanks for your contribution.
Kind Regards,
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-24 1:15 AM
Hi @wuio
Your issue has been transmitted for the dev team.
it will be implemented in the next version of the CubeMX.
Best Regards,
Wael
