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

wangnick
Posts: 5
Joined: Tue Dec 12, 2023 6:27 pm

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

Postby wangnick » Sat Dec 16, 2023 10:47 pm

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

Who is online

Users browsing this forum: MicroController and 106 guests