Associate III
February 23, 2018
Question
STM32CubeMX config question
- February 23, 2018
- 5 replies
- 1661 views
Posted on February 23, 2018 at 22:56

Hello,
There are 2 things I do not understand about my Nucleo-FRM32F042K6 project (attached take1.ioc). As you can see, I turned off everything except the SWD and USB.
I want to use the HSI48 for USB, and run everything else off the HSI, without the PLL. In Mr. Noviello's ''Mastering STM32'' book section 10.1.2 Configuraing Clock Tree Using CubeMX, he uses 8 MHz for APB1 peripheral clock just like I did, but my CubeMX marks the box as red. So far, I haven't found an explanation.

And why does CubeMX want to generate GPIO code, when I am not using any GPIO?

Thanks for reading!
