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_HSIRCC.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 !
