Missing I2S PLL divisors on STM32F7 Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
geebee
Posts: 33
Joined: Thu Dec 06, 2018 10:22 pm
Has thanked: 4 times
Been thanked: 15 times

Missing I2S PLL divisors on STM32F7  Topic is solved

Postby geebee » Thu Dec 06, 2018 10:35 pm

On 18.2 (but also seems to be the case in the most recent revision), I believe this line in os/hal/ports/STM32/STM32F7xx/hal_lld.c

Code: Select all

  RCC->PLLI2SCFGR = STM32_PLLI2SR | STM32_PLLI2SN;


Should also include the bits for the Q and P divisors, similarly to the SAI initialization below, something like

Code: Select all

  RCC->PLLI2SCFGR = STM32_PLLI2SR | STM32_PLLI2SQ | STM32_PLLI2SP | STM32_PLLI2SN;


The macros are already defined and verified in hal_lld.h.

GB

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Missing I2S PLL divisors on STM32F7

Postby Giovanni » Sat Dec 08, 2018 10:12 am

Hi,

Fixed as bug #992.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 26 guests