Skip to main content
hjh
Associate III
September 24, 2020
Question

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

  • September 24, 2020
  • 2 replies
  • 1738 views

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

This topic has been closed for replies.

2 replies

hjh
hjhAuthor
Associate III
September 24, 2020

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

TDK
September 24, 2020

> 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""."