i2s dma single send or run-time buffer update

Earplugs8774
Posts: 1
Joined: Wed May 08, 2024 10:18 am

i2s dma single send or run-time buffer update

Postby Earplugs8774 » Wed May 08, 2024 10:33 am

Hi there,
I am using i2s legacy to send a defined pattern of data out of i2s DOUT. The packet is 216 bytes long.
I need to change the packet at runtime with a frequency between 5ms and 10ms.
When I try to use the i2s_write function it occasionally results in a corrupted DOUT.
There are a couple of solutions that could solve my problem:
- Send a single packet each time I need it. How is the driver supposed to manage a single shot transmission?
- refresh the buffer without packet corruption. How is the driver supposed to manage a run-time update of the buffer?

Thanks

Who is online

Users browsing this forum: No registered users and 77 guests