cancel
Showing results for 
Search instead for 
Did you mean: 

How to change HAL_RCC_MCOConfig(RCC_MCO1, RCC_MCO1SOURCE_HSI, RCC_MCODIV_1);

hjh
Associate III

Hi

I have to migrate a project from cubemx 1.3.2 ioc to 1.8.0 ioc ...

In the generated systemclock_config there is a line

HAL_RCC_MCOConfig(RCC_MCO1, RCC_MCO1SOURCE_HSI, RCC_MCODIV_1);

if so the i2c2 do not work but if modified

HAL_RCC_MCOConfig(RCC_MCO1, RCC_MCO1SOURCE_HSI, RCC_MCODIV_4);

then it do work

Where to set the RCC_MCODIV_X ... here where i put the arrow i can just put it on and off

Please help ...i do not understand ;o)0693W000004H3O6QAK.png

2 REPLIES 2
hjh
Associate III

found the solution my self ..but can not delete the posts ..

TDK
Guru

> found the solution my self ..but can not delete the posts ..

Consider providing the solution so that other people who see the post can find the answer. And then mark that post as the best answer.

If you feel a post has answered your question, please click "Accept as Solution".