ADF的几个示例工程播放时遇到的问题

so_zhou
Posts: 3
Joined: Wed Jan 06, 2016 5:22 pm

ADF的几个示例工程播放时遇到的问题

Postby so_zhou » Sun Feb 20, 2022 3:21 pm

目标板:lyrat_v4_3
play_mp3_control:编译成功,播放正常,说明驱动接口都设置正确

esp-idf\examples\bluetooth\bluedroid\classic_bt\a2dp_sink: 使用内置DAC方式,通过蓝牙播放音乐正常,但声音效果不佳

pipeline_a2dp_sink_and_hfp:编译成功,播放时,console输出一些错误,听到的声音是“噗噗噗”的声音,连续的,暂停播放就没有了,下面贴出了整个过程的输出

pipeline_a2dp_sink_stream:编译成功,播放时,console不停的输出BT_APPL: Pkt dropped,
连IIC访问都出错,audio hal选择的都是ESP32-Lyrat V4.3
听到的声音是“噗噗噗”的声音,连续的,暂停播放就没有了,下面贴出了整个过程的输出

请教下有没有遇到相同问题的朋友,帮忙分析一下,谢谢

pipeline_a2dp_sink_and_hfp播放的输出

Code: Select all

I (29) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (29) boot: compile time 20:34:17
I (29) boot: chip revision: 1
I (29) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (30) boot.esp32: SPI Speed      : 40MHz
I (31) boot.esp32: SPI Mode       : DIO
I (31) boot.esp32: SPI Flash Size : 4MB
I (32) boot: Enabling RNG early entropy source...
I (33) boot: Partition Table:
I (33) boot: ## Label            Usage          Type ST Offset   Length
I (34) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (35) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (36) boot:  2 factory          factory app      00 00 00010000 00124f80
I (37) boot: End of partition table
I (37) boot_comm: chip revision: 1, min. application chip revision: 0
I (38) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=31838h (202808) map
I (113) esp_image: segment 1: paddr=00041860 vaddr=3ffbdb60 size=04088h ( 16520) load
I (119) esp_image: segment 2: paddr=000458f0 vaddr=40080000 size=0a728h ( 42792) load
I (137) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=b9f2ch (761644) map
I (413) esp_image: segment 4: paddr=00109f54 vaddr=4008a728 size=0e454h ( 58452) load
I (437) esp_image: segment 5: paddr=001183b0 vaddr=50000000 size=00010h (    16) load
I (449) boot: Loaded app from partition at offset 0x10000
I (450) boot: Disabling RNG early entropy source...
I (451) cpu_start: Pro cpu up.
I (451) cpu_start: Starting app cpu, entry point is 0x400813f0
I (0) cpu_start: App cpu up.
I (460) cpu_start: Pro cpu start user code
I (460) cpu_start: cpu freq: 160000000
I (460) cpu_start: Application information:
I (460) cpu_start: Project name:     dashboard
I (461) cpu_start: App version:      4864f06-dirty
I (461) cpu_start: Compile time:     Feb 20 2022 20:33:26
I (462) cpu_start: ELF file SHA256:  22d43b3a1feb04c8...
I (463) cpu_start: ESP-IDF:          v4.3.1-dirty
I (464) heap_init: Initializing. RAM available for dynamic allocation:
I (464) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (465) heap_init: At 3FFB7468 len 00000B98 (2 KiB): DRAM
I (466) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (467) heap_init: At 3FFCE148 len 00011EB8 (71 KiB): DRAM
I (467) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (468) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (469) heap_init: At 40098B7C len 00007484 (29 KiB): IRAM
I (471) spi_flash: detected chip: generic
I (472) spi_flash: flash io: dio
I (473) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (500) BLUETOOTH_EXAMPLE: [ 1 ] Create Bluetooth service
I (500) BTDM_INIT: BT controller compile version [bfbbe1e]
I (500) system_api: Base MAC address is not set
I (500) system_api: read default base MAC address from EFUSE
I (510) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
W (1200) BT_BTC: A2DP Enable with AVRC
I (1230) BLUETOOTH_EXAMPLE: [ 2 ] Start codec chip
I (1230) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (1250) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1250) ES8388_DRIVER: init,out:02, in:00
I (1260) AUDIO_HAL: Codec mode is 3, Ctrl:1
I (1260) BLUETOOTH_EXAMPLE: [ 2.1 ] audio_hal_get_volume 69
I (1260) BLUETOOTH_EXAMPLE: [ 3 ] Create audio pipeline for playback
I (1260) BLUETOOTH_EXAMPLE: [3.1] Create i2s stream to write data to codec chip and read data from codec chip
I (1260) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (1260) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (1290) I2S: APLL: Req RATE: 44100, real rate: 44099.988, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 11289597.000, SCLK: 1411199.625000, diva: 1, divb: 0
I (1290) LYRAT_V4_3: I2S0, MCLK output by GPIO0
W (1290) I2S: I2S driver already installed
I (1290) LYRAT_V4_3: I2S0, MCLK output by GPIO0
I (1290) BLUETOOTH_EXAMPLE: [3.2] Create Bluetooth stream
I (1290) BLUETOOTH_EXAMPLE: [3.3] Register all elements to audio pipeline
I (1290) BLUETOOTH_EXAMPLE: [3.4] Link it together [Bluetooth]-->bt_stream_reader-->i2s_stream_writer-->[codec_chip]
I (1300) AUDIO_PIPELINE: link el->rb, el:0x3ffdd820, tag:bt, rb:0x3ffddbc4
I (1300) AUDIO_PIPELINE: link el->rb, el:0x3ffdd190, tag:i2s_r, rb:0x3ffdfd0c
I (1300) BLUETOOTH_EXAMPLE: [ 4 ] Initialize peripherals
E (1300) gpio: gpio_install_isr_service(460): GPIO isr service already installed
I (1300) BLUETOOTH_EXAMPLE: [4.1] Initialize Touch peripheral
I (1300) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (1300) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (1300) BLUETOOTH_EXAMPLE: [4.2] Create Bluetooth peripheral
I (1300) BLUETOOTH_EXAMPLE: [4.2] Start all peripherals
I (1300) BLUETOOTH_EXAMPLE: [ 5 ] Set up  event listener
I (1300) BLUETOOTH_EXAMPLE: [5.1] Listening event from all elements of pipeline
W (1320) PERIPH_TOUCH: _touch_init
I (1320) BLUETOOTH_EXAMPLE: [5.2] Listening event from peripherals
I (1320) BLUETOOTH_EXAMPLE: [ 6 ] Start audio_pipeline
I (1320) AUDIO_ELEMENT: [bt-0x3ffdd820] Element task created
I (1320) AUDIO_ELEMENT: [i2s_w-0x3ffdcde4] Element task created
I (1330) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:106984 Bytes

