2025-02-18 07:15 AM
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?
Solved! Go to Solution.
2025-02-19 08:31 AM
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
2025-02-19 08:31 AM
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