cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in Cube_F7_1.6 stm32f7xx_hal_rcc.c

john doe
Lead
Posted on March 27, 2017 at 05:51

Bug in Cube_F7_1.6 stm32f7xx_hal_rcc.c

HAL_RCC_GetOscConfig(); does not populate RCC_OscInitStruct.PLL.PLLR with a value under any circumstance.

It should have a value between 2 and 7 if defined (STM32F765xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx)

5 REPLIES 5
john doe
Lead
Posted on March 27, 2017 at 15:27

RCC_PLLR_DIV_2 through _DIV_7 are not defined in stm32f7xx_hal_rcc.h, either.

Khouloud GARSI
Lead II
Posted on March 27, 2017 at 17:17

Hi

doe.john.016

,

Your feedback is reported for check. We will keep you posted about any update.

Thanks a lot for your contribution to the enhancement of our STM32 resources.

Khouloud.

john doe
Lead
Posted on March 28, 2017 at 14:51

these work if pllr is defined

((RCC->PLLCFGR) & RCC_PLLCFGR_PLLR) >> 28

((RCC->PLLCFGR) & 0x70000000) >> 28

Khouloud GARSI
Lead II
Posted on March 28, 2017 at 16:49

Hi

doe.john.016

,

Your feedback is forwarded to the appropriate team. This will be fixed in the coming version.

Thanks a lot for highlighting this .

Khouloud.

Khouloud GARSI
Lead II
Posted on September 26, 2017 at 15:37

Hi John,

The issue is fixed in

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef7.html

.

Again, many thanks for bringing this to our attention  .

Khouloud.