Skip to main content
Associate
February 18, 2025
Solved

Board Designer permitted crystal clock sources

  • February 18, 2025
  • 1 reply
  • 365 views

Using Workbench 6.3.0.

Creating an "inverter" board for a custom board which uses a 25MHz crystal. Only 8, 24, and 48 MHz crystals are offered in the dropdown. 

Can I edit JSON file to "clocksource": "25_crystal"? If not can I edit the CubeMx clock? Can MCSDK firmware be made to work correctly with a 25MHz clock?

Best answer by FDAMICO

 

Thanks for your question.

Unfortunately, it is not sufficient to directly modify the JSON file to set "clocksource" to "25_crystal" because the values proposed by Board Designer for a given MCU (such as 8, 24, and 48 MHz) are the only values that the MCWB tool can automatically configure.

The only thing you can do is, once the IOC file is generated with MCWB, open the IOC file with CubeMX, configure the clock to 25 MHz in CubeMX, and then generate the final project.

Regards,
Francesco

1 reply

FDAMICO
FDAMICOBest answer
ST Employee
February 19, 2025

 

Thanks for your question.

Unfortunately, it is not sufficient to directly modify the JSON file to set "clocksource" to "25_crystal" because the values proposed by Board Designer for a given MCU (such as 8, 24, and 48 MHz) are the only values that the MCWB tool can automatically configure.

The only thing you can do is, once the IOC file is generated with MCWB, open the IOC file with CubeMX, configure the clock to 25 MHz in CubeMX, and then generate the final project.

Regards,
Francesco