I (1330) AUDIO_ELEMENT: [i2s_w] AEL_MSG_CMD_RESUME,state:1
I (1330) I2S_STREAM: AUDIO_STREAM_WRITER
I (1330) AUDIO_PIPELINE: Pipeline started
I (1330) AUDIO_ELEMENT: [i2s_r-0x3ffdd190] Element task created
I (1330) AUDIO_ELEMENT: [raw-0x3ffdd4e0] Element task created
I (1330) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:101008 Bytes

I (1330) AUDIO_ELEMENT: [i2s_r] AEL_MSG_CMD_RESUME,state:1
I (1330) I2S_STREAM: AUDIO_STREAM_READER,Rate:44100,ch:2
I (1360) I2S: APLL: Req RATE: 44100, real rate: 44099.988, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 11289597.000, SCLK: 1411199.625000, diva: 1, divb: 0
I (1370) AUDIO_PIPELINE: Pipeline started
I (1370) BLUETOOTH_EXAMPLE: [ 7 ] Listen for all pipeline events
E (15680) BT_APPL: rcb[0].lidx=3, lcb.conn_msk=x1
E (15750) BT_APPL: bta_av_rc_create ACP handle exist for shdl:0
I (15810) BLUETOOTH_EXAMPLE: [ * ] Receive music info from Bluetooth, sample_rates=44100, bits=16, ch=2
W (15830) BT_APPL: new conn_srvc id:27, app_id:1
I (15830) AUDIO_ELEMENT: [i2s_w] AEL_MSG_CMD_PAUSE
E (15840) BT_HF: APP HFP event: CONNECTION_STATE_EVT
E (15840) BT_HF: --connection state connected, peer feats 0x0, chld_feats 0x0
I (15880) I2S: APLL: Req RATE: 44100, real rate: 44099.988, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 11289597.000, SCLK: 1411199.625000, diva: 1, divb: 0
I (15880) AUDIO_ELEMENT: [i2s_w] AEL_MSG_CMD_RESUME,state:4
I (15880) I2S_STREAM: AUDIO_STREAM_WRITER
W (16040) BT_APPL: new conn_srvc id:19, app_id:0
E (16240) BT_HF: APP HFP event: NETWORK_STATE_EVT
E (16240) BT_HF: --NETWORK STATE available
E (16240) BT_HF: APP HFP event: CALL_IND_EVT
E (16240) BT_HF: --Call indicator NO call in progress
E (16240) BT_HF: APP HFP event: CALL_SETUP_IND_EVT
E (16240) BT_HF: --Call setup indicator NONE
E (16250) BT_HF: APP HFP event: BATTERY_LEVEL_IND_EVT
E (16250) BT_HF: --battery level 5
E (16250) BT_HF: APP HFP event: SIGNAL_STRENGTH_IND_EVT
E (16250) BT_HF: -- signal strength: 3
E (16250) BT_HF: APP HFP event: ROAMING_STATUS_IND_EVT
E (16250) BT_HF: --ROAMING: inactive
E (16250) BT_HF: APP HFP event: CALL_HELD_IND_EVT
E (16250) BT_HF: --Call held indicator NONE held
E (16360) BT_HF: APP HFP event: CONNECTION_STATE_EVT
E (16360) BT_HF: --connection state slc_connected, peer feats 0x3ef, chld_feats 0x3f
E (16360) BT_HF: APP HFP event: INBAND_RING_TONE_EVT
E (16360) BT_HF: --inband ring state Provided
I (29640) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x824b

