stm32H7 clock scheme 49.152MHz to 24MHz and max MCU
Hello,
I sort of feel *** not to get sure there not a best solution. I develop an Audio board, with USB HS. I will have a good 49.152MHz clock to drive the SAI, and I wanted to ue it for the HSE.
49.152 * 125 / 256 = 24MHz that I need for the ULPI. Looks good
49.152 * 625 /2 = 480MHz, the max MCU freq. Looks good
I would prefer not use Fracn feature as the above seems to get it right (pure aestetic concern I believe).
But the PLL DIVN1 is limited to 512 for the multiplication factor. So I find as best "solution" 49.152 * 500 /2 = 384MHz... Which wastes some MCU processing power.
Is this the max MCU freq I can acheive while possibly generatind "pure" 24MHz for USB ULPI and not using Fracn? Is there a better solution?
For learning purpose, is there an "algo" to allocate manually PLL M-P-Q to achieve 1 target Freq on PLLQ and max SysCLK?
Sure this is not a pragmatic concern, as Fracn feature allows for 480MHz Sysclk and 24MHz multiples on PLL1Q... I know... (or using an additional 24MHz crystal would make it simple on the clock scheme).
Best regards,
JMF
