STM32CubeMX plugin clock setup error (standalone it's OK)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-10 10:34 AM
The same version (4.25.1) of STM32CubeMX behaves differently if it is the 'plugin' (installed on TrueSTUDIO 9.0.1) from the 'standalone'.
The MCU is: STM32H743ZI
The problem: in the PLUGIN version, by setting the HSE clock in MHz it is rewritten wrong as '0.000000 .....'. For example: I write 8 MHz, press ENTER, the writing becomes 0.0000080. Obviously this generates an error and the 'Input Frequency' box turns red. If I press the 'Resolve Clock Issue' button, after a few minutes it stops and writes 'Can not found a solution for some constrain'. If I repeat the same operations on the 'standalone' version everything works properly, if in HSE I write 8 MHz it remains written with that value.
Steps to reproduce the defect:
Open TrueSTUDIO, start STM32CubeMX plugin (inside trueSTUDIO).
New project.
Part number search: STM32H743ZI
Click on the MCU on the right down. Then 'Start Project'.
In the PINOUT select RCC, set the High Speed Clock (HSE) to: 'Crystal/ceramic resonator'.
Go to Clock configurator. You can see on the left HSE Input Frequency: 25 MHz, blue background. It's OK.
Click on the box under 'Input Frequency HSE', delete 25 MHz and type: 8
After pressing ENTER the box turns red and the writing becomes 0.0000080
If you switch System Clock Mux on PLLCLK you will see that all the subsequent calculations are wrong, there is no way to restore the correct values even by pressing the 'Resolve clock issue' button.
As I wrote before, if you take the same steps on the standalone version, everything works regularly.
Regards
Andrea
#stm32cubemx-4.25.1 #stm32cubemx-plugin #stm32h7 #hse-config #hse-issue- Labels:
-
STM32CubeMX
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-14 1:34 AM
Hi
Canepa.Andrea
‌,thanks for rising this issue, it will be fixed next eclipse plugin version but unfortunately I could not give a delivery date, I will keep you informed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-14 7:56 AM
So you managed to reproduce the flaw? This is everyone's problem, is not it only mine?
Andrea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-14 8:23 AM
yes it has been reproduced and is a known bug to be fixed in the new eclipse plugin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-07 8:54 AM
I've the same problem using the plugin STM32CubeMX 4.0 and Atollic TrueStudio STM32 9.0.1.
I have two PC with Windows 10 installed. The one with italian language has the problem but the one with english has not. Another PC with Windows 8.1 ( italian language ) shows exactly the same issue.
Very strange.
NewProject-><Board selector>->NUCLEO-F401RE->Clock Configuration
Result :
The automatic issues solver doesn't fix the problem.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-08 2:27 AM
Hi Stefano,
Sorry for the ambiguous answer maybe, but MX and eclipse plugin version are two different things.
The new version of the plug-in will be published in some months, I will keep you informed about the exact delivery date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-08 3:25 AM
Ok. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-12 8:45 AM
Hi,
I've installed the new version of the eclipse plug-in but the result is the same.
The installed plug-in is version 4.26.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-15 4:01 AM
Yes, I confirm that the same happens to me too with the plugin V 4.26!
Nothing has changed, not even the flaw I indicated at the beginning of this thread! The fact is very worrying.
Andrea
