2 posts / 0 new
Last post
satya247
clock frequency change

Hi Anupam,

My code is runing into HaerdFault_handler
and in a infinit loop.

This is happening only when I change PLL_M = 8
and HSE_VALUE = 8000000 from 25000000

If I change back those values to 25. my code is not giving any faults.

I am using same stm32f401 discovery board

can you please let me why is it happening.

Many thanks
Satya

mchip
Hi Satya

Hi Satya
i have also gone through with the tutorials in this website but i think stm32f401 discovery board is different. Its maximum frequency i think 84 MHz so may be you need different settings...Check the datasheet.