I cannot find an example project for using the PDM module on SDK 15.3.0. Can you please direct me to where I will be able to find such an example project?
Thank you.
I cannot find an example project for using the PDM module on SDK 15.3.0. Can you please direct me to where I will be able to find such an example project?
Thank you.
Hi, Sarnab I too, have the same question as yours. So how far have you reached?I tried the example which Simonr have provided the link for the example. But I am getting the following errors:
undefined reference to `nrfx_pdm_init' and undefined reference to `nrfx_pdm_start'
@ Simonr if you have any idea about how can I solve the above errors?
Hi Sara, I was able to get it working though I have not extensively tested if the data is valid. To get the nrfx_pdm_xxx() functions you have to include nrfx_pdm.h in your project. Hope that helps. Also if you are able to get meaningful data please let me know what you did!
Hi Sara, I was able to get it working though I have not extensively tested if the data is valid. To get the nrfx_pdm_xxx() functions you have to include nrfx_pdm.h in your project. Hope that helps. Also if you are able to get meaningful data please let me know what you did!
Yes, I have included the nrfx_pdm.h but getting nrfx_pdm_init undefined and nrfx_pdm_start undefined references. For that what should I do?
when you right click on nrfx_pdm.h and select 'go to definition' does it take you to the file?
yes it takes me to file to the file and when I right click on nrf_drv_pdm_start it takes me to its macro definition in nrfx_drv_pdm.h as nrfx_pdm_start
Hmm, that is strange. What IDE are you using? I am on Segger Embedded Studio (SES). Are you sure your include paths are set correctly?
yes I have set the paths correctly.I have added #include "nrf_drv_pdm.h" in main .c file , then added the following in the .emProject file <file file_name="../../../../../../modules/nrfx/drivers/src/nrfx_pdm.c" /> is there anything else I am missing?
And I m using SES too. SDK ver 15.3.0