Page 1 of 1

ESP-IDF 5.1.2, i2s_std.h, unable to control I2S data transmission end

Posted: Sat Dec 16, 2023 10:47 pm
by wangnick
Dear all,

whether sending I2S data synchronously (using i2s_channel_enable, i2s_channel_write, i2s_channel_disable) or asynchronously (using i2s_channel_preload_data, i2s_channel_enable, on_sent ISR callback, i2s_channel_disable), it seems that in both cases my I2S transmissions are cut short.

I suspect that this is caused by i2s_channel_disable() shutting down the I2S hardware whilst there is still data in the I2S hardware FIFO.

I have some demo code and logic analyzer traces to support my findings.

Can you please check?

Kind regards,
Sebastian