EXTERNAL_CLOCK_VALUE

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
Firas_Baccouri
Posts: 35
Joined: Wed Apr 27, 2022 7:22 am

EXTERNAL_CLOCK_VALUE

Post by Firas_Baccouri » Tue Jun 28, 2022 8:07 am

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 .

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: EXTERNAL_CLOCK_VALUE

Post by jimmo » Tue Jun 28, 2022 3:22 pm

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.

Post Reply