Skip to main content
SoHaeng.Lee
Associate III
March 14, 2017
Solved

CubeMX 4.20.0 Problem

  • March 14, 2017
  • 2 replies
  • 691 views
Posted on March 14, 2017 at 08:18

I think the new issue seems to have a problem with source generation.

When choosing the HSE, create the source as follows :

  RCC_OscInitStruct.

OscillatorType

= RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;

To operate normally, the source must be changed as follows :

  RCC_OscInitStruct.

OscillatorType

 = RCC_OSCILLATORTYPE_HSE;

check, please.

    This topic has been closed for replies.
    Best answer by Sirma Siang
    Posted on April 28, 2017 at 11:13

    Hello

    SoHaeng.Lee

    ,

    I thank you for your bug report.

    Cube version 4.20 had a regression in the clock configuration that has passed through all our validation tests.

    This has been corrected in Version 4.1.

    I advise you to upgrade to this last version.

    Kind regards

    Sirma

    2 replies

    ST Technical Moderator
    March 14, 2017
    Posted on March 14, 2017 at 09:08

    Hi sohaeng.lee,

    I confirm this bug which is already reported to our CubeMX team and 

    will be fixed in coming version.

    We apologize for any inconvenience this may cause.

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Sirma Siang
    Sirma SiangBest answer
    ST Employee
    April 28, 2017
    Posted on April 28, 2017 at 11:13

    Hello

    SoHaeng.Lee

    ,

    I thank you for your bug report.

    Cube version 4.20 had a regression in the clock configuration that has passed through all our validation tests.

    This has been corrected in Version 4.1.

    I advise you to upgrade to this last version.

    Kind regards

    Sirma