nRF54l15 sdk3.3.0 支持MIC source 发射和sink接受,短语音测试,用es8311单声道编解码,I2S无信号输出

nRF54l15 sdk3.3.0 支持MIC source 发射和sink接受,短语音测试,用es8311单声道编解码, 目前sink端读取 es8311 i2c地址正确。

sink端不能产生 I2S输出信号。I2S引脚 P1.08 MCLK  P1.11  BCLK  P1.12 LRCLK  P1.09 SDout

同意的代码逻辑在nRF5340+es8311是正常的
打印信息如下:

15:38:06.771]收←◆W: nrfx GRTC init returned -120 (MPSL may have already initialized it)
*** Booting nRF Connect SDK v3.3.0-ba167d9f3db4 ***
*** Using Zephyr OS v4.3.99-fd9204a02d52 ***
I: [0;32m
nRF5340 Audio nRF5340 Audio DK cpuapp
NCS base version: 3.3.0
Cmake run : Wed Jun 10 15:30:01 2026[0m
I: 2 Sectors of 4096 bytes
I: alloc wra: 1, de0
I: data wra: 1, 1f0
I: SoftDevice Controller build revision:
I: 27 03 7d 53 04 8d fe 99 |'.}S....
I: a9 f2 9a ad de 5b 6a e2 |.....[j.
I: 74 6c ac 75 |tl.u
W: Num of Controller's ACL packets != ACL bt_conn_tx contexts (3 != 2)
I: Controller: SoftDevice: Version 6.2 (0x10), Revision 12451
I: Local identity addr: FE:58:F5:0B:90:0D (random)
I: ===== Start I2C Bus Device Dump (bus: i2c@104000) =====
I: ES8311 found at 0x18, scanning I2C address range: 0x01 ~ 0x7F

[15:38:06.878]收←◆I: I2C Bus Dump done 鈫?total found: 1 device(s)
I: ===============================================

I: I2C pull-up handled by TWIM pinctrl bias-pull-up (no manual GPIO config)
I: I2C ctrl open success, dev addr:0x18, I2C dev:i2c@104000
I: Create NRF5340 Zephyr I2C ctrl instance success
I: GPIO interface instance created success (NRF5340 Zephyr)
I: ADC started
I: DAC started
I: Open codec device OK
W: APLL (HFCLKAUDIO) not available, drift compensation disabled
I: Local addr: FE:58:F5:0B:90:0D (random). May time out. Updates not printed
I: Scanning successfully started

[15:38:07.208]收←◆I: PA synced to name: NRF5340_BROADCASTER, id: 0xc64f6e, addr: FA:79:36:35:6E:0C (random)

[15:38:07.807]收←◆I: Syncing to broadcast stream index 0x0001 (bitfield)
W: Presentation delay not supported: 3000 us
W: Keeping current value: 10000 us

[15:38:08.415]收←◆I: Stream index 0 started
I: LC3 codec config for sink:
I: Frequency: 48000 Hz
I: Duration: 10000 us
I: Chan alloc: 0x1
I: Oct pr frame: 120 (96000 bps)
I: Frames pr SDU: 1
W: Stream not started
W: Stream not started
W: Stream not started
I: Stream stopped by user
I: Stream index 0 stopped. Reason: 22

 

  • Hi,

    I am sorry that I can't reply in Chinese here, all the support communication here is done in English. Though by translating what you've said, I do get some understanding of what you are struggling with. 

    Is the idea that you are getting this LE Audio setup working with the 54L15, but on the 5340 you are not getting an output on the es8311? Are these custom boards you are working with? 

    Regards,

    Elfving

Related