Skip to content

microphone is not working in ESP32_LyraT-Mini_V1.2 (AIS-2145) #166

@rrahul2464

Description

@rrahul2464

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I used ESP32_LyraT-Mini_V1.2 for voice detection but mic is not working

Actual behavior (suspected bug)

I am using esp-skainet version v0.3.0 and the master branch and have tested both the wake_word_detection and get_started examples. However, I am unable to detect any sound from the microphone.

In the configuration menu, the board ESP32_LyraT-Mini_V1.2 is not listed, so I selected ESP32_LyraT-Mini_V1.1 instead. Since both versions appear to be identical, I assumed this would be fine.

Could you please confirm if there are any additional changes or configurations I need to make to properly support the V1.2 board?

Error logs or terminal output

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_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:0x3fff0018,len:4
load:0x3fff001c,len:6956
load:0x40078000,len:13020
ho 0 tail 12 room 4
load:0x40080400,len:7056
entry 0x40080720
I (65) boot: Chip Revision: 3
I (71) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (42) boot: ESP-IDF v3.3.1 2nd stage bootloader
I (42) boot: compile time 23:51:07
I (42) boot: Enabling RNG early entropy source...
I (46) qio_mode: Enabling default flash chip QIO
I (52) boot: SPI Speed      : 80MHz
I (56) boot: SPI Mode       : QIO
I (60) boot: SPI Flash Size : 8MB
I (64) boot: Partition Table:
I (67) boot: ## Label            Usage          Type ST Offset   Length
I (75) boot:  0 factory          factory app      00 00 00010000 003c0000
I (82) boot:  1 nvs              WiFi data        01 02 003d0000 00004000
I (90) boot: End of partition table
I (94) boot_comm: chip revision: 3, min. application chip revision: 0
I (101) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1d8cd8 (1936600) map
I (611) esp_image: segment 1: paddr=0x001e8d00 vaddr=0x3ffb0000 size=0x01f30 (  7984) load
I (614) esp_image: segment 2: paddr=0x001eac38 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at /home/rahul/esp/esp-skainet/esp-idf/components/freertos/xtensa_vectors.S:1779

I (618) esp_image: segment 3: paddr=0x001eb040 vaddr=0x40080400 size=0x04fd0 ( 20432) load
I (633) esp_image: segment 4: paddr=0x001f0018 vaddr=0x400d0018 size=0x27098 (159896) map
0x400d0018: _flash_cache_start at ??:?

I (677) esp_image: segment 5: paddr=0x002170b8 vaddr=0x400853d0 size=0x07654 ( 30292) load
0x400853d0: i2c_hw_fsm_reset at /home/rahul/esp/esp-skainet/esp-idf/components/driver/i2c.c:1134

I (695) boot: Loaded app from partition at offset 0x10000
I (695) boot: Disabling RNG early entropy source...
I (695) psram: This chip is ESP32-D0WD
I (700) spiram: Found 64MBit SPI RAM device
I (704) spiram: SPI RAM mode: flash 80m sram 80m
I (710) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (717) cpu_start: Pro cpu up.
I (720) cpu_start: Application information:
I (725) cpu_start: Project name:     esp-idf
I (730) cpu_start: App version:      v0.3.0
I (735) cpu_start: Compile time:     Sep 20 2025 23:34:31
I (741) cpu_start: ELF file SHA256:  9f75fa4c05940d3d...
I (747) cpu_start: ESP-IDF:          v3.3.1
I (752) cpu_start: Starting app cpu, entry point is 0x40081170
0x40081170: call_start_cpu1 at /home/rahul/esp/esp-skainet/esp-idf/components/esp32/cpu_start.c:269

I (0) cpu_start: App cpu up.
I (1239) spiram: SPI SRAM memory test OK
I (1240) heap_init: Initializing. RAM available for dynamic allocation:
I (1240) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1246) heap_init: At 3FFB3048 len 0002CFB8 (179 KiB): DRAM
I (1253) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1259) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1265) heap_init: At 4008CA24 len 000135DC (77 KiB): IRAM
I (1272) cpu_start: Pro cpu start user code
I (1277) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (178) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (179) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (179) I2S: DMA Malloc info, datalen=blocksize=600, dma_buf_count=3
I (189) I2S: DMA Malloc info, datalen=blocksize=600, dma_buf_count=3
I (199) I2S: APLL: Req RATE: 16000, real rate: 15999.986, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 4095996.500, SCLK: 511999.562500, diva: 1, divb: 0
I (209) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (219) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (229) I2S: PLL_D2: Req RATE: 16000, real rate: 16025.000, BITS: 16, CLKM: 39, BCK: 8, MCLK: 4096000.000, SCLK: 512800.000000, diva: 64, divb: 4
I (239) DRV8311: Enter into es8311_Codec_Startup()

I (249) DRV8311: ES8311 in Slave mode

I (249) DRV8311: Enter into es8311_pcm_hw_params()

I (269) DRV8311: Exit es8311_Codec_Startup()

I (269) DRV8311: ES8311 in I2S Format
I (279) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (279) DRV8311: SET: volume:153

I (279) MEDIA_HAL: I2S_OUT_VOL_DEFAULT[60]
I (289) MEDIA_HAL: CONFIG_CODEC_CHIP_IS_ES8311
Quantized wakeNet5: wakeNet5_v1_hilexin_5_0.95_0.90, mode:0 (Mar 30 2020 20:16:38)
Quantized MN1_2 (Mar 31 2020 14:48:24)
SHIFT: 8, 11, 17, 17, 17, 17, 7, 16, 14, 12, 
I (309) MN: ---------------------SPEECH COMMANDS---------------------
I (309) MN: Command ID0, phrase 0: T ER N AA N DH AH L AY T
I (319) MN: Command ID1, phrase 1: T ER N AO F DH AH L AY T
I (329) MN: Command ID2, phrase 2: L AY T IH NG M OW D
I (329) MN: Command ID3, phrase 3: R EH D IH NG M OW D
I (339) MN: Command ID4, phrase 4: R EH D M OW D
I (339) MN: Command ID5, phrase 5: B L UW M OW D
I (349) MN: Command ID6, phrase 6: Y EH L OW M OW D
I (359) MN: ---------------------------------------------------------

-----------awaits to be waken up-----------
chunk_num = 200

Steps to reproduce the behavior

flash command: idf.py flash monitor
and observed the log

Project release version

v0.3.0 and master

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Ubuntu 22.04

Shell

ZSH

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions