cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32f030c8t6 clock problem

MSafa.3
Associate

Hi everyone i have stm32f030c8t6 mcu with out evaluate borad, when i set the clock on 8 Mhz it's work correctly, but when i set the clock on 16,32Mhz with pll or even with HSE it doesn't work, i check in keil debug and it writes cannot access memory, what is problem ?? :(​

3 REPLIES 3

Hard to guess

Flash wait states

Incorrect clocking and PLL settings

Wrong HSE_VALUE definitions

Powering issues

Review carefully the code enabling the clocks and PLLs, registers, etc.

Perhaps output the internal clocks via PA8/MCO pin, BEFORE switching the processor to using the clock. Check speed/stability.

Check quality of HSE clock source via PA8/MCO

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Tnx Deloren

can it occur for wrong power supply? Because i was thinking that f030 power supply is as same as f103 so for some times I didn’t connect vdda,vssa pins to power (refer to um it’s for pll power) and i program and run mcu,

and what is correct power supply circuit for f030 mcus?

Like the F1, the F0 has the PLL and reset circuitry connected to the analogue supplies, it's not just for ADC or DAC. It's supposed to be provided.

You should also pull BOOT0 Low to ensure the correct code is started if supplies ramp slowly.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..