2025-07-07 2:10 AM
Hi,
I am using Nucleo-144 boards in my project where I have changed the clock source for STLINK IC to external crystal using STLINK firmware upgrade tool. Before it was HSI/2 =8MHz. Now I am trying to revert the configuration back to 8MHz but I am not able to detect the Nucleo board now with 8 MHz. Is this known issue?
I tried configuring it back to 5MHz using tool below and it works fine , detects all the time in MATLAB. But not with 8MHz (HSI/2).
How to revert back the configuration and make the board detectable?
Solved! Go to Solution.
2025-07-07 2:16 AM - edited 2025-07-07 2:37 AM
Hello,
Do you mean that you are not able to revert back to HSI/2 =8MHz?
If you are able to see this value after reverting back the settings:
this is not a board issue but may be to your MATLAB Simulink config: clock config for example? forget to revert back the clock to 8MHz in Matlab simulink?
For Matlab/simulink questions please ask them in their forum: https://www.mathworks.com/matlabcentral/content/communities.html
2025-07-07 2:16 AM - edited 2025-07-07 2:37 AM
Hello,
Do you mean that you are not able to revert back to HSI/2 =8MHz?
If you are able to see this value after reverting back the settings:
this is not a board issue but may be to your MATLAB Simulink config: clock config for example? forget to revert back the clock to 8MHz in Matlab simulink?
For Matlab/simulink questions please ask them in their forum: https://www.mathworks.com/matlabcentral/content/communities.html
2025-07-07 3:16 AM
Yes. I probes the R5 resistor on Nucleo-144, I am getting 8MHz clock. But I am not able to connect with STM32 using MATLAB simulink.
2025-07-07 3:18 AM
In that case it's not a board issue nor the STLINK module but it's a Matlab/simulink environement issue that we don't support. As I said please ask the question in their forums.
2025-07-07 3:21 AM
But it was working fine with 8MHz prior change to 5MHz (HSE/5).
2025-07-07 3:27 AM - edited 2025-07-07 4:31 AM
As it was reverted back to "HSI/2= 8MHz" with STLINK firmware upgrade tool and you are measuring 8MHz so this is not a board issue. Check your clock config in the Matlab/Simulink.
And again, for Simulink questions please ask them in the Matlab/Simulink forum.