2025-06-05 8:30 PM
I am using MCSDK 6.4.0 and am creating a new inverter board using STMC Board Designer. I am using the STM32G474RETx MCU.
When I select the Clock Source as "24 MHz External Crystal", save the project, and exit back to the list of boards, the "Clock Source" column correctly shows this board is using "24_cristal". When I edit the board, the clock source reverts back to "Internal RC Oscillator".
In the figure below, I have selected 24 MHz External Crystal.
I press "Save" and am taken back to the list of boards. The list correctly shows the clock source as "24_cristal"
Now if I edit this board again, the clock source has reverted back to Internal RC Oscillator
Could this be a possible bug, or is MCSDK forcing the STM32G747 to only operate in Internal RC Oscillator mode?
2025-06-09 7:08 AM
Hello @kirilian,
Thank you for your report.
This point has been reported to the dedicated team to correct this point for next deliveries.
With the modified .json file, you can check that the correct clock source is used when selecting the modified board on Workbench GUI (the source clock is displayed at this point) and on generated .ioc file, searching the clock source settings:
MotorControl.CLOCK_SOURCE=EXTERNAL
MotorControl.CPU_CLK_xx_MHZ=true