2018-04-05 01:56 AM
We are trying to increase the clock speed of our STM32 on our custom board but we encountered some difficulties.
At the moment, we set a clock of 56 MHz, using HSI and an PLL of 112 (with CubeMx). It works fine.
But when we set a clock of 96 MHz by setting the PLL to 192, we get Hard Fault, Usage Fault or Bus Fault when debugging.
We tried increasing the flash latency, but it does not work better. The power supply seems good (around 3,2 V).
We were missing the Vcap on the board, but we fix that. Not better.
What can we look at to debug this problem ?
#cpu-clock-frequencySolved! Go to Solution.
2018-05-17 06:30 PM
NRST is not connected in your diagram ??
I use a reset chip on NRST, MIC803 triggering at 2.9V for 1.2Sec.
NRST requires a 0.1uF and a 10K or 1K pullup.
VCap 2 also requires the Low ESR 2.2uF
2018-05-18 06:43 AM
In my application, an internal POR / PDR is enough.
The NRST pin is internally pulled 40k, so an external resistor is not needed in most cases.
I have connected 0.1uF to ground (error in the diagram above).
I would highly recommend AN4488: Getting started with STM32F4xxxx MCU hardware development.
2018-08-06 02:25 AM
We did a second version of our design with a more stable power supply and it seems to fix the problem.
Thank you all for your help.