Search found 4 matches

by palmerr23
Thu Jan 19, 2023 2:58 am
Forum: General Discussion
Topic: 24-bit I2S BCLK/LRCLK issue
Replies: 0
Views: 866

24-bit I2S BCLK/LRCLK issue

I'm having difficulty getting LRCLK and BCLK correct with 24-bit I2S. With 48k sample rate I'm getting the correct MCLK (12.288) however LRCLK is around 51 kHz, BCLK is correctly aligned to LRCLK. At 44.1KHz same issue with LRCLK close to 47kHz. The issue occurs on both an S3 and a traditional ESP32...
by palmerr23
Fri Jan 13, 2023 3:57 am
Forum: ESP32 Arduino
Topic: How to upload "data" to an ESP32 under Arduino 2.0
Replies: 11
Views: 19141

Re: How to upload "data" to an ESP32 under Arduino 2.0

I have written a utility to overcome this issue

https://github.com/palmerr23/ESP32-OTA-and-File-Manager

It provides a web-based interface for
* OTA
* File system formatting
* FS directory listing
* File uploading
* File editing
* File deletion
by palmerr23
Fri Mar 05, 2021 10:49 pm
Forum: General Discussion
Topic: I2S - detect empty DMA queue
Replies: 3
Views: 6086

Re: I2S - detect empty DMA queue

KA101, I solved the problem in a different way. When installing the I2S driver, there's an option to create an event queue, which flags TX_DONE (or RX_DONE). I then created an xTask that sampled the queue, processing an I2S buffer each time the queue indicated one was completed. To make sure I wasn'...
by palmerr23
Mon Feb 22, 2021 4:14 am
Forum: General Discussion
Topic: I2S - detect empty DMA queue
Replies: 3
Views: 6086

I2S - detect empty DMA queue

Hi (newbie here), I'm working on a project that inputs audio packets via UDP (VBAN protocol) and outputs them to an external I2S DAC. It's working fine, other than occasional crackles. I suspect that I'm suffering DMA buffer underrun, but don't know a way to detect when the I2S/DMA has run out of fr...