git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@10178 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2017-04-25 08:10:38 +00:00
parent 2975e66c04
commit 5e5afbbe34
3 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,6 @@ void stm32_clock_init(void) {
#if STM32_ACTIVATE_PLLSAI
/* PLLSAI activation.*/
RCC->PLLSAICFGR = STM32_PLLSAIN | STM32_PLLSAIR | STM32_PLLSAIQ;
RCC->DCKCFGR = (RCC->DCKCFGR & ~RCC_DCKCFGR_PLLSAIDIVR) | STM32_PLLSAIR_POST;
RCC->CR |= RCC_CR_PLLSAION;
/* Waiting for PLL lock.*/

View File

@ -246,7 +246,7 @@ void stm32_clock_init(void) {
/* PLLSAI activation.*/
RCC->PLLSAICFGR = STM32_PLLSAIR | STM32_PLLSAIQ | STM32_PLLSAIP |
STM32_PLLSAIN;
RCC->CR |= RCC_CR_PLLSAION;
RCC->CR |= RCC_CR_PLLSAION;
/* Waiting for PLL lock.*/
while (!(RCC->CR & RCC_CR_PLLSAIRDY))

View File

@ -73,6 +73,7 @@
*****************************************************************************
*** 16.1.8 ***
- HAL: Fixed invalid constant in STM32F4 PLLSAI initialization code (bug #834).
- HAL: Fixed STM32 OTGv1 number of endpoints (bug #833).
- HAL: Fixed transaction end problem with STM32 OTGv1 driver (bug #832).
- HAL: Fixed wrong comment in STM32F7 mcuconf (bug #830).