Skip to main content
Marco1
Associate III
March 24, 2017
Solved

CubeMx 4.20.0 and oscillator problem

  • March 24, 2017
  • 4 replies
  • 836 views
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.
    Best answer by Sirma Siang
    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
    March 24, 2017
    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
    March 24, 2017
    Posted on March 24, 2017 at 14:50

    Ok, please fix also problem of TimeBase for freertos.

    Sirma Siang
    Sirma SiangBest answer
    ST Employee
    April 28, 2017
    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
    July 7, 2017
    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