You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that information about clocks for Bl616/618 for i2s is not full. And examples in sdk are not understandable and contain some mistakes.
According to scheme i2s and audio must have same input frequency,but frequencies are different, why? And what value of divider have "aupll_other" got?
In examples code set divider after 24.576, but how to set divider before?
GLB_Config_AUDIO_PLL_To_491P52M();
GLB_PER_Clock_UnGate(GLB_AHB_CLOCK_AUDIO);
/*!< output MCLK,
Will change the clock source of i2s,
It needs to be called before i2s is initialized
clock source 24.576M */
/*!< MCLK = 24.576 / (5+1) = 4.096MHz */
GLB_Set_I2S_CLK(ENABLE, 5, GLB_I2S_DI_SEL_I2S_DI_INPUT, GLB_I2S_DO_SEL_I2S_DO_OUTPT);
GLB_Set_Chip_Clock_Out3_Sel(GLB_CHIP_CLK_OUT_3_I2S_REF_CLK);
there is no information about that and api .What does "DI_INPUT" mean?
In ref manual I see values 24.576/24 Mhz
In other examples in some places I see value 25 Mhz.
Where do these values come from?
/* output MCLK,
Will change the clock source of i2s,
It needs to be called before i2s is initialized
clock source 25M
*/
GLB_Set_I2S_CLK(ENABLE, 2, GLB_I2S_DI_SEL_I2S_DI_INPUT, GLB_I2S_DO_SEL_I2S_DO_OUTPT);
GLB_Set_Chip_Clock_Out3_Sel(GLB_CHIP_CLK_OUT_3_I2S_REF_CLK);
The text was updated successfully, but these errors were encountered:
I think that information about clocks for Bl616/618 for i2s is not full. And examples in sdk are not understandable and contain some mistakes.
According to scheme i2s and audio must have same input frequency,but frequencies are different, why? And what value of divider have "aupll_other" got?
In examples code set divider after 24.576, but how to set divider before?
there is no information about that and api .What does "DI_INPUT" mean?
In ref manual I see values 24.576/24 Mhz
In other examples in some places I see value 25 Mhz.
Where do these values come from?
The text was updated successfully, but these errors were encountered: