STM32CubeF0
STM32CubeF0 copied to clipboard
Question about the HSI48RDY bit in RCC->CR2
Caution The Issues are strictly limited for the reporting of problem encountered with the software provided in this project. For any other problem related to the STM32 product, the performance, the hardware characteristics and boards, the tools the environment in general, please post a topic in the ST Community/STM32 MCUs forum.
Describe the set-up
- STM32F072xb
- arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release)
Additional context
This is a duplicate of stm32f0xx_hal_driver#5. RCC_CR2_HSI48RDY_BitNumber
is now set to16:
https://github.com/STMicroelectronics/STM32CubeF0/blob/830a0e950d421c17abff57a2ea1e977870355519/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h#L106
But bit 16 is HSI48ON
:
https://github.com/STMicroelectronics/STM32CubeF0/blob/830a0e950d421c17abff57a2ea1e977870355519/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f072xb.h#L8173-L8175
And RCC_CR2_HSI48RDY_BitNumber
should be set to 17:
https://github.com/STMicroelectronics/STM32CubeF0/blob/830a0e950d421c17abff57a2ea1e977870355519/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f072xb.h#L8176-L8178
Screenshots