Using I2S events

noweare
Posts: 79
Joined: Tue Jul 02, 2019 11:35 am

Using I2S events

Postby noweare » Sun Jul 14, 2024 1:44 am

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.

Who is online

Users browsing this forum: No registered users and 126 guests