W (29650) BT_APPL: new conn_srvc id:19, app_id:1
W (40740) BT_RFCOMM: port_rfc_closed RFCOMM connection in state 2 closed: Peer connection failed (res: 16)
E (40740) BT_APPL: bta_dm_pm_sniff BTM_SetPowerMode() returns ERROR status=7
E (40740) BT_APPL: bta_dm_pm_sniff BTM_SetPowerMode() returns ERROR status=7
E (40750) BT_HF: APP HFP event: CONNECTION_STATE_EVT
E (40750) BT_HF: --connection state disconnected, peer feats 0x0, chld_feats 0x0
W (40750) BLUETOOTH_EXAMPLE: [ * ] Bluetooth disconnected
I (40750) BLUETOOTH_EXAMPLE: [ 8 ] Stop audio_pipeline
W (40770) AUDIO_ELEMENT: OUT-[i2s_r] AEL_IO_ABORT
W (40770) AUDIO_ELEMENT: OUT-[i2s_r] AEL_IO_ABORT
W (40770) AUDIO_ELEMENT: OUT-[i2s_r] AEL_IO_ABORT
W (40770) AUDIO_ELEMENT: OUT-[i2s_r] AEL_IO_ABORT
W (40770) AUDIO_PIPELINE: There are no listener registered
I (40770) AUDIO_PIPELINE: audio_pipeline_unlinked
W (40770) AUDIO_ELEMENT: [bt] Element has not create when AUDIO_ELEMENT_TERMINATE
W (40770) AUDIO_ELEMENT: [i2s_w] Element has not create when AUDIO_ELEMENT_TERMINATE
W (40780) AUDIO_ELEMENT: [i2s_r] Element has not create when AUDIO_ELEMENT_TERMINATE
I (40780) I2S: already uninstalled
W (40780) AUDIO_ELEMENT: [raw] Element has not create when AUDIO_ELEMENT_TERMINATE
W (40790) BT_L2CAP: L2CAP - PSM: 0x0019 not found for deregistration
W (40800) BT_L2CAP: L2CAP - PSM: 0x0017 not found for deregistration
W (40800) BT_L2CAP: L2CAP - PSM: 0x0019 not found for deregistration
W (40800) BT_L2CAP: L2CAP - PSM: 0x0017 not found for deregistration
W (40810) BT_APPL: bta_dm_disable BTA_DISABLE_DELAY set to 200 ms
E (41020) BT_APPL: BTA HF Client is already disabled, ignoring ...
pipeline_a2dp_sink_stream:

Code: Select all

