Audio streaming between dk and audio dk over BLE is not happening on nRF5340

Hi Nordic Team,

My project goal is to send sensor data and audio stream from PDM mic over BLE from nRF5340 to another nRF5340 board.

For this I have split the project into two phases. In first phase I am able to send sensor data from nRF5340 dk board to nodeMCU(which in turn connects over USB-COM to PC for data analyses). 

In second phase, I used nRF5340 dk and audio dk boards to stream the PDM mic audio data. Initially I flashed unicast server (IDE: nRF connect for VScode) sample code on dk board and audio dk board is configured in headset mode. Then both boards are connected over BLE and the sample code (a beep sound is heard on headset connected to audio dk board) is tested OK. I interfaced PDM mic to dk board on same example project and did some modifications to replace sample audio buffer with PDM mic's PCM data buffer. Unfortunately, I couldn't hear sound played across mic.

Currently I planning to use 2 audio dk boards for PDM mic data stream. Since the audio dk application is a customized code, I need guidance and continuous support to modify the code in achieving the requirement.

Please give your support.

regards,

Naveen

Related