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