I (29) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (29) boot: compile time 22:04:21
I (29) boot: chip revision: 1
I (29) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (30) boot.esp32: SPI Speed      : 40MHz
I (31) boot.esp32: SPI Mode       : DIO
I (31) boot.esp32: SPI Flash Size : 4MB
I (32) boot: Enabling RNG early entropy source...
I (33) boot: Partition Table:
I (33) boot: ## Label            Usage          Type ST Offset   Length
I (34) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (35) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (36) boot:  2 factory          factory app      00 00 00010000 00124f80
I (37) boot: End of partition table
I (37) boot_comm: chip revision: 1, min. application chip revision: 0
I (38) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2db78h (187256) map
I (107) esp_image: segment 1: paddr=0003dba0 vaddr=3ffbdb60 size=02478h (  9336) load
I (111) esp_image: segment 2: paddr=00040020 vaddr=400d0020 size=ada60h (711264) map
I (368) esp_image: segment 3: paddr=000eda88 vaddr=3ffbffd8 size=01af8h (  6904) load
I (371) esp_image: segment 4: paddr=000ef588 vaddr=40080000 size=18b7ch (101244) load
I (413) esp_image: segment 5: paddr=0010810c vaddr=50000000 size=00010h (    16) load
I (425) boot: Loaded app from partition at offset 0x10000
I (426) boot: Disabling RNG early entropy source...
I (427) cpu_start: Pro cpu up.
I (427) cpu_start: Starting app cpu, entry point is 0x400813f0
I (0) cpu_start: App cpu up.
I (436) cpu_start: Pro cpu start user code
I (436) cpu_start: cpu freq: 160000000
I (436) cpu_start: Application information:
I (436) cpu_start: Project name:     bt_sink_demo
I (437) cpu_start: App version:      1
I (437) cpu_start: Compile time:     Feb 20 2022 22:06:30
I (438) cpu_start: ELF file SHA256:  453da4bb89b00776...
I (439) cpu_start: ESP-IDF:          v4.3.1-dirty
I (440) heap_init: Initializing. RAM available for dynamic allocation:
I (440) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (441) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (442) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (443) heap_init: At 3FFCB320 len 00014CE0 (83 KiB): DRAM
I (443) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (444) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (445) heap_init: At 40098B7C len 00007484 (29 KiB): IRAM
I (447) spi_flash: detected chip: generic
I (448) spi_flash: flash io: dio
I (449) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (475) BLUETOOTH_EXAMPLE: [ 1 ] Init Bluetooth
I (475) BTDM_INIT: BT controller compile version [bfbbe1e]
I (475) system_api: Base MAC address is not set
I (475) system_api: read default base MAC address from EFUSE
I (485) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (1175) BLUETOOTH_EXAMPLE: [ 2 ] Start codec chip
I (1175) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (1205) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1205) ES8388_DRIVER: init,out:02, in:00
I (1205) AUDIO_HAL: Codec mode is 2, Ctrl:1
I (1215) BLUETOOTH_EXAMPLE: [ 3 ] Create audio pipeline for playback
I (1215) BLUETOOTH_EXAMPLE: [4] Create i2s stream to write data to codec chip
I (1215) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (1215) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (1235) I2S: APLL: Req RATE: 44100, real rate: 44099.988, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 11289597.000, SCLK: 1411199.625000, diva: 1, divb: 0
I (1245) LYRAT_V4_3: I2S0, MCLK output by GPIO0
I (1245) BLUETOOTH_EXAMPLE: [4.1] Get Bluetooth stream
W (1245) BT_BTC: A2DP Enable with AVRC
I (1255) A2DP_STREAM: Unhandled A2DP event: 4
I (1265) BLUETOOTH_EXAMPLE: [4.2] Register all elements to audio pipeline
I (1265) BLUETOOTH_EXAMPLE: [4.3] Link it together [Bluetooth]-->bt_stream_reader-->i2s_stream_writer-->[codec_chip]
I (1265) AUDIO_PIPELINE: link el->rb, el:0x3ffd64d8, tag:bt, rb:0x3ffd7398
I (1265) BLUETOOTH_EXAMPLE: [ 5 ] Initialize peripherals
E (1265) gpio: gpio_install_isr_service(460): GPIO isr service already installed
I (1265) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (1265) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (1265) BLUETOOTH_EXAMPLE: [ 5.1 ] Create and start input key service
I (1265) BLUETOOTH_EXAMPLE: [5.2] Create Bluetooth peripheral
I (1265) BLUETOOTH_EXAMPLE: [5.3] Start all peripherals
W (1285) PERIPH_TOUCH: _touch_init
I (1285) BLUETOOTH_EXAMPLE: [ 6 ] Set up  event listener
I (1285) BLUETOOTH_EXAMPLE: [6.1] Listening event from all elements of pipeline
I (1285) BLUETOOTH_EXAMPLE: [ 7 ] Start audio_pipeline
I (1285) AUDIO_ELEMENT: [bt-0x3ffd64d8] Element task created
I (1295) AUDIO_ELEMENT: [i2s-0x3ffd61a8] Element task created
I (1295) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:359, MEM Total:136148 Bytes

