cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303RET Clock Issue

bradbas
Visitor

I have a design that I have used in the past but a latest build I am having trouble with the system clock. I am using 8mhz crystal, IOC file HSE is setup to use the crystal. I cannot get the processor to run above 16 Mhz. I have older projects that use the same processor and no issue with running at max 72Mhz. I have this problem with 1.12 and 1.19 so I don't believe it's CubeIDE. Is there any known issues with these chip? 

1 ACCEPTED SOLUTION

Accepted Solutions
bradbas
Visitor

Update,

Figured it out. My circuit was the same as past but not the power supply. Turns out my 3V3 supply was actually running at 2.0 and once the processor loading got up due to increasing clock speed it dropped below 2.0 which would then make the core unstable. Moral of the story always check your power rails. Thanks everyone.

 

View solution in original post

7 REPLIES 7
AScha.3
Super User

>Is there any known issues with these chip? 

No, afaik.

+

show your x.ioc , Clocktree in Cube ;

like this:

AScha3_0-1757951888668.png

 

If you feel a post has answered your question, please click "Accept as Solution".
TDK
Super User

What symptoms are you seeing? Show your schematic.

If you feel a post has answered your question, please click "Accept as Solution".

bradbas_0-1757953270266.png

 

bradbas_1-1757953341862.png

Here is the processor side of the project. Keep in mind this identical configuration in the past year has worked at 72Mhz no problem.

The processor goes into a strange state and I need to use the CubePGMr to do a full chip erase to bring it back to where I can do another debug session. When debugging it locks up when stepping over SystemClock_Config(); function.

 

And if you set it to its typ. 72 M , as in my clocktree , then ..what ?

+

>Keep in mind this identical configuration in the past year has worked at 72Mhz 

On same board ? or just similar design?

(because from your schematic, no decoupling caps etc. visible .)

If you feel a post has answered your question, please click "Accept as Solution".
bradbas
Visitor

Update,

Figured it out. My circuit was the same as past but not the power supply. Turns out my 3V3 supply was actually running at 2.0 and once the processor loading got up due to increasing clock speed it dropped below 2.0 which would then make the core unstable. Moral of the story always check your power rails. Thanks everyone.