LE Audio streaming between two dev boards is intermittently dropping

Hello,

I have configured 2 nRF5340 boards for LE audio streaming from my mac. Two things I am noticing:

1. The audio is streaming but it is intermittent. Audio plays for about 1-2 seconds before it drops for another 1-2 seconds and then this cycle repeats.

2. The logs indicate that the LC3 codec is configuring for 24000, but nowhere in my configuration is this happening (I am using the project defaults for the nrf5340 audio demo). 

HL [00:00:01.757,843] <inf> le_audio: LC3 codec config for sink:
HL [00:00:01.757,843] <inf> le_audio: Frequency: 24000 Hz
HL [00:00:01.757,843] <inf> le_audio: Duration: 10000 us
HL [00:00:01.757,843] <inf> le_audio: Channel allocation: 0x1
HL [00:00:01.757,843] <inf> le_audio: Octets per frame: 60 (48000 bps)
HL [00:00:01.757,873] <inf> le_audio: Frames per SDU: 1
HL [00:00:01.777,832] <inf> le_audio: LC3 codec config for source:
HL [00:00:01.777,832] <inf> le_audio: Frequency: 24000 Hz
HL [00:00:01.777,832] <inf> le_audio: Duration: 10000 us
HL [00:00:01.777,862] <inf> le_audio: Channel allocation: 0x1
HL [00:00:01.777,862] <inf> le_audio: Octets per frame: 60 (48000 bps)
HL [00:00:01.777,862] <inf> le_audio: Frames per SDU: 1

  • What NCS version are you using? Are you using Broadcast sink and Broadcast source?

    The default sampling rate is 48kHz. Could you try the unmodified nRF5340 Audio applications?

    The log would look like this:

  • I am using 2.9, and I see 'unicast server' and 'unicast client' in the logs, so I do not think I am using the broadcast mode.

  • Got it. Try the unmodified nRF5340 Audio applications for the default sampling rate of 48kHz.

  • Hi Amanda,

    I loaded the unmodified project and that seems to be streaming at 48kHz over LC3. This is interesting because the process I followed was copying this example project for the new one -- I'm not exactly sure what caused the sampling rate to change to 24kHz.

    The unmodified audio application stops streaming after a few seconds which seems like a known issue.

    The only change I've made to the unmodified application is

    CONFIG_AUDIO_SOURCE_I2S=y
    so that I can use the LINE_IN and pass in audio via an aux cable. This exhibits the same bird chirping behavior I mentioned earlier. I've attached a video for reference.

    Are there any solutions for this problem? Has an external USB audio sound card been used to try and work around the mac USB issue?

  • Hi,

    mkimhj said:

    The only change I've made to the unmodified application is

    CONFIG_AUDIO_SOURCE_I2S=y
    so that I can use the LINE_IN and pass in audio via an aux cable. This exhibits the same bird chirping behavior I mentioned earlier.

    Could you provide the device logs from both sides?

    -Amanda H.

Related