I (1295) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (1295) I2S_STREAM: AUDIO_STREAM_WRITER
I (1295) AUDIO_PIPELINE: Pipeline started
I (1295) BLUETOOTH_EXAMPLE: [ 8 ] Listen for all pipeline events
E (10365) BT_APPL: rcb[0].lidx=3, lcb.conn_msk=x1
E (10365) BT_APPL: bta_av_rc_create ACP handle exist for shdl:0
I (10365) A2DP_STREAM: AVRC conn_state evt: state 1, [44:00:10:93:49:b1]
I (10365) A2DP_STREAM: A2DP bd address:, [44:00:10:93:49:b1]
I (10415) A2DP_STREAM: AVRC register event notification: 13, param: 0x0
I (10415) A2DP_STREAM: rn_param.volume:50
W (10545) A2DP_STREAM: AVRC ct remote features 25b
W (10545) A2DP_STREAM: AVRC tg remote features 25b, CT features 2
I (10545) A2DP_STREAM: A2DP audio stream configuration, codec type 0
I (10545) A2DP_STREAM: Bluetooth configured, sample rate=44100
I (10545) BLUETOOTH_EXAMPLE: [ * ] Receive music info from Bluetooth, sample_rates=44100, bits=16, ch=2
I (10585) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_PAUSE
I (10625) I2S: APLL: Req RATE: 44100, real rate: 44099.988, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 11289597.000, SCLK: 1411199.625000, diva: 1, divb: 0
I (10625) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:4
I (10625) I2S_STREAM: AUDIO_STREAM_WRITER
W (10955) BT_APPL: new conn_srvc id:19, app_id:0
I (10955) A2DP_STREAM: A2DP bd address:, [44:00:10:93:49:b1]
I (10955) A2DP_STREAM: A2DP connection state =  CONNECTED
W (11435) A2DP_STREAM: AVRC ct remote features 25b
W (11435) A2DP_STREAM: AVRC tg remote features 25b, CT features 2
W (14155) A2DP_STREAM: AVRC ct remote features 25b
W (14155) A2DP_STREAM: AVRC tg remote features 25b, CT features 2
I (22575) A2DP_STREAM: AVRC set absolute volume: 54%
I (22575) A2DP_STREAM: Volume is set by remote controller 54%

I (23105) BT_LOG: bta_av_link_role_ok hndl:x41 role:1 conn_audio:x1 bits:1 features:x824b

W (23105) BT_APPL: new conn_srvc id:19, app_id:1
E (23575) I2C_BUS: E:/Devlopment/Software/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:101 (i2c_bus_write_bytes):I2C Bus WriteReg Error
W (23755) BT_APPL: Pkt dropped

W (23765) BT_APPL: Pkt dropped

W (23795) BT_APPL: Pkt dropped

不停输出W (25615) BT_APPL: Pkt dropped

W (24535) BT_APPL: Pkt dropped

E (24575) I2C_BUS: E:/Devlopment/Software/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:101 (i2c_bus_write_bytes):I2C Bus WriteReg Error
W (24585) BT_APPL: Pkt dropped

W (24595) BT_APPL: Pkt dropped

不停输出W (25615) BT_APPL: Pkt dropped

W (25555) BT_APPL: Pkt dropped

E (25575) I2C_BUS: E:/Devlopment/Software/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:101 (i2c_bus_write_bytes):I2C Bus WriteReg Error
W (25585) BT_APPL: Pkt dropped

W (25615) BT_APPL: Pkt dropped

不停输出W (25615) BT_APPL: Pkt dropped

W (26555) BT_APPL: Pkt dropped

E (26575) I2C_BUS: E:/Devlopment/Software/esp-adf/components/esp_peripherals/driver/i2c_bus/i2c_bus.c:101 (i2c_bus_write_bytes):I2C Bus WriteReg Error
W (26695) A2DP_STREAM: discard a2dp(0x3ffd7570) sink pkt, A2DP_STREAM_QUEUE_SIZE value needs to be expanded
W (26695) A2DP_STREAM: discard a2dp(0x3ffd7570) sink pkt, A2DP_STREAM_QUEUE_SIZE value needs to be expanded
E (53455) BT_APPL: bta_dm_pm_sniff BTM_SetPowerMode() returns ERROR status=7
I (53455) A2DP_STREAM: AVRC conn_state evt: state 0, [00:00:00:00:00:00]
I (53455) A2DP_STREAM: A2DP bd address:, [44:00:10:93:49:b1]
I (53455) A2DP_STREAM: A2DP connection state =  DISCONNECTED

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: ADF的几个示例工程播放时遇到的问题

Postby ESP_HengYC » Wed Mar 02, 2022 11:39 am

你好,

1. i2s 出错,表明可能是开发板上和硬件 codec es8388 芯片通信出了问题。
2. BT_APPL: Pkt dropped,这个错误是蓝牙丢包的 log。

pipeline_a2dp_sink_stream, 这个例程我也使用 release v4.4 和 最新 ADF ,没有复现上述的问题。
可否和我同步一下 编译环境再尝试呢?

Who is online

Users browsing this forum: No registered users and 24 guests