Skip to main content
Marco1
Associate III
Mar 24, 2017 11:52 AM UTC
Solved

CubeMx 4.20.0 and oscillator problem

Posted on March 24, 2017 at 12:52

I see when you change settings on RCC,  from internal oscillator to external, both line on .ioc file are setted and the code generated is this:

RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;

On .ioc file you can find this lines, and i think is not normal

RCC.OscillatorTypeHSE=RCC_OSCILLATORTYPE_HSE

RCC.OscillatorTypeHSI=RCC_OSCILLATORTYPE_HSI

RCC.OscillatorTypeLSI=

Not only, normaly before generate file, cubemx ask me for enable TIMBase when i use FREErtos, now ask nothing.

Try my ioc. attached

Sorry for my english !

    This topic has been closed for replies.
    Sirma Siang
    Sirma SiangBest answer
    ST Employee
    Apr 28, 2017 9:39 AM UTC
    Posted on April 28, 2017 at 11:39

    Hello marco,

    I confirm that the clock issue has been corrected in the latest cubeMx version 4.20.1.

    Could you plese upgrade to this version ?

    Kind regards

    Sirma

    4 replies

    ST Technical Moderator
    Mar 24, 2017 12:17 PM UTC
    Posted on March 24, 2017 at 13:17

    Hello,

    Please note that the issue on RCC is confirmed and will be fixed in the new patch 

    to be delivered soon.

    Sorry for the inconvenience it may bring.

    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
    Marco1
    Marco1Author
    Associate III
    Mar 24, 2017 2:50 PM UTC
    Posted on March 24, 2017 at 14:50

    Ok, please fix also problem of TimeBase for freertos.

    Sirma Siang
    Sirma SiangBest answer
    ST Employee
    Apr 28, 2017 9:39 AM UTC
    Posted on April 28, 2017 at 11:39

    Hello marco,

    I confirm that the clock issue has been corrected in the latest cubeMx version 4.20.1.

    Could you plese upgrade to this version ?

    Kind regards

    Sirma

    Sirma Siang
    ST Employee
    Jul 7, 2017 9:51 AM UTC
    Posted on July 07, 2017 at 11:51

    Hello

    Origa.Marco

    ,

    I tested on CubeMX version 4.22, and I confirm freertos warning is well displayed.

    This version will be available in few days from now.

    Kind regards

    Sirma