Search found 3 matches

by lockfield
Wed May 12, 2021 3:07 am
Forum: Hardware
Topic: ADC catch 1kHz noise caused by ESP32
Replies: 1
Views: 4044

ADC catch 1kHz noise caused by ESP32

Hey guys,

I'm trying to use the ADC on ESP32. The ADC is directly connected to a LPV321n amplifier on the same PCB with ESP32. The amplifier gives a bias for input signal. Only a LDO circuit, an op amp circuit and an ESP32-WROVER-E are on the PCB.

When ESP32 works, the ADC catch a 1kHz noise as ...
by lockfield
Tue Mar 09, 2021 8:31 am
Forum: ESP-IDF
Topic: Wired ADC Signal when using I2S DMA
Replies: 0
Views: 1814

Wired ADC Signal when using I2S DMA

Hi guys,

I was trying to use ADC for super fast sampling with I2S and DMA. The I2S config is as below:

void i2sInit()
{
i2s_config_t i2s_config = {
.mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX | I2S_MODE_ADC_BUILT_IN),
.sample_rate = 400000,
.bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT ...
by lockfield
Sat Feb 27, 2021 10:10 am
Forum: ESP32 Arduino
Topic: How to get the exact time of ADC samples while using I2S DMA?
Replies: 0
Views: 1699

How to get the exact time of ADC samples while using I2S DMA?

Hi guys,

I'm trying to use ADC to sample a pulse signal with about 200kHz. It seems that the only way is to use I2S with DMA in such a high frequency.
However, in my understanding, ADC will continuously writing the DMA buffer automatically, and then we call I2s_read() to read the DMA buffer. So ...

Go to advanced search