STMicroelectronics / cmsis_device_f4

Provides the STM32Cube MCU Component "cmsis_device_f4" of the STM32F4 series.
Apache License 2.0
56 stars 24 forks source link

stm32f412cx: lack of MCO2 bits definition #9

Closed niedzwiecki-dawid closed 5 months ago

niedzwiecki-dawid commented 7 months ago

According to RM0402, all STM32F412 chips can configure MCO2 in RCC_CFGR register.

The stm32f412cx.h header doesn't have the definition of MCO2 bits. I guess it is done this way because all stm32f412cx chips are in UFQFPN48 package, which doesn't have PC9 pin (MCO2 pin).

The problem is that changing the MCO2 source clock(to a clock that is disabled) reduces power consumption.

Wouldn't it make sense to define the MCO2 bits for all STM32F412 bit despite the fact the PC9 pin is not present?

niedzwiecki-dawid commented 6 months ago

Is there any plan to take care of this issue?

TOUNSTM commented 6 months ago

ST Internal Reference: 170618

TOUNSTM commented 5 months ago

Fixed in commit 2e1724e592931693ce4dfc43e2fd6b3bc375d6a0

niedzwiecki-dawid commented 5 months ago

Thanks.