Skip to content

I2S example seems not working (GIT8266O-815) #1238

@skyh

Description

@skyh

Environment

  • Development Kit: NodeMCU
  • IDF version: af0cdc36
  • Development Env: terminal + make
  • Operating System: MacOS
  • Power Supply: USB

Physical Setup

IMG_2624

Problem Description

No I2S data output when running i2s example (compiled and flashed correctly)

Expected Behavior

I2S data available on pins GPIO_NUM_{4,2,15,3}

Actual Behavior

No I2S signal, only MCLK. This is how it looks in DSView (I added a delay before main loop to see when MCLK starts)

image

(closer look)

image

Steps to reproduce

  1. Compile and flash I2S example from examples/peripherals/i2s
  2. Connect logic analyzer to pins 4, 2, 15, 3
  3. Run make monitor
  4. the terminal output should be like this

image

Code to reproduce this issue

Use examples/peripherals/i2s

Debug Logs

I (178) esp_image: segment 1: paddr=0x00029290 vaddr=0x40229288 size=0x05dec ( 24044) map
I (186) esp_image: segment 2: paddr=0x0002f084 vaddr=0x3ffe8000 size=0x003e0 (   992) load
I (189) esp_image: segment 3: paddr=0x0002f46c vaddr=0x40100000 size=0x00080 (   128) load
I (203) esp_image: segment 4: paddr=0x0002f4f4 vaddr=0x40100080 size=0x04b88 ( 19336) load
I (222) boot: Loaded app from partition at offset 0x10000
I (252) i2s: DMA Malloc info, datalen=blocksize=1024, dma_buf_count=6
I (6323) i2s: DMA Malloc info, datalen=blocksize=2048, dma_buf_count=6
I (12354) i2s: DMA Malloc info, datalen=blocksize=1024, dma_buf_count=6
I (18385) i2s: DMA Malloc info, datalen=blocksize=2048, dma_buf_count=6
I (24415) i2s: DMA Malloc info, datalen=blocksize=1024, dma_buf_count=6
I (30447) i2s: DMA Malloc info, datalen=blocksize=2048, dma_buf_count=6
I (36476) i2s: DMA Malloc info, datalen=blocksize=1024, dma_buf_count=6
I (42508) i2s: DMA Malloc info, datalen=blocksize=2048, dma_buf_count=6

... (etc)

Other items if possible

  • sdkconfig file (attach the sdkconfig file from your project folder)
  • elf file in the build folder (note this may contain all the code details and symbols of your project.)
  • coredump (This provides stacks of tasks.)

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