What other code portion(using code generation) changes apart from SystemClock Config replacement with clock setting changes
Hello,
I am using STM32CubeMX to generate the code and test some peripherals which runs at different clock speeds(optimally).
Since there is lot of code I have (specific to application) post STM32CubeMX code generation being written I don't want to reinsert my code after I experiment with different clock speed .So what I am doing is generating different SystemClockConfig methods with different clock settings to test the peripherals(mostly I2C ) by just replacing this SystemClockConfig with the newly generated ones.
I want to know is it Ok to do like this.?
I understand in case of SPI there is a change in the prescaler (only one macro) which gets changed or to be changed whenever we change the system clock
Is there any other portion of the code which changes by just changing the Clock Settings(Sys Clock)
Br,
D