Skip to main content
Agour.1
Associate III
February 27, 2023
Solved

PLLCLK not working for STM32U575ZIT6 based custom board

  • February 27, 2023
  • 12 replies
  • 7640 views

Hi,

I have migrated from STM32L4S5ZI --> STM32U575ZIT6 for one of our custom designed board.

I am trying to configure 96MHz HCLK using Clock configuration in my *.ioc file and just toggle LEDs with a delay of 1 sec with the generated code & this logic.

My observations are as follows:

  1. Board Works (LED toggles perfectly every second) with HSI 16 MHz.
  2. Board works with HSE 48MHZ external oscillator without involving PLL. But I need to change the voltage level to 4 as shown in image attached.
  3. Board does not work with 48MHz MSIS
  4. Board does not work with 96MHz PLLCLK with input as HSE clock
  5. Board does not work with 96MHz PLLCLK with input as HSI clock

for all these cases images are attached. I have also attached my schematics and relevant code snippet and also the project workspace.

Upon survey I found that such issues comes when VDDA & VSSA are not connected / decoupled. Upon probing my board I confirmed both VDDA & VSSA are perfect 3.3V & GND respectively.

Please suggest possible solutions at the earliest.

This topic has been closed for replies.
Best answer by Agour.1

Today we got the actual solution to the problem.

While creating a new project we need to select Timebase Source as SYSTICK under System core option in .ioc file.

After doing so, I was able to make the clock work properly.

IDE must have thrown an error or warning in this case. I hope this issue will be addressed in upcoming versions of STM32cubeide

12 replies

Piranha
Principal III
March 6, 2023

The PH1_OSC_OUT pin should be floating. Read the AN4555 and AN5373.

Agour.1
Agour.1Author
Associate III
March 6, 2023

hi

Thank you for your reply.

For me, the problem is that PLLCLK is not working with any of the input clock (HSI / HSE). PLLCLK must work with internal HCI if i would have made the wrong connection. I am unable to generate any frequency output out of PLL.

Your solution may help if HSE clock is not working but in my case since I am connecting a external frequency source so this configuration is ok. Only thing is that while configuring RCI I need to select BYPASS CLK. however, as mentioned in my question the HSE clock is working but after tweaking the voltage levels.

Piranha
Principal III
March 13, 2023

The PH1_OSC_OUT grounded can be OK for HSI/MSI configurations, if the HSE is actually disabled. But for HSE in bypass mode it definitely is not OK! As I said - read the application notes. And why is it so hard to just remove the R131?

Agour.1
Agour.1Author
Associate III
March 13, 2023

hi

I have removed R131 but no change.

Anyways please think I am not using HSE,

I just want to provide some 80MHZ using HSI clock source. My real problem is that PLLCLK is not responding.

AScha.3
Super User
March 13, 2023
  • set HSE bypass , for ext. oszill.
  • set your voltage scaling-> 2 ( or 1 )
  •  

0693W00000aImhmQAC.png

"If you feel a post has answered your question, please click ""Accept as Solution""."
Agour.1
Agour.1Author
Associate III
March 16, 2023

hi

i have tried changing the voltage scale but it did not help. I am attaching my entire workspace. Please let me know where I am wrong.

AScha.3
Super User
March 16, 2023

try .ioc ; (i set it on CubeIDE, was other; just set it on your IDE .

and the path/directory need setting for you again.)

"If you feel a post has answered your question, please click ""Accept as Solution""."
AScha.3
Super User
March 21, 2023

@Agour.1​  and now ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Agour.1
Agour.1Author
Associate III
March 21, 2023

hi sorry for the delayed response. I got held up with something else so couldn't test. I will update you within a day

Agour.1
Agour.1Author
Associate III
March 24, 2023

@AScha.3​ I have tested with your .ioc, and it did not work. Please see the attached project "HITP_Workspace3_24_03_23.rar".

I also got the .ioc file from my fabricator, which was working and using that, I added the required FMC, GPIOs, LPUART etc and built my complete hardware integration test project. This works perfectly and attached in "HITP_Workspace2_21_03_23.rar". I have compared the .ioc file for both but was unable to find the root cause.

Still, when I am creating a fresh project, the PLLCLK doesn't work. Please guide me on what could be the root cause.