nRF5340 PDM Mic data send over BLE to PC/mobile to process the audio file

Hi nRF Team,

I would like to know more detailed operation of LE audio profile on nRF5340.

My requirement is to continuously process PDM mic ( PCM data ) interfaced to nRF and send that PCM data over BLE to PC/Mobile(any app is available) to process further for audio. I dont need any audio board other side to process the data because only PC/mobile is allowed.

As of now, I have nRF5340 dk board and interfaced PDM mic, please see following log for confirmation.

PDM_outputdata_280624.txt 

After some exploration I came to know that there is a nRF5340 audio dk board. I have gone through the device datasheet, it is mentioned in BLE specs that it has a version of 5.3 with LE audio profile where as simple dk board doesnot have LE audio. How these two boards are different each other? Can I use nRF5340 dk board to proceed for my required development or shall I purchase nRF audio dk board.

Is any of these boards can fullfil my requirement?

Thanks in advance.

Regards,

Argus

Parents Reply
  • Hi Dejans,

    I am taking the sample code is Dmic sample in that do_PDM_transfer function is there,In this function I added below logic. 

    uint16_t *data_ptr = (int *)buffer;
            for(int j = 0; j < size/2; j++){
                printk("%x ", *data_ptr);
                data_ptr++;
            }

    This data can convert to .wave or any other audio format file? 

Children
Related