Page 1 of 1
EXTERNAL_CLOCK_VALUE
Posted: Tue Jun 28, 2022 8:07 am
by Firas_Baccouri
Hell guys ,
Is there anyone who have an idea about the utility of that variable EXTERNAL_CLOCK_VALUE , it is defined in the stm32f4xx_hal_conf.h and stm32f7xx_hal_conf.j for some boards .
Re: EXTERNAL_CLOCK_VALUE
Posted: Tue Jun 28, 2022 3:22 pm
by jimmo
Firas_Baccouri wrote: ↑Tue Jun 28, 2022 8:07 am
Is there anyone who have an idea about the utility of that variable EXTERNAL_CLOCK_VALUE , it is defined in the stm32f4xx_hal_conf.h and stm32f7xx_hal_conf.j for some boards .
Code: Select all
/**
* @brief External clock source for I2S peripheral
* This value is used by the I2S HAL module to compute the I2S clock source
* frequency, this source is inserted directly through I2S_CKIN pad.
*/
It's used by the STM HAL, and doesn't actually need to be set as this value (12288000 = 256x48000) is the default in the HAL anyway.