<?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>Simultaneous DSP and LE Audio transmission on nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/129332/simultaneous-dsp-and-le-audio-transmission-on-nrf5340</link><description>My desired work flow is the following. 
 Input: Two electret microphones -&amp;gt; Audio ADC -&amp;gt; I2S Stereo -&amp;gt; nrf5340 
 Processing: Buffers (10-50 bytes) channel 2 to create delay, subtracts delayed channel 2 from channel 1, and outputs single-channel signal</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Nov 2026 23:34:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/129332/simultaneous-dsp-and-le-audio-transmission-on-nrf5340" /><item><title>RE: Simultaneous DSP and LE Audio transmission on nrf5340</title><link>https://devzone.nordicsemi.com/thread/573025?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2026 23:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6298c9dc-f081-4bc4-bd71-a37b2968f331</guid><dc:creator>npwalker</dc:creator><description>&lt;p&gt;I ended up choosing a different codec that makes my design much easier. Now, the codec handles audio jack detection and headphone driving. So the nRF5340 only needs to worry about receiving the signal along I2S.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have submitted another ticket requesting schematic review &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/129594/schematic-review-request-nrf5340-and-npm1100-bluetooth-microphone"&gt;here&lt;/a&gt;. Thank you very much for your help so far!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simultaneous DSP and LE Audio transmission on nrf5340</title><link>https://devzone.nordicsemi.com/thread/572555?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2026 14:23:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b65ac7b-3e4c-4e06-b2b3-40e9728829c5</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="npwalker"]Any heavy processing happens at the CS47L63 and my beamforming algorithm happens at the nRF5340?[/quote]
