unable to get sample "pipeline_a2dp_sink_and_hfp" to work on ESP32-LyraT-Mini

Dhruv Menon
Posts: 1
Joined: Thu Sep 26, 2024 6:15 am

unable to get sample "pipeline_a2dp_sink_and_hfp" to work on ESP32-LyraT-Mini

Postby Dhruv Menon » Thu Sep 26, 2024 6:37 am

Environment

Audio development kit: ESP32-LyraT-Mini
Audio kit version (for ESP32-LyraT/ESP32-LyraT-Mini/ESP32-S3-Korvo-2): v1
[Required] Module or chip used: ESP32-WROVER-E
[Required] IDF version (run git describe --tags in $IDF_PATH folder to find it):
// v5.3
[Required] ADF version (run git describe --tags in $ADF_PATH folder to find it):
// v2.7-4-g1bc914b7
Build system: idf.py
[Required] Running log: All logs from power-on to problem recurrence
--- Using /dev/cu.usbserial-2140 instead...
--- esp-idf-monitor 1.5.0 on /dev/cu.usbserial-2140 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

Code: Select all

> E (2128) i2c.master: s_i2c_synchronous_transac0;32mI (2138) gpio: GPIO[18]|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:2
> load:0x3fff0030,len:7176
> load:0x40078000,len:15564
> ho 0 tail 12 room 4
> load:0x40080400,len:4
> --- 0x40080400: _init at ??:?
> 
> load:0x40080404,len:3904
> entry 0x40080640
> I (31) boot: ESP-IDF v5.3-dirty 2nd stage bootloader
> I (31) boot: compile time Sep 20 2024 17:49:30
> I (31) boot: Multicore bootloader
> I (36) boot: chip revision: v3.1
> I (40) boot.esp32: SPI Speed      : 40MHz
> I (44) boot.esp32: SPI Mode       : DIO
> I (49) boot.esp32: SPI Flash Size : 4MB
> I (53) boot: Enabling RNG early entropy source...
> I (59) boot: Partition Table:
> I (62) boot: ## Label            Usage          Type ST Offset   Length
> I (70) boot:  0 nvs              WiFi data        01 02 00009000 00006000
> I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
> I (84) boot:  2 factory          factory app      00 00 00010000 00300000
> I (92) boot: End of partition table
> I (96) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=37580h (226688) map
> I (182) esp_image: segment 1: paddr=000475a8 vaddr=3ffbdb60 size=04df4h ( 19956) load
> I (190) esp_image: segment 2: paddr=0004c3a4 vaddr=40080000 size=03c74h ( 15476) load
> I (196) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=d25bch (861628) map
> I (492) esp_image: segment 4: paddr=001225e4 vaddr=40083c74 size=17624h ( 95780) load
> I (543) boot: Loaded app from partition at offset 0x10000
> I (543) boot: Disabling RNG early entropy source...
> I (555) cpu_start: Multicore app
> I (564) cpu_start: Pro cpu start user code
> I (564) cpu_start: cpu freq: 160000000 Hz
> I (564) app_init: Application information:
> I (567) app_init: Project name:     a2dp_sink_and_hfp_example
> I (573) app_init: App version:      v2.7-4-g1bc914b7
> I (579) app_init: Compile time:     Sep 20 2024 17:49:12
> I (585) app_init: ELF file SHA256:  847632372...
> I (590) app_init: ESP-IDF:          v5.3-dirty
> I (595) efuse_init: Min chip rev:     v0.0
> I (600) efuse_init: Max chip rev:     v3.99 
> I (605) efuse_init: Chip rev:         v3.1
> I (610) heap_init: Initializing. RAM available for dynamic allocation:
> I (617) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
> I (623) heap_init: At 3FFB7468 len 00000B98 (2 KiB): DRAM
> I (629) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
> I (635) heap_init: At 3FFD0CC8 len 0000F338 (60 KiB): DRAM
> I (641) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
> I (648) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
> I (654) heap_init: At 4009B298 len 00004D68 (19 KiB): IRAM
> I (662) spi_flash: detected chip: gd
> I (665) spi_flash: flash io: dio
> W (669) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
> I (683) coexist: coex firmware version: dab85ae96
> I (688) main_task: Started on CPU0
> I (698) main_task: Calling app_main()
> I (718) BLUETOOTH_EXAMPLE: [ 1 ] Create Bluetooth service
> I (718) BTDM_INIT: BT controller compile version [f021fb7]
> I (728) BTDM_INIT: Bluetooth MAC: 34:5f:45:c3:81:3a
> I (728) phy_init: phy_version 4830,54550f7,Jun 20 2024,14:22:08
> W (1418) BT_BTC: btc_avrc_tg_set_rn_supported_evt failed: AVRC TG not yet initialized
> 
> W (1428) BT_BTC: A2DP Enable with AVRC
> I (1458) BLUETOOTH_EXAMPLE: [ 2 ] Start codec chip
> I (1458) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
> W (1468) i2c_bus_v2: I2C master handle is NULL, will create new one
> I (1468) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1478) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1488) i2c.master: I2C hardware NACK detected
> E (1498) i2c.master: I2C transaction unexpected nack detected
> E (1498) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1508) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1518) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1528) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1538) i2c.master: I2C hardware NACK detected
> E (1538) i2c.master: I2C transaction unexpected nack detected
> E (1548) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1558) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1568) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1578) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1578) i2c.master: I2C hardware NACK detected
> E (1588) i2c.master: I2C transaction unexpected nack detected
> E (1588) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1598) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1608) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1618) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1628) i2c.master: I2C hardware NACK detected
> E (1628) i2c.master: I2C transaction unexpected nack detected
> E (1638) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1648) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1658) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1668) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1668) i2c.master: I2C hardware NACK detected
> E (1678) i2c.master: I2C transaction unexpected nack detected
> E (1688) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1688) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1698) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1708) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1718) i2c.master: I2C hardware NACK detected
> E (1728) i2c.master: I2C transaction unexpected nack detected
> E (1728) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1738) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1748) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1758) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1768) i2c.master: I2C hardware NACK detected
> E (1768) i2c.master: I2C transaction unexpected nack detected
> E (1778) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1788) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1788) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1798) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1808) i2c.master: I2C hardware NACK detected
> E (1818) i2c.master: I2C transaction unexpected nack detected
> E (1818) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1828) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1838) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1848) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1858) i2c.master: I2C hardware NACK detected
> E (1858) i2c.master: I2C transaction unexpected nack detected
> E (1868) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1878) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1888) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1898) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1898) i2c.master: I2C hardware NACK detected
> E (1908) i2c.master: I2C transaction unexpected nack detected
> E (1908) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1918) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1928) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1938) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1948) i2c.master: I2C hardware NACK detected
> E (1948) i2c.master: I2C transaction unexpected nack detected
> E (1958) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (1968) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (1978) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (1988) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (1988) i2c.master: I2C hardware NACK detected
> E (1998) i2c.master: I2C transaction unexpected nack detected
> E (1998) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2008) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2018) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2028) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2038) i2c.master: I2C hardware NACK detected
> E (2038) i2c.master: I2C transaction unexpected nack detected
> E (2048) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2058) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2068) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2078) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2078) i2c.master: I2C hardware NACK detected
> E (2088) i2c.master: I2C transaction unexpected nack detected
> E (2098) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2098) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2108) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2118) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2128) i2c.master: I2C hardware NACK detected
> E (2138) i2c.master: I2C transaction unexpected nack detected
> E (2138) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2148) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2158) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2168) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2178) i2c.master: I2C hardware NACK detected
> E (2178) i2c.master: I2C transaction unexpected nack detected
> E (2188) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2198) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2198) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2208) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2218) i2c.master: I2C hardware NACK detected
> E (2228) i2c.master: I2C transaction unexpected nack detected
> E (2228) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2238) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2248) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2258) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2268) i2c.master: I2C hardware NACK detected
> E (2268) i2c.master: I2C transaction unexpected nack detected
> E (2278) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2288) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2298) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2308) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2308) i2c.master: I2C hardware NACK detected
> E (2318) i2c.master: I2C transaction unexpected nack detected
> E (2318) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2328) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2338) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2348) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2358) i2c.master: I2C hardware NACK detected
> E (2358) i2c.master: I2C transaction unexpected nack detected
> E (2368) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2378) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2388) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2398) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2398) i2c.master: I2C hardware NACK detected
> E (2408) i2c.master: I2C transaction unexpected nack detected
> E (2418) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2418) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2428) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2438) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2448) i2c.master: I2C hardware NACK detected
> E (2448) i2c.master: I2C transaction unexpected nack detected
> E (2458) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2468) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2478) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2488) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2488) i2c.master: I2C hardware NACK detected
> E (2498) i2c.master: I2C transaction unexpected nack detected
> E (2508) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2508) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2518) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2528) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2538) i2c.master: I2C hardware NACK detected
> E (2548) i2c.master: I2C transaction unexpected nack detected
> E (2548) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2558) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2568) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2578) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2588) i2c.master: I2C hardware NACK detected
> E (2588) i2c.master: I2C transaction unexpected nack detected
> E (2598) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2608) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2608) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2618) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2628) i2c.master: I2C hardware NACK detected
> E (2638) i2c.master: I2C transaction unexpected nack detected
> E (2638) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2648) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2658) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2668) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2678) i2c.master: I2C hardware NACK detected
> E (2678) i2c.master: I2C transaction unexpected nack detected
> E (2688) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2698) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2708) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2718) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2718) i2c.master: I2C hardware NACK detected
> E (2728) i2c.master: I2C transaction unexpected nack detected
> E (2728) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2738) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2748) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2758) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2768) i2c.master: I2C hardware NACK detected
> E (2768) i2c.master: I2C transaction unexpected nack detected
> E (2778) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2788) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2798) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2808) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2808) i2c.master: I2C hardware NACK detected
> E (2818) i2c.master: I2C transaction unexpected nack detected
> E (2828) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2828) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2838) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2848) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> I (2858) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
> I (2868) ES8388_DRIVER: init,out:02, in:00
> E (2868) i2c.master: I2C hardware NACK detected
> E (2878) i2c.master: I2C transaction unexpected nack detected
> E (2878) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2888) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2898) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2908) i2c.master: i2c_master_transmit_receive(1095): I2C transaction failed
> E (2918) i2c.master: I2C hardware NACK detected
> E (2918) i2c.master: I2C transaction unexpected nack detected
> E (2928) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2938) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2948) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2958) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (2968) i2c.master: I2C hardware NACK detected
> E (2968) i2c.master: I2C transaction unexpected nack detected
> E (2978) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (2978) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (2988) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (2998) i2c.master: i2c_master_transmit_receive(1095): I2C transaction failed
> E (3008) i2c.master: I2C hardware NACK detected
> E (3018) i2c.master: I2C transaction unexpected nack detected
> E (3018) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3028) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3038) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3048) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (3058) i2c.master: I2C hardware NACK detected
> E (3058) i2c.master: I2C transaction unexpected nack detected
> E (3068) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3078) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3088) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3098) i2c.master: i2c_master_transmit_receive(1095): I2C transaction failed
> E (3098) i2c.master: I2C hardware NACK detected
> E (3108) i2c.master: I2C transaction unexpected nack detected
> E (3108) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3118) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3128) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3138) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (3148) i2c.master: I2C hardware NACK detected
> E (3148) i2c.master: I2C transaction unexpected nack detected
> E (3158) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3168) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3178) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3188) i2c.master: i2c_master_transmit_receive(1095): I2C transaction failed
> E (3198) i2c.master: I2C hardware NACK detected
> E (3198) i2c.master: I2C transaction unexpected nack detected
> E (3208) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3208) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3218) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3228) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (3238) i2c.master: I2C hardware NACK detected
> E (3248) i2c.master: I2C transaction unexpected nack detected
> E (3248) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3258) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3268) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3278) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (3288) i2c.master: I2C hardware NACK detected
> E (3288) i2c.master: I2C transaction unexpected nack detected
> E (3298) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3308) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3318) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3318) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> I (3328) AUDIO_HAL: Codec mode is 2, Ctrl:1
> E (3338) i2c.master: I2C hardware NACK detected
> E (3338) i2c.master: I2C transaction unexpected nack detected
> E (3348) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3358) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3368) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3378) i2c.master: i2c_master_transmit_receive(1095): I2C transaction failed
> E (3378) i2c.master: I2C hardware NACK detected
> E (3388) i2c.master: I2C transaction unexpected nack detected
> E (3388) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3398) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3408) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3418) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (3428) i2c.master: I2C hardware NACK detected
> E (3428) i2c.master: I2C transaction unexpected nack detected
> E (3438) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3448) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3458) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3468) i2c.master: i2c_master_transmit_receive(1095): I2C transaction failed
> E (3478) i2c.master: I2C hardware NACK detected
> E (3478) i2c.master: I2C transaction unexpected nack detected
> E (3488) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3488) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3498) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3508) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> E (3518) i2c.master: I2C hardware NACK detected
> E (3528) i2c.master: I2C transaction unexpected nack detected
> E (3528) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3538) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3548) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3558) i2c.master: i2c_master_transmit_receive(1095): I2C transaction failed
> E (3568) i2c.master: I2C hardware NACK detected
> E (3568) i2c.master: I2C transaction unexpected nack detected
> E (3578) i2c.master: s_i2c_synchronous_transaction(870): I2C transaction failed
> I (3588) gpio: GPIO[18]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> I (3598) gpio: GPIO[23]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 
> E (3608) i2c.master: i2c_master_transmit(1072): I2C transaction failed
> I (3608) BLUETOOTH_EXAMPLE: [ 3 ] Create audio pipeline for playback
> I (3618) BLUETOOTH_EXAMPLE: [3.1] Create i2s stream to write data to codec chip and read data from codec chip
> I (3638) BLUETOOTH_EXAMPLE: [3.2] Create Bluetooth stream
> I (3638) BLUETOOTH_EXAMPLE: [3.3] Register all elements to audio pipeline
> I (3638) BLUETOOTH_EXAMPLE: [3.4] Link it together [Bluetooth]-->bt_stream_reader-->i2s_stream_writer-->[codec_chip]
> I (3658) AUDIO_PIPELINE: link el->rb, el:0x3ffe0ac8, tag:bt, rb:0x3ffe0d94
> I (3658) AUDIO_PIPELINE: link el->rb, el:0x3ffdebb8, tag:i2s_r, rb:0x3ffe2ee4
> I (3668) BLUETOOTH_EXAMPLE: [ 4 ] Initialize peripherals
> E (3678) gpio: gpio_install_isr_service(502): GPIO isr service already installed
> I (3678) BLUETOOTH_EXAMPLE: [4.1] Initialize Touch peripheral
> I (3688) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
> I (3698) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
> I (3708) AUDIO_THREAD: The esp_periph task allocate stack on internal memory
> I (3718) BLUETOOTH_EXAMPLE: [4.2] Create Bluetooth peripheral
> I (3718) BLUETOOTH_EXAMPLE: [4.2] Start all peripherals
> W (3738) PERIPH_TOUCH: _touch_init
> I (3738) BLUETOOTH_EXAMPLE: [ 5 ] Set up  event listener
> I (3748) BLUETOOTH_EXAMPLE: [5.1] Listening event from all elements of pipeline
> I (3748) BLUETOOTH_EXAMPLE: [5.2] Listening event from peripherals
> I (3758) BLUETOOTH_EXAMPLE: [ 6 ] Start audio_pipeline
> I (3768) AUDIO_ELEMENT: [bt-0x3ffe0ac8] Element task created
> I (3788) AUDIO_THREAD: The i2s_w task allocate stack on internal memory
> I (3788) AUDIO_ELEMENT: [i2s_w-0x3ffdd604] Element task created
> I (3788) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:94248 Bytes
> 
> I (3798) AUDIO_ELEMENT: [i2s_w] AEL_MSG_CMD_RESUME,state:1
> I (3818) AUDIO_PIPELINE: Pipeline started
> I (3818) AUDIO_THREAD: The i2s_r task allocate stack on internal memory
> I (3818) AUDIO_ELEMENT: [i2s_r-0x3ffdebb8] Element task created
> I (3828) AUDIO_ELEMENT: [raw-0x3ffdfe80] Element task created
> I (3848) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:86712 Bytes
> 
> I (3848) AUDIO_ELEMENT: [i2s_r] AEL_MSG_CMD_RESUME,state:1
> I (3858) AUDIO_PIPELINE: Pipeline started
> I (3858) BLUETOOTH_EXAMPLE: [ 7 ] Listen for all pipeline events
> W (40328) BT_HCI: hcif conn complete: hdl 0x81, st 0x0
> W (40368) BT_HCI: hcif link supv_to changed: hdl 0x81, supv_to 8000
> W (45408) BT_APPL: new conn_srvc id:27, app_id:1
> E (45408) BT_HF: APP HFP event: CONNECTION_STATE_EVT
> E (45408) BT_HF: --connection state connected, peer feats 0x0, chld_feats 0x0
> E (45638) BT_HF: APP HFP event: CALL_IND_EVT
> E (45638) BT_HF: --Call indicator NO call in progress
> E (45638) BT_HF: APP HFP event: CALL_SETUP_IND_EVT
> E (45648) BT_HF: --Call setup indicator NONE
> E (45648) BT_HF: APP HFP event: NETWORK_STATE_EVT
> E (45668) BT_HF: --NETWORK STATE available
> E (45668) BT_HF: APP HFP event: SIGNAL_STRENGTH_IND_EVT
> E (45678) BT_HF: -- signal strength: 5
> E (45678) BT_HF: APP HFP event: ROAMING_STATUS_IND_EVT
> E (45698) BT_HF: --ROAMING: inactive
> E (45698) BT_HF: APP HFP event: BATTERY_LEVEL_IND_EVT
> E (45698) BT_HF: --battery level 1
> E (45738) BT_HF: APP HFP event: CALL_HELD_IND_EVT
> E (45738) BT_HF: --Call held indicator NONE held
> E (45738) BT_HF: APP HFP event: CONNECTION_STATE_EVT
> E (45758) BT_HF: --connection state slc_connected, peer feats 0xf6f, chld_feats 0x2b
> E (45768) BT_HF: APP HFP event: INBAND_RING_TONE_EVT
> E (45768) BT_HF: --inband ring state Provided
> E (45908) BT_APPL: bta_av_rc_create ACP handle exist for shdl:0
> I (45998) BLUETOOTH_EXAMPLE: [ * ] Receive music info from Bluetooth, sample_rates=44100, bits=16, ch=2
> I (46018) AUDIO_ELEMENT: [i2s_w] AEL_MSG_CMD_PAUSE
> I (46038) AUDIO_ELEMENT: [i2s_w] AEL_MSG_CMD_RESUME,state:4
> W (46118) BT_APPL: new conn_srvc id:19, app_id:0
> W (46538) BT_BTC: handle_rc_metamsg_rsp: code 10 error 0x1
> I (46718) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x864b
> 
> W (46728) BT_APPL: new conn_srvc id:19, app_id:1
> I (52608) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x864b
> 
> I (52608) BLUETOOTH_SERVICE: Playback status changed: 0x1
> I (75098) BLUETOOTH_SERVICE: Playback status changed: 0x0
> I (75518) BLUETOOTH_SERVICE: Playback status changed: 0x1
> I (93758) BLUETOOTH_SERVICE: Playback status changed: 0x0
> --- Error: read failed: [Errno 6] Device not configured
> --- Waiting for the device to reconnect
> I (130158) BLUETOOTH_SERVICE: Playback status changed: 0x0
> I (160598) BLUETOOTH_SERVICE: Playback status changed: 0x0
> I (166458) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x864b
> 
> I (166478) BLUETOOTH_SERVICE: Playback status changed: 0x1
> E (176408) BT_HF: APP HFP event: BATTERY_LEVEL_IND_EVT
> E (176408) BT_HF: --battery level 0
> I (179318) BLUETOOTH_SERVICE: Playback status changed: 0x0
> I (180128) BLUETOOTH_SERVICE: Playback status changed: 0x1
> I (199728) BLUETOOTH_SERVICE: Playback status changed: 0x0
> I (205368) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x864b
> 
> I (205388) BLUETOOTH_SERVICE: Playback status changed: 0x1
> I (224708) BLUETOOTH_SERVICE: Playback status changed: 0x0
> W (231638) BT_HCI: hci cmd send: sniff: hdl 0x81, intv(30 54)
> W (231668) BT_HCI: hcif mode change: hdl 0x81, mode 2, intv 54, status 0x0
> --- Error: read failed: [Errno 6] Device not configured
> --- Waiting for the device to reconnect.................
> 
Compiler version (run xtensa-esp32-elf-gcc --version in your project folder to find it):
// 13.2.0_20240530
Operating system: macOS
(Windows only) Environment type: [MSYS2 mingw32|ESP Command Prompt|Plain Command Prompt|PowerShell]
Using an IDE?: No
Power supply: USB
Problem Description

How do I get "pipeline_a2dp_sink_and_hfp" working, as it seems to give a lot of errors, I was following the get-started guide
Even the building had a lot of warnings
// Detailed problem description goes here.

I had speaker connected to aux port, But I wasn't able to hear anything.

Expected Behavior

Able ot communicate with with my phone and have 0 errors during runtime

Actual Behavior

unable to hear anything through aux port and had a lot of errors related to I2C during run time

Steps to Reproduce

Followed ADF getting-started guide
in the "pipeline_a2dp_sink_and_hfp" folder, selected board ESP32-LyraT-Mini from menuconfig
used idf.py build -p /dev/tty.usb21222 flash monitor

Who is online

Users browsing this forum: No registered users and 21 guests