4 ms·
Vendor tools for STM provide almost exactly what you wish for for the clock diagram. Example: http://www.emcu.it/STM32clk/STM32clk.html http://www.emcu.it/STM3
by henrikeh 8y ago
Vendor tools for STM provide almost exactly what you wish for for the clock diagram.
Example: http://www.emcu.it/STM32clk/STM32clk.html http://www.emcu.it/STM32clk/STM32clk.html
- Rebelgecko 8y agoI haven't used the STM Cube configurator for a while, but last time I did it was almost at FPGA software levels of user-unfriendlieness. If you changed the indentation on a magic comment in your code and then adjusted one of the clocks, CUBE would clobber your existing code and silently delete it.
- henrikeh 8y agoYes, Cube autogenerates a lot of code and will overwrite things that don’t follow the inserted markers. The original article even includes an example of using Cube to configure the clocks and then use those configurations together with Rust. I agree that it isn’t ideal at all and kinda wonky. But more links in the datasheets would be nice.