Re: STM32F107 clocks

Erwan Gouriou

Awesome, thanks for sharing Artie!

Le ven. 16 avr. 2021 à 15:11, Attie Grande <attie.grande@...> a écrit :
Hi Gunnar,

We got the PLL2 code into the STM32CubeF1 codebase a little while ago [1].
There are also some patches for adding this support into Zephyr, but I
need to revisit them / make a PR now that the PLL2 support was merged
into STM32CubeF1... [2][3][4].

I hope that helps!



On Thu, 15 Apr 2021 at 14:29, Erwan Gouriou <erwan.gouriou@...> wrote:
> Hi Gunnar,
> Unfortunately, we miss code for PLL2 configuration as PLL input.
> Though, I'm adding Attie who investigated that point and may have code to get it working.
> BR
> Erwan
> On Thu, 15 Apr 2021 at 10:51, Gunnar Bråding <gunnar@...> wrote:
>> Hi!
>> I got a board with the crystal at 25MHz, and need to use the PLL2 as input to the system clock.
>> I just do not seem to understand the code enough to see how to set the prediv and multiplication for the PLL2
>> I can choose PLL2 as input to the PLL, and PLL as input to the system clock, but how do set the parameters for PLL2?
>> Any pointers would be very much appreciated.
>> Cheers,
>> — Gunnar

Join to automatically receive all group messages.