ESP32C3何时发布支持I2S的版本?
Posted: Tue Jul 06, 2021 8:06 am
目前使用ESP32-C3芯片开发音频产品,但目前V4.3版本不支持I2S接口. 预计什么时候可以发布支持I2S的版本?
相关BUG正在修复中
Code: Select all
void i2s_hal_tx_clock_config(i2s_hal_context_t *hal, uint32_t sclk, uint32_t fbck, int factor)
{
i2s_ll_clk_cal_t clk_set = {
.mclk_div = 1,
.bck_div = 1,
.a = 1,
.b = 0
};
i2s_ll_tx_set_clk(hal->dev, &clk_set);
}
void i2s_hal_rx_clock_config(i2s_hal_context_t *hal, uint32_t sclk, uint32_t fbck, int factor)
{
i2s_ll_clk_cal_t clk_set = {
.mclk_div = 1,
.bck_div = 1,
.a = 1,
.b = 0
};
i2s_ll_rx_set_clk(hal->dev, &clk_set);
}