cancel
Showing results for 
Search instead for 
Did you mean: 

Board Designer permitted crystal clock sources

JoshS
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
FDAMICO
ST Employee

 

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

View solution in original post

1 REPLY 1
FDAMICO
ST Employee

 

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