cancel
Showing results for 
Search instead for 
Did you mean: 

Custom hardware with STM32L49 board hangs after Clock initialization

Src.1
Associate II

We uses a custom hardware with STM32L496AG. It seems like the board hangs after initializing the clock. We think the issue is SysTick fails to increment the tick and hence tick related functions are not working. Please see the attached screenshot of schematic. Any help on this is highly appreciated

4 REPLIES 4
RomainR.
ST Employee

Hello Src.1 (Community Member)

Your schematic does not help very well, it's incomplete and does not show the supply configuration of the device, I mean VDD/VDDA/VREF with decoupling capacitors (U1B)

Could you also provide the code that include the function in charge of clock, voltage range and Flash wait state configuration ?

BR,

Romain,

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Src.1
Associate II

Hi,

Thanks for the quick response, We have limited details about the schematic. Please see the attached available schematic and initialization code

regards

Src.1
Associate II

Please see the initialization code. Code hangs after executing 'HW_InitializeSystemClocks'

RomainR.
ST Employee

Thank you for the sharing.

After reviewing the schematic and the code, I did not find any errors in the function HW_InitializeSystemClocks().

Could you confirm using step debugging what line of the code in HW_InitializeSystemClocks fails ?

Can you recompile and try the same code by removing LSE configuration and keep MSI and LSI oscillators?

Best regards,

Romain,

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.