I want to integrate the PDM microphone with thingy53, I found no particular sample code for it
Would be needing help from scratch
I want to integrate the PDM microphone with thingy53, I found no particular sample code for it
Would be needing help from scratch
Hi Rakshita
Have you tested the DMIC sample in the SDK?
It is not officially supported on the Thingy53, but it does support the nRF5340DK. If you copy and rename the nrf5340dk_nrf5340_cpuapp.overlay file to thingy53_nrf5340_cpuapp.overlay, and change the pins as necessary, I would expect the example to work on the thingy as well.
Not sure what you mean about repeating output? If I understand you correctly the clock output from the nRF53 is fine, but the data from the microphone seems wrong? Would you be able to attach a trace/scope capture?
Best regards
Torbjørn
dmic is not working with thingy53 even after changing the overlay files
So should I change the gain value?
And what about this
RMS value: 43.991271
RMS value: 54.246826
RMS value: 75.447407
RMS value: 97.405862
RMS value: 99.503123
RMS value: 99.571268
RMS value: 478.356399
RMS value: 492.462257
RMS value: 501.362197
RMS value: 502.130812
RMS value: 491.400654
RMS value: 473.611738
If some sound is also detected there should be a threshold value right to compare so how is that decided
Hi Rakshita
In order to configure the microphone you need to use the vesper, vm3011 driver and configure it over the I2C interface. The snoring example I shared earlier shows you how you can set this up in the overlay, but unfortunately this driver is not available in the official Zephyr repository. Instead it is provided here as part of the EdgeImpulse fork of the SDK.
Do you know how to merge this driver from one SDK to another, so that you can use it from the nRF Connect SDK?
If not I can try to provide a patch making this process easier.
Best regards
Torbjørn
Hi Rakshita
In order to configure the microphone you need to use the vesper, vm3011 driver and configure it over the I2C interface. The snoring example I shared earlier shows you how you can set this up in the overlay, but unfortunately this driver is not available in the official Zephyr repository. Instead it is provided here as part of the EdgeImpulse fork of the SDK.
Do you know how to merge this driver from one SDK to another, so that you can use it from the nRF Connect SDK?
If not I can try to provide a patch making this process easier.
Best regards
Torbjørn