Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2s adc #2309

Merged
merged 3 commits into from
Jan 22, 2019
Merged

I2s adc #2309

merged 3 commits into from
Jan 22, 2019

Conversation

lbernstone
Copy link
Contributor

@lbernstone lbernstone commented Jan 11, 2019

Use both readings in buffer.
Simplified the math.
Created a global variable to hold the collected result (should make it easier to integrate)

@me-no-dev me-no-dev merged commit fa6f759 into espressif:master Jan 22, 2019
@freemind64
Copy link

whats the sample rate in this example ?

@Globefishp
Copy link

Globefishp commented Jun 3, 2022

Sorry but in ESP32 Arduino2.0.2 this code can no longer use on my ESP32-WROOM. the Serial Output Says that:

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:12804
ho 0 tail 12 room 4
load:0x40080400,len:3032
entry 0x400805e4
Output frequency: 78125

assert failed: xQueueGenericSend queue.c:832 (pxQueue->pcHead != ((void *)0) || pxQueue->u.xSemaphore.xMutexHolder == ((void *)0) || pxQueue->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle())


Backtrace:0x4008305d:0x3ffb2dc00x40087e4d:0x3ffb2de0 0x4008cc65:0x3ffb2e00 0x40088642:0x3ffb2f30 0x400845ee:0x3ffb2f70 0x400846a9:0x3ffb2fa0 0x400d6e12:0x3ffb2fc0 0x400d2d76:0x3ffb2ff0 0x400d12e7:0x3ffb3020 




ELF file SHA256: 0000000000000000

Could you please help me figure out this question? I'm new to ESP32 on Arduino, so I just want to study ADC with DMA by look through the example program.

@lbernstone
Copy link
Contributor Author

This is not the place to bring up issues. Please fill out an issue report. Be sure to decode the backtrace for that report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants