Search found 3 matches

by esp32S3
Thu Aug 10, 2023 1:20 am
Forum: General Discussion
Topic: Advise on A/D converter sampling at 40khz
Replies: 3
Views: 824

Re: Advise on A/D converter sampling at 40khz

I was able to get the I2S working more like SPI, without having to skip every other word.
by esp32S3
Wed Aug 09, 2023 11:53 am
Forum: General Discussion
Topic: Advise on A/D converter sampling at 40khz
Replies: 3
Views: 824

Re: Advise on A/D converter sampling at 40khz

thanks for the ideas. I got it working (sort of) using I2S. I used the WS signal as my CS.
The only downside is WS goes low for left channel, and then high for the right. When I am done sampling I just chuck out every other word from the sample buffer.
by esp32S3
Tue Aug 08, 2023 2:07 pm
Forum: General Discussion
Topic: Advise on A/D converter sampling at 40khz
Replies: 3
Views: 824

Advise on A/D converter sampling at 40khz

Using an ESP32-S3 I need to sample a voltage at 40khz. I am using an ADS7822 A/D converter via SPI.
https://www.ti.com/product/ADS7822

I am seeking advise on how I could read this data into a DMA buffer behind the scenes without starving my 2 cores for CPU time.


Any ideas welcome.