Re: I2S driver for ESP32 is not working [IDFGH-5854]
Posted: Tue Nov 23, 2021 7:17 am
Dear L-KAYA,
I have the result of your provided code. I did not change anything in your configuration. However, still I am getting missing sample in data.
Following are the log message from my device.
Let me know if you need any kind of information.
Looking forward to hearing from you soon.
I have the result of your provided code. I did not change anything in your configuration. However, still I am getting missing sample in data.
Following are the log message from my device.
Code: Select all
W (28) bootloader_random: RNG for ESP32-S3 not currently supported
W (79) bootloader_random: RNG for ESP32-S3 not currently supported
I (86) cpu_start: Pro cpu up.
I (86) cpu_start: Starting app cpu, entry point is 0x403790a4
I (0) cpu_start: App cpu up.
I (100) cpu_start: Pro cpu start user code
I (100) cpu_start: cpu freq: 240000000
I (100) cpu_start: Application information:
I (103) cpu_start: Project name: rap_mlm
I (108) cpu_start: App version: 42db5bd-dirty
I (113) cpu_start: Compile time: Nov 19 2021 16:05:35
I (119) cpu_start: ELF file SHA256: 9e1767beb838d6b9...
I (125) cpu_start: ESP-IDF: v4.4-dev-3235-g3e370c4296-dirty
I (132) heap_init: Initializing. RAM available for dynamic allocation:
I (139) heap_init: At 3FC97C70 len 00048390 (288 KiB): D/IRAM
I (146) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
I (152) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (159) spi_flash: detected chip: generic
I (163) spi_flash: flash io: dio
I (168) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (201) mlm_main: Initializing SPIFFS
I (508) mlm_main: Partition size: total: 4811921, used: 49196
I (508) mlm_main: Command history enabled
GDMA is supported
new rx channel (0,0) at 0x3fce17e8bytes_per_sample = 4,bytes_per_frame = 8
I (517) I2S: queue free spaces: 2
bytes_per_sample = 4,bytes_per_frame = 8
buf_size = 1600
I (526) I2S: DMA Malloc info, datalen=blocksize=1600, dma_buf_count=8
I (533) I2S: I2S0, MCLK output by GPIO18
I (538) rap_adc: Opening new file
Filename: /spiffs/adc.wav
i2s_read block time: 7862 us
i2s_read block time: 11607 us
i2s_read block time: 12259 us
i2s_read block time: 23 us
i2s_read block time: 21 us
i2s_read block time: 103 us
i2s_read block time: 21 us
i2s_read block time: 103 us
i2s_read block time: 22 us
i2s_read block time: 102 us
i2s_read block time: 21 us
i2s_read block time: 102 us
i2s_read block time: 21 us
I (1258) rap_adc: Recording done!
I (1259) rap_adc: File written on SDCardLooking forward to hearing from you soon.