cancel
Showing results for 
Search instead for 
Did you mean: 

TrueSTUDIO v9.0 + STM32CubeMX v4.24.0 Plug-in: Clock configuration BUG

Yury Deych
Associate
Posted on February 15, 2018 at 20:49

Hello to Everyone!

Just started to use the subj software combination and can't create a STM32F103C8 project in Cube because when I select a Crystal for HSE & LSE I get a red cross on the Clock Configuration tab and it is not possible to set a correct frequency in both fields.

0690X00000609gPQAQ.png

I've seen similar complaints on this forum and looks like this issue still not fixed.

3 REPLIES 3
Yury Deych
Associate
Posted on February 16, 2018 at 13:20

Some additional info:

- the SW is installed on Windows 7 64bit OS

- the regional settings change has no effect (''.'' or '','' separators)

- other MCU types are affected too

- the issue is related to the LSE clock source selector only - if only the HSE is set to ''Crystal/Ceramic Resonator'' the frequency can be altered normally.

0690X00000609gyQAA.png

- if the LSE is set to ''Bypass'':

0690X00000609buQAA.png

But when the ''Resolve...'' button is pressed or the value is changed manually it becomes normal.

- then, when LSE is changed to ''Crystal/Ceramic Resonator'':

0690X00000609hJQAQ.png

- when the ''Resolve...''button is pressed:

0690X00000609ZAQAY.png

- when the ''Reset Clock configuration''button is pressed:

0690X00000609ZZQAY.png

and now.... when the HSE is set to ''Crystal/Ceramic Resonator'' it seems to be working even if the Cube and the TrueSTUDIO were closed and restarted  <8-O

0690X00000609MuQAI.png
Jeanne Joly
Senior III
Posted on February 23, 2018 at 10:07

Hello

yury.deych

,

If you have a look to the

http://www.st.com/content/ccc/resource/technical/document/reference_manual/59/b9/ba/7f/11/af/43/d5/CD00171pdf/files/CD00171pdf/jcr:content/translations/en.CD00171pdf

, you can see insection 7.2.4 LSE clock that the LSE crystal is a 768kHz Low Speed External crystal or ceramic resonator and in the bypass mode, it can have a frequency of up to 1MHz.

So, indeed, in crystal or ceramic resonator mode, you can't change the LSE frequency. However, in bypass mode you can change it.

For the HSE clock, it is a 4 to 16 MHz external oscillator. So it is possible to change the frequency even in crystal/ceramic resonator mode.

BR. Jeanne

FBenh.1
Associate

Hello, yes it is true but I think there is an issue because I soon as we select Crystal/ceramic resonator, the Clock configuration tree of Cube freeze the input frequency of the LSE to a wrong value. And you cannot change it. The input is highlighted un fushia.. And the good behavior shhould be to set tha value to 32.738. If we try to set it to the right value in the .ioc file, you nee to set it to 32768000000 to see 32.768 in the input box but as soon as you save the file or you do a modification, the value becomes wrong. It is not stable at all !!!!

BR Franck