Search found 4 matches

by bluesceada
Thu Jan 17, 2019 10:04 am
Forum: Hardware
Topic: Faster ADC Reading
Replies: 12
Views: 40475

Re: Faster ADC Reading

*Bump* Is there still no progress on this? So a simple application example would be: I want to press a button (let's say a variable is set from 0 to 1) and from that on it starts recording audio with the ADC. Then it should either stop after the buffer is full or the button is pressed again, whateve...
by bluesceada
Thu Oct 04, 2018 10:04 am
Forum: Hardware
Topic: Faster ADC Reading
Replies: 12
Views: 40475

Re: Faster ADC Reading

Thanks for some of the clarifications, but other things are still open, maybe someone else can help who knows more of the details? For my understanding, the following code should sample as many samples as half of i2s_read_len (because .bits_per_sample is set to 16): <snip> But somehow it takes way t...
by bluesceada
Mon Oct 01, 2018 12:57 pm
Forum: Hardware
Topic: Faster ADC Reading
Replies: 12
Views: 40475

Re: Faster ADC Reading

Okay, so you probably mean examples/peripherals/i2s_adc_dac ? Then main/app_main.c , function example_i2s_adc_dac ? Is that right? I can't seem to get it to work in my isolated case, maybe you can clarify where I should look? For my understanding, the following code should sample as many samples as ...
by bluesceada
Fri Sep 28, 2018 8:57 am
Forum: Hardware
Topic: Faster ADC Reading
Replies: 12
Views: 40475

Re: Faster ADC Reading

Any news on the ADC DIG SAR Mode? In my experiments I could sample the ADC faster (at about 104kHz for ADC1 and 98kHz for ADC2) using the ULP rather than main core(s), with this loop: // ... move r0, adc_data measure: adc r2, 0, adc_channel + 1 st r2,r0,0 add r0, r0, 1 jumpr measure, adc_data+ADC_WO...