Skip to main content
Katzenberger.Michael
Associate III
April 21, 2017
Question

STM32CubeMx 4.20.1: Clock Configuration GUI not working

  • April 21, 2017
  • 9 replies
  • 2521 views
Posted on April 21, 2017 at 20:49

Hi all!

The Clock Configuration GUI shows a weird behavior: I'm not able to put a valid input frequency for HSE (or LSE).

For example I want to setup the input frequency to 8 MHz:

  • entered value 8 is not accepted - changed to 0.0000000000080 immediately0690X00000606ogQAA.png
  • entered value 8000000 is accepted and changed to value 8 but as soon as the focus is changed to an other element the value jumps to 0.0000080 0690X00000606qCQAQ.png

Development environment:

  • Eclipse Neon 3
  • STM32CubeMx version: 4.20.1 (Eclipse plugin)
  • Java: jdk1.8.0_25
  • ioc config file attached

Best regards,

Michael.

    This topic has been closed for replies.

    9 replies

    Katzenberger.Michael
    Associate III
    April 21, 2017
    Posted on April 21, 2017 at 21:27

    short test: downgrading version until GUI is working

    STM32CubeMx version

    GUI is working

    4.20.1

    :)

    4.20.0

    :)

    4.19.0

    :)

    4.18.0

    Khouloud GARSI
    ST Employee
    April 27, 2017
    Posted on April 27, 2017 at 12:47

    Hi

    Katzenberger.Michael

    ‌,

    I'm not able to reproduce your issue.

    Could you please create a new project using CubeMX V4.1 and check if the issue persist.

    Khouloud.

    Katzenberger.Michael
    Associate III
    April 27, 2017
    Posted on April 27, 2017 at 21:56

    Hi Khouloud,

    I've reinstalled version V4.20.1 and can confirm that the problem still exists

    create new project

    0690X000006062oQAA.png

    enable High Speed Clock

    0690X00000606t1QAA.png

    Default clock setting shown good as expected

    0690X00000606tLQAQ.png

    but as soon I change the default value the GUI shows wrong values

    0690X00000606tHQAQ.png

    clock values entered in Hz (e.g. 10000000) are temporarily accepted as 10 MHz but as soon as I change the focus (activate another element) the entered value becomes invalid.

    Same for my Nucleo STM32F411RE ...

    Sirma Siang
    ST Employee
    May 3, 2017
    Posted on May 03, 2017 at 10:12

    Hello katzenberger.michael,

    I would like to thank you for your feedback, and indeed, such behaviour has been observed using eclipse plugin.

    This does not happen using CubeMX in standalone mode.

    We are looking why cube comportment is different when launching from Eclipse.

    KR

    Sirma
    Petr Kovar
    Visitor II
    August 11, 2017
    Posted on August 11, 2017 at 10:25

    Hello, I have exactly same experiences. In actual version of Eclipse plug-in (4.22.0) still nothing has changed to better. Please, will it ever be resolved ?

    Thanks and have a nice day,

    Peter

    Sirma Siang
    ST Employee
    August 21, 2017
    Posted on August 21, 2017 at 16:27

    Hello

    kovar.petr

    ,

    We are currently redesigning CubeMX integration into Eclipse. As this is a significant amount of work, it is quite difficult to give an availability date right now.

    Kind regards

    Sirma

    atomassini
    Visitor II
    March 27, 2018
    Posted on March 27, 2018 at 12:42

    Hello, had the same issue but found a workaround:

    the gui erroneously validates the frequency input dividing it by 100000 and rewriting the divided value to the textbox: this is the bug.

    So,

    you don't have to press enter

    once the crystal frequency is entered (in Hz) into the textbox, but

    simply move the focus to another component on the page (a prescaler combo, a radio button, whatever else).

    Regards.