Issues with ESP-ADF examples, MAX98357A and SD card

crispmfc
Posts: 1
Joined: Sat Aug 26, 2023 12:19 pm

Issues with ESP-ADF examples, MAX98357A and SD card

Postby crispmfc » Sat Aug 26, 2023 12:21 pm

Hello, I am a beginner/intermediate studying IDF for a few months, but there is something in particular that has been very difficult for me. I would like to read .mp3 music files on the SD card and play them using an I2S MAX98357A dac and speaker. I would appreciate any help, I like studying this and teamwork, so I will do my best until I achieve it.

Hardware: ESP32 S3 Mini (ESP32-S3-DevKitM-1), MAX98357A and SD card. Software: ESP-IDF v5.1.1, ESP-ADF v2.6, Windows 11, Espressif IDE. S3 IO pins: sdcard cs 0, sck 1, mosi 2, miso 3. Max98357a dout 9, bclk 10, lrc 11.

I have managed to play mp3 in Arduino Framework using ESP32-AudioI2S, but in ESP-IDF with ESP-ADF I have had several problems: I can't find the way to assign the I2S pins for MAX98357A, nor the SPI pins for SD card, nor do I know if that is really the right way. I have tried many solutions, like assigning pins (seeing examples, chatgpt, etc), looking for examples on the internet to try different things, generated many codes with chatgpt, searched for info in IDF documentation, ADF, tutorials and courses. Although the code compiles, the result is the same. With libhelix it was even worse, the IDF could not find the files.

I have tried various examples of ESP-ADF v2.6 and ESP-IDF v5.1.1.

pipeline_http_mp3: problems playing the audio.
pipeline_play_sdcard_music and pipeline_sdcard_mp3_control: error initializing sd card. (logs below)
pipeline_spiffs_mp3: mp3 files not found in flash memory. I noticed that there were some instructions to partition the memory before loading the code, but at this point I didn't try any further.
I have a code with which I can read the sd card and write a text.txt file (thanks to the learnesp32 course), however it uses different SD card IDF libraries than the ESP-ADF examples use. At least this serves to verify that everything works well and it is a code problem. The music files will be 44.1khz, some in mono audio and some in stereo, although I will only use 1 speaker.

logs:

