Page 1 of 1

Using I2S events

Posted: Sun Jul 14, 2024 1:44 am
by noweare
Hopefully a simple question here.

I am writing an audio file to I2S TX buffer which drives the DAC output.

The audio file is being sent succesfully as expected.

I set up an queue to to notify me when any I2S events occur.

I am writing 4092 bytes to the I2S TX buffer which is also 4092 bytes in length and there are two of them.

When each buffer sends its data to the DAC should a I2S_EVENT_TX_DONE event happen ?

I have coded this concept but I am not getting the I2S_EVENT_TX_DONE event via the queue.

My goal is to use events to synchronize my data both on the RX and TX side.

Thank you and happy computing.