I read a couple of topics that discussed having to use the external xtal to drive the 48 Mhz as opposed to HSI48. When I run cube mx, the clock mux is greyed out and I cannot change the clock source.
Am I chasing the right issue here and if so, how do I ungrey the clock mux?
Hi @Grizz Could you update the latest version of CubeMX? It’s working without issues on my end. I’m using CubeMX v6.17, and the clock mux is available on my end, it’s not greyed out.
To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
According to the ST documentation, fore HS I need to change the HSI48 to PLL2Q or PLL1Q. I have the 16 Mhz crystal selected PLL2Q set to provide a high quality 48 Mhz clock. Problem is the CLK48 Clock Mux is greyed out.
The HS OTG clock I have set to 32 Mhz and that’s fine.
I can’t finish enumeration due to the low quality internal clock. The HS mode needs a quality crystal to drive the clock.