&lt;p&gt;Correct.&amp;nbsp;&lt;/p&gt;
[quote user="npwalker"]In this way, wouldn&amp;#39;t a single I2S interface between&amp;nbsp;CS47L63 and&amp;nbsp;nRF5340 would need to handle input and output? Is that feasible?[/quote]
&lt;p&gt;The I2S peripheral on the nRF5340 can handle simultaneous input and output. This seems to also be the case for the CS47L63.&amp;nbsp;&lt;/p&gt;
[quote user="npwalker"]I have purchased a&amp;nbsp;nRF5340 Audio DK. I&amp;#39;ll be using/testing the nRF Connect SDK for VS Code and the nrf_audio application. I assume that the walkie-talkie demo will help me get going? Any advice on where to start modifying this to implement my beamforming algo?&amp;nbsp;[/quote]
&lt;p&gt;Do you have one or several Audio DKs? The full functionality of the walkie-talkie demo is enabled with two DKs running compatible walkie-talkie firmware (one client and one server). Functionality-wise, the demo has one PDM microphone input on each DK and has a bidirectional CIS connection between the two DKs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding modifications, you would at the very least need to catch the microphone data to do the processing. All audio related source code is found in nrf_audio\src\audio. If you add a DMIC to a walkie-talkie device you would also have to make sure that the data from both microphones are picked up accordingly. At this point I am not sure if this is only on the CS47L63 side or in the appliation firmware somewhere, though.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope you&amp;#39;ll be able to get something up and running from this. Please let us know if you have further questions or if you run into issues, and we&amp;#39;ll help out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simultaneous DSP and LE Audio transmission on nrf5340</title><link>https://devzone.nordicsemi.com/thread/572335?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2026 00:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e6b813-01f8-4a36-a8cd-8d95e9e763b2</guid><dc:creator>npwalker</dc:creator><description>&lt;p&gt;Let me make sure I understand. I&amp;nbsp;&lt;em&gt;could&lt;/em&gt; just have my microphones input to nRF5340 and do the limited amount of processing I mentioned. However, you are saying that I will likely want the&amp;nbsp;CS47L63 as an interface since it is much more feature rich for audio processing (EQ and filtering for example).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, I&amp;#39;ve updated my architecture slightly. I&amp;#39;m now using two digital MEMS microphones with PDM output like &lt;a href="https://docs.nordicsemi.com/r/bundle/ps_nrf5340/page/pdm.html"&gt;Figure 7&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So to comply with your advice, I should have the following:&lt;/p&gt;
&lt;p&gt;Input: 2 DMICs -&amp;gt;&amp;nbsp;CS47L63 (PDM pins &lt;a href="https://www.cirrus.com/docs/ds/cs47l63-datasheet.pdf"&gt;Figure 2-1&lt;/a&gt;) -&amp;gt; nRF5340&lt;/p&gt;
&lt;p&gt;Any heavy processing happens at the CS47L63 and my beamforming algorithm happens at the nRF5340?&lt;/p&gt;
&lt;p&gt;Then my outputs 2 returns nRF5340 -&amp;gt;&amp;nbsp;CS47L63 -&amp;gt; headphone jack&lt;/p&gt;
&lt;p&gt;In this way, wouldn&amp;#39;t a single I2S interface between&amp;nbsp;CS47L63 and&amp;nbsp;nRF5340 would need to handle input and output? Is that feasible?&lt;/p&gt;
&lt;p&gt;I have purchased a&amp;nbsp;nRF5340 Audio DK. I&amp;#39;ll be using/testing the nRF Connect SDK for VS Code and the nrf_audio application. I assume that the walkie-talkie demo will help me get going? Any advice on where to start modifying this to implement my beamforming algo?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simultaneous DSP and LE Audio transmission on nrf5340</title><link>https://devzone.nordicsemi.com/thread/571934?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2026 11:48:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42426434-584d-4644-afb7-50806aa3cf72</guid><dc:creator>Samruddhi Jadhav</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have discussed this internally with the team and have some feedback here from them. From your description here, it doesn&amp;#39;t sound too demanding CPU usage wise so we think you could manage without a DSP hardware codec or anything like that. So you should use the nRF5340. However, please note that, once you decide to implement an audio feature, you end up wanting to do a lot of other things too and these functions can be quite CPU-demanding. The Cirrus Logic chip on our audio dk is extremely powerful and it&amp;#39;s a good starting point. We do not have any specific recommendations but I would suggest you to contact the regional sales manager of your area for further information about this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To build further on the first reply in this case, &amp;quot;output 1&amp;quot; problem is valid that it needs a USB host but phones can operate as that. When it comes to &amp;quot;output 2&amp;quot;, we think it should work fine as long as the same sample rate is used just like with a walkie-talkie.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let us know if you have any further questions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Samruddhi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simultaneous DSP and LE Audio transmission on nrf5340</title><link>https://devzone.nordicsemi.com/thread/571903?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2026 22:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbfbf658-cc4f-4cea-bc68-a4683b880c4a</guid><dc:creator>npwalker</dc:creator><description>&lt;p&gt;Thank you for your reply. To your point about output 1, the second nrf5340 will be connected to (and powered by) a phone via USB-C, not a PC. Would that work as well? I saw the reply to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/112946/configure-usb-output-on-nrf5340-audio-dk"&gt;this ticket&lt;/a&gt; and assumed my use-case would also be satisfied.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For output 2, unfortunately if I get output directly from the codec, then output 2 will be skipping the processing step which is required for both outputs. According to the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/r/bundle/ps_nrf5340/page/i2s.html?section=concept_z2v_24y_vr"&gt;specification&lt;/a&gt;, nrf5340 I2S interface supports &amp;quot;simultaneous bidirectional (TX and RX) audio streaming.&amp;quot; So if this&amp;nbsp;nrf5340 is the master, then both the ADC and DAC could share its clock signals and connect to SDIN and SDOUT respectively? Or have I misunderstood? Thank you for your patience. I am trying to understand.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As a side note, I do not wish to use the built-in ADC since it does not meet my minimum audio quality requirement of 16-bit depth.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Simultaneous DSP and LE Audio transmission on nrf5340</title><link>https://devzone.nordicsemi.com/thread/571902?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2026 21:02:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c945a2e1-a048-4810-b9c1-ecd3e13156c8</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Output 1 does not work unless the second nrf5340 is connected to a PC host.The USB peripherial supports device mode only on this MCU.&lt;/p&gt;
&lt;p&gt;Output 2 has the issue that the NRF5340 only supports&amp;nbsp;&lt;em&gt;one&lt;/em&gt; I2S peripherial, and its already used by the mic input. It could work if the mic codec also operates the output and has both input and output available on its I2S interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>