Re: [PATCH] bsp/stm32f4XXXX: System clock configuration

2014-10-01 Thread Sebastian Huber
On 30/09/14 16:18, Tomasz Gregorek wrote: Any chance for someone to take a look at this patch? Thanks, I checked in the patch without really looking at it. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 8

Re: [PATCH] bsp/stm32f4XXXX: System clock configuration

2014-09-30 Thread Tomasz Gregorek
2014-09-21 20:07 GMT+02:00 : > From: Tomasz Gregorek > > Added simple math to caclulate register values for the PLL > and for the prescalers. It will try to keep 48MHz for the USB OTG FS. > Also it will set latency on the Flash memory for the high speeds. > > Limitations: > It is assumed that 1MH

[PATCH] bsp/stm32f4XXXX: System clock configuration

2014-09-21 Thread tomasz . gregorek
From: Tomasz Gregorek Added simple math to caclulate register values for the PLL and for the prescalers. It will try to keep 48MHz for the USB OTG FS. Also it will set latency on the Flash memory for the high speeds. Limitations: It is assumed that 1MHz resolution is enough. Best fits for the cl