Skip to main content
MSale.1
Senior
October 19, 2021
Solved

We have problem when using the HSI clock on our custom board with the STM32H7A3

  • October 19, 2021
  • 3 replies
  • 1297 views

Hello,

We have custom board with the STM32H7A3 and when i configure the HSI i always get error at. it return HAL_TIMEOUT

    /* Wait till PLL is ready */

    while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == 0U)

    {

     if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)

     {

      return HAL_TIMEOUT;

     }

    }

I tried with the STM32H7B3 discovery board and its fine when i use the HSI with same configuration.

Attached you can see screen of my clock configuration.

This topic has been closed for replies.
Best answer by MSale.1

@TDK​ 

HSI RC was divided by 2 in the configuration i just made it 1 and it worked

3 replies

MSale.1
MSale.1Author
Senior
October 19, 2021

i found the problem

TDK
October 19, 2021

Please post the solution and mark it as solved so that others who come to this thread may benefit.

"If you feel a post has answered your question, please click ""Accept as Solution""."
MSale.1
MSale.1AuthorBest answer
Senior
October 20, 2021

@TDK​ 

HSI RC was divided by 2 in the configuration i just made it 1 and it worked