Code: Select all

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x2b (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x16e8
load:0x403c9700,len:0x4
load:0x403c9704,len:0xc00
load:0x403cc700,len:0x2eb0
entry 0x403c9908
I (27) boot: ESP-IDF v5.1.1-dirty 2nd stage bootloader
I (27) boot: compile time Aug 25 2023 03:12:35
I (27) boot: Multicore bootloader
I (31) boot: chip revision: v0.1
I (34) boot.esp32s3: Boot SPI Speed : 80MHz
I (39) boot.esp32s3: SPI Mode       : DIO
I (44) boot.esp32s3: SPI Flash Size : 2MB
I (49) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (58) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (72) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (80) boot:  2 factory          factory app      00 00 00010000 00100000
I (87) boot: End of partition table
I (92) esp_image: segment 0: paddr=00010020 vaddr=3c050020 size=4625ch (287324) map
I (151) esp_image: segment 1: paddr=00056284 vaddr=3fc95a00 size=02a8ch ( 10892) load
I (154) esp_image: segment 2: paddr=00058d18 vaddr=40374000 size=07300h ( 29440) load
I (164) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=4ad70h (306544) map
I (221) esp_image: segment 4: paddr=000aad98 vaddr=4037b300 size=0a670h ( 42608) load
I (238) boot: Loaded app from partition at offset 0x10000
I (238) boot: Disabling RNG early entropy source...
I (249) cpu_start: Multicore app
I (249) cpu_start: Pro cpu up.
I (250) cpu_start: Starting app cpu, entry point is 0x4037555c
0x4037555c: call_start_cpu1 at C:/Espressif/frameworks/esp-idf-v5.1.1/components/esp_system/port/cpu_start.c:154

I (0) cpu_start: App cpu up.
I (268) cpu_start: Pro cpu start user code
I (268) cpu_start: cpu freq: 160000000 Hz
I (268) cpu_start: Application information:
I (271) cpu_start: Project name:     play_sdcard_mp3_control
I (277) cpu_start: App version:      v5.1.1-dirty
I (283) cpu_start: Compile time:     Aug 25 2023 03:53:04
I (289) cpu_start: ELF file SHA256:  5dbdaf31694de83b...
I (295) cpu_start: ESP-IDF:          v5.1.1-dirty
I (300) cpu_start: Min chip rev:     v0.0
I (305) cpu_start: Max chip rev:     v0.99 
I (310) cpu_start: Chip rev:         v0.1
I (314) heap_init: Initializing. RAM available for dynamic allocation:
I (322) heap_init: At 3FC98FB8 len 00050758 (321 KiB): DRAM
I (328) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (334) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (341) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (348) spi_flash: detected chip: gd
I (351) spi_flash: flash io: dio
W (355) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
W (368) i2s(legacy): legacy i2s driver is deprecated, please migrate to use driver/i2s_std.h, driver/i2s_pdm.h or driver/i2s_tdm.h
W (381) ADC: legacy driver is deprecated, please migrate to `esp_adc/adc_oneshot.h`
I (389) sleep: Configure to isolate all GPIO pins in sleep state
I (396) sleep: Enable automatic switching of GPIO sleep configuration
I (403) app_start: Starting scheduler on CPU0
I (408) app_start: Starting scheduler on CPU1
I (408) main_task: Started on CPU0
I (418) main_task: Calling app_main()
I (418) SDCARD_MP3_CONTROL_EXAMPLE: [1.0] Initialize peripherals management
I (428) SDCARD_MP3_CONTROL_EXAMPLE: [1.1] Initialize and start peripherals
E (468) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (468) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (468) SDCARD: Failed to initialize the card (263). Make sure SD card lines have pull-up resistors in place.
E (478) PERIPH_SDCARD: mount sdcard error!
E (1508) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (1508) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (1508) SDCARD: Failed to initialize the card (263). Make sure SD card lines have pull-up resistors in place.
E (1518) PERIPH_SDCARD: mount sdcard error!
E (2508) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (2508) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (2508) SDCARD: Failed to initialize the card (263). Make sure SD card lines have pull-up resistors in place.
E (2518) PERIPH_SDCARD: mount sdcard error!
E (2938) AUDIO_BOARD: Sdcard mount failed
Name: 00000
Type: SDSC
Speed: 20.00 MHz (limit: 20.00 MHz)
Size: 1909MB
CSD: ver=1, sector_size=512, capacity=3909632 read_bl_len=10
SSR: bus_width=1
I (2998) SDCARD_MP3_CONTROL_EXAMPLE: [1.2] Set up a sdcard playlist and scan sdcard music save to it
E (3008) PLAYLIST_SDCARD: open file error, line: 110, have you mounted sdcard, set the long file name and UTF-8 encoding configuration ?
E (3018) SDCARD_SCAN: Open [/sdcard] directory failed
E (3028) PLAYLIST_SDCARD: sdcard_list.c:195 (sdcard_list_show): Got NULL Pointer
I (3038) SDCARD_MP3_CONTROL_EXAMPLE: [ 2 ] Start codec chip
E (3038) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3058) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3068) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3078) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3098) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3108) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3128) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3138) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3148) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3168) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3178) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3188) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3208) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3218) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3238) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3248) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3258) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3278) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3288) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3298) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3318) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3328) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3348) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3358) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3368) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3388) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3398) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3408) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3428) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3438) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3458) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3468) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3478) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3498) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3508) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3518) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (3528) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (3538) SDCARD: Failed to initialize the card (263). Make sure SD card lines have pull-up resistors in place.
E (3548) PERIPH_SDCARD: mount sdcard error!
E (3538) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3568) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3578) DRV8311: es8311.c:492 (es8311_codec_init): es8311 initialize failed
E (3588) AUDIO_HAL: codec init failed!
E (3588) AUDIO_BOARD: board.c:63 (audio_board_codec_init): Got NULL Pointer
W (3598) I2C_BUS: I2C bus has been already created, [port:0]
E (3608) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3618) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3628) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3648) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3658) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3668) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3688) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3698) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3718) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3728) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3738) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3758) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3768) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3788) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3798) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3808) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3828) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3838) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3848) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3868) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3878) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3898) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3908) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3918) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3938) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3948) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3958) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (3978) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (3988) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4008) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4018) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4028) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4048) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4058) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4068) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4088) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4098) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4118) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4128) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4138) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4158) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4168) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4178) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4198) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4208) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4228) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4238) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4248) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4268) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4278) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4288) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4308) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4318) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4338) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
W (4328) ES7210: Enable TDM mode. ES7210_SDP_INTERFACE2_REG12: 67
E (4358) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4368) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4378) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4398) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4408) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4418) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4438) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4448) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4468) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4478) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4488) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4508) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4518) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4528) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4548) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4558) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4568) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4588) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4598) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (4608) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (4618) SDCARD: Failed to initialize the card (263). Make sure SD card lines have pull-up resistors in place.
E (4628) PERIPH_SDCARD: mount sdcard error!
E (4618) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4638) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:170 (i2c_bus_read_bytes):I2C Bus ReadReg Error
E (4658) I2C_BUS: C:/Users/chris/esp-adf-v2.6/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:115 (i2c_bus_write_bytes):I2C Bus WriteReg Error
E (4668) AUDIO_HAL: audio_hal.c:66 (audio_hal_init): audio_hal_init failed
E (4678) AUDIO_BOARD: board.c:55 (audio_board_adc_init): Got NULL Pointer
E (4688) AUDIO_HAL: audio_hal handle is null
I (4688) SDCARD_MP3_CONTROL_EXAMPLE: [ 3 ] Create and start input key service
I (4698) SDCARD_MP3_CONTROL_EXAMPLE: [4.0] Create audio pipeline for playback
I (4708) SDCARD_MP3_CONTROL_EXAMPLE: [4.1] Create i2s stream to write data to codec chip
I (4718) SDCARD_MP3_CONTROL_EXAMPLE: [4.2] Create mp3 decoder to decode mp3 file
I (4718) SDCARD_MP3_CONTROL_EXAMPLE: [4.3] Create resample filter
I (4728) SDCARD_MP3_CONTROL_EXAMPLE: [4.4] Create fatfs stream to read data from sdcard
E (4738) PLAYLIST_SDCARD: sdcard_list.c:279 (sdcard_list_current): Got NULL Pointer
I (4748) SDCARD_MP3_CONTROL_EXAMPLE: [4.5] Register all elements to audio pipeline
I (4758) SDCARD_MP3_CONTROL_EXAMPLE: [4.6] Link it together [sdcard]-->fatfs_stream-->mp3_decoder-->resample-->i2s_stream-->[codec_chip]
I (4768) SDCARD_MP3_CONTROL_EXAMPLE: [5.0] Set up  event listener
I (4778) SDCARD_MP3_CONTROL_EXAMPLE: [5.1] Listen for all pipeline events
W (4778) SDCARD_MP3_CONTROL_EXAMPLE: [ 6 ] Press the keys to control music player:
W (4788) SDCARD_MP3_CONTROL_EXAMPLE:       [Play] to start, pause and resume, [Set] next song.
W (4798) SDCARD_MP3_CONTROL_EXAMPLE:       [Vol-] or [Vol+] to adjust volume.
E (5508) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (5508) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (5508) SDCARD: Failed to initialize the card (263). Make sure SD card lines have pull-up resistors in place.
E (5518) PERIPH_SDCARD: mount sdcard error!

Who is online

Users browsing this forum: No registered users and 83 guests