This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PDM does not work in Thingy:52 with SDK 15.2

Hi, now I'm developing my projects(bt-audio-advertiser) with SDK 15.2. and Thingy:52.

I want to load PDM data to extended advertising packets. I succeeded to use extended advertising with Thingy:52 and SDK 15.2.

But I can't load PDM data to extended advertising packets. Of course Thingy:52 project has PDM driver. But the project is made of SDK 13.

I already asked migrating the PDM driver to SDK 15.2 in Nordic DevZone. Because there had been no answers, I gave up migrating the PDM drvier to SDK 15.2. I used nrfx_pdm module for my project. I can build it and run it. But I think that the PDM function does not work well. Because PDM buffer data doesn't change.

I uploaded my project in Dropbox.

What's the problem?

Parents
  • Hello,

    First, I just have to say that using advertising packets to transfer audio data doesn't sound like the best idea for two reasons:

    1: Advertisements are not reliable. You can't guarantee in any way, or figure out whether or not a packet was actually picked up on the receiver.

    2: Advertisement packets doesn't have a very high throughput, and you have to "manually" update the advertising data.

    That being said. It seems like your problem is the PDM setup. Can you please check the return value of nrfx_pdm_buffer_set() (drv_mic_start() -> drv_audio_enable() -> nrfx_pdm_buffer_set().

    Does it return NRFX_SUCCESS (==0)?

    BR,

    Edvin

    1. I know it. But I have to do it because I contracted to develop it for my client.
    2. I solved it. I missed to change thingy H/W version to THINGY_HW_v1_0_1.
Reply Children
No Data
Related