cancel
Showing results for 
Search instead for 
Did you mean: 

STMC Board Designer Clock Source - Possible Bug

kirilian
Associate

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.

kirilian_0-1749180306070.png

 

I press "Save" and am taken back to the list of boards.  The list correctly shows the clock source as "24_cristal"

kirilian_1-1749180453484.png

Now if I edit this board again, the clock source has reverted back to Internal RC Oscillator

kirilian_2-1749180501801.png

Could this be a possible bug, or is MCSDK forcing the STM32G747 to only operate in Internal RC Oscillator mode?

 

1 REPLY 1
GMA
ST Employee

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

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA