CubeIDEMX doesnt' enable RCC bit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-17 10:40 AM
I used STMCubeIDE to generate the following code...It is for Timer16 to count up and generate an interrupt after 100ms. Can someone tell me why the code did not set up __HAL_RCC_TIMx_CLK_ENABLE()?
When I use the IDE to generate GPIO stuff it automatically adds the RCC Enable bit into the INIT function
Thanks
Steve
Solved! Go to Solution.
- Labels:
-
RCC
-
STM32CubeIDE
-
STM32CubeMX
-
TIM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-17 1:11 PM
After digging around I see it did....I apologize....Not used to HAL layer design....Many macros compared to LL / register setting
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-17 11:34 AM
It should have. Attach your IOC file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-17 1:11 PM
After digging around I see it did....I apologize....Not used to HAL layer design....Many macros compared to LL / register setting
Thank you.
