2025-11-21 12:51 AM
Hi,
I have configured WB55 project in CubeMX but each time I reopen it, clock config isuue is displayed. When I change SMPS clock source to HSE error dissapears and I can generate project. But onviously it is not saved since next time I open it, error is back and cloc source set again to HSI.
Is there way how to fix it or is it just bug in CubeMX? Thanks.
David H.
Solved! Go to Solution.
2025-11-24 6:09 AM
Hello @DavH42
The issue is not reproduced when starting a project from scratch with CubeMX V6.16.0,
Although the problem is related to your IOC file, when opening the provided IOC in a text editor, these two lines are somehow added:
RCC.SMPSCLockSelectionVirtual=RCC_SMPSCLKSOURCE_HSI
RCC.SMPSCLockSelectionVirtualVirtual=RCC_SMPSCLKSOURCE_HSI
The problem will be resolved once you remove them.
BR, Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-11-21 1:00 AM
Hello @DavH42
Thanks for posting this issue!
I am currently investigating the issue, I will get back to you asap.
KR, Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-11-24 6:09 AM
Hello @DavH42
The issue is not reproduced when starting a project from scratch with CubeMX V6.16.0,
Although the problem is related to your IOC file, when opening the provided IOC in a text editor, these two lines are somehow added:
RCC.SMPSCLockSelectionVirtual=RCC_SMPSCLKSOURCE_HSI
RCC.SMPSCLockSelectionVirtualVirtual=RCC_SMPSCLKSOURCE_HSI
The problem will be resolved once you remove them.
BR, Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-11-24 9:41 PM
Hello @Souhaib MAZHOUD ,
I can confirm that removing of these lines helped. Thanks a lot.
This project was originally created in 6.15.0 as WB55 Nucleo project. Maybe reason could be related to this fact. Anyway there was no merging of .ioc file. Migration to 6.16.0 and removing of nucleo related lines was done after issue observation. So I dont understand where these problematic lines could came from. Anyway important is, that now it is working properly. So thanks a lot again. Have a nice day.
BR
David H.