<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97713/how-to-set-additional-pdm-microphone-in-nrf5340-audio-sample</link><description>Hello, 
 As the title, I&amp;#39;m using nRF5340 audio sample to test Walkie Talkie demo. 
 I know that in nRF5340 audio DK, the microphone is set through CS47L63. Now I want to use the nRF5340 module (custom board) to test the Walkie Talkie demo. I replaced</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Dec 2025 09:52:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97713/how-to-set-additional-pdm-microphone-in-nrf5340-audio-sample" /><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/555838?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2025 09:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0cd40db-9df2-4e6a-8bd3-a080c17bbcdf</guid><dc:creator>matteoiervasi</dc:creator><description>&lt;p&gt;Hey update: I&amp;#39;ve managed to hack a bit the sample and get something. It&amp;#39;s actually not that much to add. The code is ugly I know, but it works.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m able to record the received audio with Audacity.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve published the code at&amp;nbsp;&lt;a id="" href="https://github.com/JackHack96/ble-microphone"&gt;https://github.com/JackHack96/ble-microphone&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/555371?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 12:08:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:024e050b-6622-4c42-a9e6-ec4fedfd1a19</guid><dc:creator>matteoiervasi</dc:creator><description>&lt;p&gt;I&amp;#39;m also in a similar situation.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried the normal walkie talkie demo using two nRF5340 Audio DK ant it works beautifully. Now I&amp;#39;m trying to modify the setup using a nRF5340DK as the unicast server, which has a PDM microphone attached and no hardware codec. The unicast client instead is just receiving the audio and sending it to USB.&lt;/p&gt;
&lt;p&gt;So far I&amp;#39;m trying to exclude the hardware codec and then I&amp;#39;ll probably try connecting directly the PDM with the audio pipeline.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/555274?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2025 17:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afa9b2f7-ba29-46a5-8a55-37c06faefa21</guid><dc:creator>LjHuang</dc:creator><description>&lt;p&gt;Hi @LandyWang, @Sigurd and @Anushikha,&lt;/p&gt;
&lt;p&gt;Sorry to reopen this old thread, but I am working on exactly the same problem and I&amp;rsquo;m very interested in the final result.&lt;/p&gt;
&lt;p&gt;I am also using the `nrf5340_audio` sample (Walkie Talkie demo), and I would like to replace the CS47L63 microphone path with an external PDM microphone.&lt;/p&gt;
&lt;p&gt;From this discussion I understand that:&lt;br /&gt;- The audio application currently expects I2S audio coming from CS47L63.&lt;br /&gt;- At the time of this thread, PDM microphones were not officially supported in the audio application and the user had to implement the PDM &amp;rarr; I2S / PCM path by themselves.&lt;/p&gt;
&lt;p&gt;I would really like to know:&lt;/p&gt;
&lt;p&gt;1. @LandyWang, were you eventually able to interface an external PDM microphone with the `nrf5340_audio` Walkie Talkie demo and get it working?&lt;/p&gt;
&lt;p&gt;2. If yes, could you please:&lt;br /&gt; - Briefly describe the overall approach (for example: PDM &amp;rarr; PCM &amp;rarr; I2S Tx, or directly injecting PCM frames into the audio pipeline), and &lt;br /&gt; - Share any example you are allowed to provide, such as a minimal working project, code snippets (devicetree, Kconfig, initialization, buffer handling), or even just a simplified demo showing the key parts?&lt;/p&gt;
&lt;p&gt;3. @Sigurd, has there been any update since then on official support or recommended examples for using an external PDM microphone (instead of CS47L63) in the `nrf5340_audio` application?&lt;/p&gt;
&lt;p&gt;For context, my current setup is:&lt;/p&gt;
&lt;p&gt;- Board: nRF5340 Audio DK (PCA10121)&lt;br /&gt;- SoC: nRF5340&lt;br /&gt;- External PDM microphone: ST MP45DT02&lt;br /&gt;- nRF Connect SDK: v2.5.2&lt;br /&gt;- Goal: use the external PDM microphone as the audio source for the `nrf5340_audio` Walkie Talkie application.&lt;/p&gt;
&lt;p&gt;Even a short summary of what worked / did not work for you, or any small working example you can share, would be extremely helpful. &lt;br /&gt;Thank you very much for your time and for any hints you can share!&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;LjHuang&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/484598?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 04:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a44f0dc1-97f5-4898-badf-f26feca30ecf</guid><dc:creator>Anushikha</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;br /&gt;Were you able to interface with the external&amp;nbsp;PDM mic?&lt;br /&gt;Since the Dmic sample has many limitations with nrf5340 audio DK I am also thinking of using the external PDM mic. It would be very helpful if you guide me on this, where to start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/417287?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 05:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2585743b-4fa3-4254-95c1-f43f784d1eed</guid><dc:creator>LandyWang</dc:creator><description>&lt;p&gt;Ok, I see. Thank you for your assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/416825?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 13:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbddf32d-942b-4171-9c8f-c70ec272a694</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I checked with the Audio team, and your assumptions are correct. We don&amp;#39;t support PDM MIC at this moment in the audio application, and you currently need to implement this by yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/415870?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 03:59:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78d9a2f7-3e69-46ff-9220-2bbf19abab84</guid><dc:creator>LandyWang</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I looked a bit more into the code.&lt;/p&gt;
&lt;p&gt;On the hardware, CS47L63 is connected with a digital microphone. After sending the command in the code, CS47L63 transmits the Mic in data to I2S Tx.&lt;/p&gt;
&lt;p&gt;Therefore, the Walkie Talkie demo is actually dealing with I2S in audio, but the input source is Mic in data converted by CS47L63.&lt;/p&gt;
&lt;p&gt;To implement the Walkie Talkie demo without using CS47L63, I need to complete the process of sending Mic in data to I2S Tx by myself. This is my current speculation.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If this assumption is true, I would like to ask whether there will be a new version of audio sample that supports external digital mic, and does not need to complete the process of sending Mic in data to I2S Tx by myself?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set additional PDM microphone in nRF5340 audio sample</title><link>https://devzone.nordicsemi.com/thread/415797?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 16:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:037d4944-ad37-466d-ad77-1b2007671e17</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]It seems that if I want to use an additional PDM microphone to test the Walkie Talkie demo, I need to complete the subsequent audio transmission process by myself. Is this inference correct?[/quote]
&lt;p&gt;I believe this is correct, but I will check with our Audio team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>