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

nrf_pdm_task_trigger(NRF_PDM_TASK_START) does not work

Hi, now I'm developing my projects with SDK 15.2. and Thingy:52.

The projects are bt-audio-advertiser and bt-audio-receiver.

I adapted extended advertising to a Thingy:52 project, bt-audio-advertiser, successfully. It advertises with 216 bytes manufacture's data and dynamically changes the data each second.

And other Thingy:52 project, bt-audio-receiver, can scan the extended advertisement.

I want to get PDM data of a mic of the Thingy:52 and load the data to the manufacture's data of bt-audio-advertiser.

But Thingy:52 F/W is made of SDK 13. So I migrated legacy nRF drivers including PDM to bt-audio-advertiser.

I can build it, but when I run debug mode, the Thingy stops while running nrf_pdm_task_trigger(NRF_PDM_TASK_START) in nrf_drv_pdm_start function of nrf_drv_pdm.c.

Following image is when the Thingy stops.

I also uploaded my projects in Dropbox.

I can't debug deeper than nrf_pdm_task_trigger(NRF_PDM_TASK_START).

What's the cause of that?

 

 

Parents Reply Children
No Data
Related