STM32F446VET7, SystemClock_Config(); FAULT
I used STM32F446VET7 on the board I PCB printed. When I use HSI, I can debug without any problem, but when I want to use HSE, SystemClock_Config(); function enters ErrorHandler().
Can you help me?
I used STM32F446VET7 on the board I PCB printed. When I use HSI, I can debug without any problem, but when I want to use HSE, SystemClock_Config(); function enters ErrorHandler().
Can you help me?
Can you show the HSE portion of your schematic?
In particular, the load caps on the crystal oscillator must be chosen correctly.
cd00221665-oscillator-design-guide-for-stm8af-al-s-stm32-mcus-and-mpus-stmicroelectronics.pdf
Roughly speaking, load caps should be around
CL1 = CL2 = 2 * (CL - 5 pF)
where CL is the load capacitance of the crystal.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.