F401RET6 - unstable at 84MHz, works fine with 48MHz
Hi,
I am trying to setup clock from HSE on a F401RET6, when I setup 48MHz it works fine, but when I try 84Mhz after few steps when clock is set the CPU makes werid things (the PC counter stops increment or goes to a strange value).
I am using libopencm3 default presets for 84MHz https://github.com/libopencm3/libopencm3/blob/master/lib/stm32/f4/rcc.c
but I already tried changing flash delay, power mode and pll options with no luck.
Any idea what I am doing wrong? Can this be a hardware problem? I am using a custom PCB but I don't think it is since it works perfectly fine with 48MHz
