The STM32H725/735 HAL function IS_TIM_MASTER_INSTANCE() is missing a check for TIM12, which is a valid master (has MMS bits in CR2).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-30 11:41 PM
For example, here is the function definition for the STM32H725:
/****** TIM Instances : master mode available (TIMx_CR2.MMS available )********/
#define IS_TIM_MASTER_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \
((INSTANCE) == TIM2) || \
((INSTANCE) == TIM3) || \
((INSTANCE) == TIM4) || \
((INSTANCE) == TIM5) || \
((INSTANCE) == TIM6) || \
((INSTANCE) == TIM7) || \
((INSTANCE) == TIM8) || \
((INSTANCE) == TIM15) || \
((INSTANCE) == TIM23) || \
((INSTANCE) == TIM24))
Note that TIM12 is missing.
Other MCU's may be affected but I'm only looking at the 725/735 for now.
- Labels:
-
STM32H7 Series
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-31 6:39 AM
Hello @Andrew Sterian​ ,
Thanks for your reported issue.
I will check this and will give you an update as soon as possible.
Happy new year! :party_popper:
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-05 12:46 AM
Hi @Andrew Sterian​ ,
I confirm this issue and I have passed it along to our development team for fix.
Thanks for your contribution.
Imen
Thanks
Imen
