2023-03-08 01:53 AM
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
2023-03-08 02:03 AM
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.
2023-03-08 02:14 AM
2023-03-08 02:14 AM
2023-03-08 02:41 AM
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.