2015-06-25 01:58 AM
I use the STM32CubeMX 4.8 version and update the firmware package for Family STM32F4 1.6.0.
However, the source code of the library is 1.3.1. I also use the STM32CubeF4 1.6.0 but it is the same version of STM32CubeMX 4.8. TheSTM32F4 DSP and standard peripherals library
is currently 1.5.1. Why the difference is occured between the libraries? Moreover, the STM32CubeF4 1.6.0 library has clock configuration bug. I hope this problem would be solved as soon as possible. #config #clock #bug #stm32cubemx #stm32cubef42015-06-25 07:55 AM
2015-06-25 08:06 PM
1. The ''Release_Notes.html'' of STM32Cube_FW_F4_V1.6.0 library notice the version
(\STM32Cube_FW_F4_V1.6.0\Drivers\STM32F4xx_HAL_Driver\Release_Notes.html) Moreover, the description of the library's source code show the version at the top. 2. I got the version difference of between the CubeMX library and Standard Peripheral library. 3. The clock configuration bug. 26MHz HSE but the HAL_RCC_GetHCLKFreq() in the SystemClock_Config() does not display the 180MHz. The SystemClock_Config() function in the main() should configure correctly. However, the watch result is wrong. (The other hands, the result of using Standard library shows 180MHz)2015-06-25 10:18 PM
Obviously, this is the bug of STM32CubeMX clock generation.
I upload the 2 files. - the original generated system_stm32f4xx.c file - the modifiedsystem_stm32f4xx.c file There are no clock setting code in the SysInit() function. SetSysClock() function is omitted in the generated code. ________________ Attachments : system_stm32f4xx_modified.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzSV&d=%2Fa%2F0X0000000bM6%2F_puwMpPY.Ai3LO25.9ZbzGoek15zTxPaCazkb899vcE&asPdf=falsesystem_stm32f4xx_original.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzSQ&d=%2Fa%2F0X0000000bM7%2F9vX6c9Qk8WI.43DtWykIbDCgpO4F5TbPrHWHtjm6fJA&asPdf=false