Skip to main content
KiptonM
Senior III
December 17, 2021
Solved

The MX PLL3 calculation is generating 208.87793 MHz not 204 MHz. Is this a bug or am I missing something?

  • December 17, 2021
  • 3 replies
  • 1525 views

I believe HSE is 24 MHz, DIVM3 is /2 (12 MHz) DIVN3 is X34 (408 MHz) DIVP3 is /2 (204 MHz) But the screen says it is 208.87793.

 

I thought I knew how the PLL worked. And it is not like this.

 

I have a screen shot.

This topic has been closed for replies.
Best answer by TDK

You have a fractional N set in your PLL. Set it back to 0 to get the expected results.

0693W00000HovfsQAB.png

3 replies

TDK
TDKBest answer
Super User
December 17, 2021

You have a fractional N set in your PLL. Set it back to 0 to get the expected results.

0693W00000HovfsQAB.png

"If you feel a post has answered your question, please click ""Accept as Solution""."
PatrickF
Technical Moderator
December 17, 2021

@TDK gives the right answer. 24/2=12MHz, 12MHz*(34+6660/8192) = 417.755859MHz with DIVP3=2 end up to 208.8779297MHz.

Regards.

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.NEW ! Sidekick STM32 AI agent, see here
KiptonM
KiptonMAuthor
Senior III
December 18, 2021

I missed that completely. Thank you.

I do not remember changing it. And do not know why I would.

Thanks again.

Kip