Hal_init() never returns when TIM is selected (nucleo H755)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-03 10:40 AM
Hi Everyone!
I just received 10 STM32H755 nucleo boards to use in a project in the company I work for. However, I haven`t been able to use them.
I`m facing a problem with Hal_init(). When I select any timer as the Timebase Source Hal_init() never returns. However, when I select Systick, Hal_init() return just fine.
One more thing: I`m using the internal RC oscillator as the clock source.
Thanks a lot
Guilherme
- Labels:
-
STM32CubeIDE
-
STM32H7 Series
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 3:44 AM
E.g. FreeRTOS wants systick for itself. So the ST lib has to give way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-05 8:49 AM
Ok. So just give a solution in case someone face the same problem:
It seems that it is not possible to use HSI and PLLCLK at the same time (or perhaps I have configured it wrongly). By changing the clock source to CSI RC, I was able to use the PLLCLK and my program worked fine.

- « Previous
-
- 1
- 2
- Next »