<?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>i2S digital microphone with nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12875/i2s-digital-microphone-with-nrf52832</link><description>I am using a digital microphone using i2S interface with the following signals: BCLK (bit clock), WS (word strobe), SELECT (select for Left/Right) and SDOUT (digital data output). 
 On nRF52 there are five main signals for i2S including MCLK, LRCLK,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Aug 2016 10:53:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12875/i2s-digital-microphone-with-nrf52832" /><item><title>RE: i2S digital microphone with nRF52832</title><link>https://devzone.nordicsemi.com/thread/48986?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 10:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eff817b-c0b6-4d38-a87c-493eea0b0565</guid><dc:creator>NewtoM</dc:creator><description>&lt;p&gt;Hi Faizan,&lt;/p&gt;
&lt;p&gt;have you ever succeeded with interfacing the digital microphone? I am right now trying to use a Knowles I2S mic and I am having issues as stated in &lt;a href="https://devzone.nordicsemi.com/question/90647/i2s-32-bit-word-size/"&gt;my other question&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Any help would be appreciated!
NewtoM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2S digital microphone with nRF52832</title><link>https://devzone.nordicsemi.com/thread/48991?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 11:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db16049-ae1b-44f9-8c37-854b3e86e1e8</guid><dc:creator>NewtoM</dc:creator><description>&lt;p&gt;Hi Khaled,&lt;/p&gt;
&lt;p&gt;check out the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/i2s_example_loopback.html?cp=6_0_0_4_5_8"&gt;I2S example in the SDK&lt;/a&gt;. You will find a line &lt;code&gt;err_code = nrf_drv_i2s_init(&amp;amp;config, data_handler);&lt;/code&gt; in the main. If you track down &lt;code&gt;config&lt;/code&gt;, you will see it has the type &lt;code&gt;nrf_drv_i2s_config_t&lt;/code&gt; and the default values stored in &lt;code&gt;NRF_DRV_I2S_DEFAULT_CONFIG&lt;/code&gt;. Now it you look at that more precisely in &lt;code&gt;nrf_drv_i2s.h&lt;/code&gt; then you will see that the pins have following values:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define I2S_CONFIG_SCK_PIN      22
#define I2S_CONFIG_LRCK_PIN     23
#define I2S_CONFIG_SDIN_PIN     25
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;as defined in &lt;code&gt;nrf_drv_config.h&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Look &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/dev_kit_v1.1.0/hw_drawings_v1.0.html?cp=2_0_0_1_0"&gt;here&lt;/a&gt; to see where those pins are on the development board.&lt;/p&gt;
&lt;p&gt;I hope that helps.&lt;/p&gt;
&lt;p&gt;NewtoM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2S digital microphone with nRF52832</title><link>https://devzone.nordicsemi.com/thread/48990?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 09:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b5597b-24c1-4369-9173-d0a413805c30</guid><dc:creator>Sheikh_Khaled_Dubai</dc:creator><description>&lt;p&gt;where are the pins in the nRF52 for :
SCLK
LRCLK
SDIN
thnx a lot !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2S digital microphone with nRF52832</title><link>https://devzone.nordicsemi.com/thread/48989?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 08:35:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bf6982f-e393-43d4-b8a3-38e5654a0030</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;See the updated answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2S digital microphone with nRF52832</title><link>https://devzone.nordicsemi.com/thread/48988?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 16:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f3151c7-bc63-483f-a7fb-a18d94a0d13c</guid><dc:creator>worldsnexthero</dc:creator><description>&lt;p&gt;Thanks for your explanation. This makes sense, however I am still unsure about the WS pin. Here is the datasheet of the microphone I&amp;#39;m using:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.knowles.com/eng/content/download/5988/105771/version/4/file/SPH0645LM4H-BRevB.PDF"&gt;www.knowles.com/.../SPH0645LM4H-BRevB.PDF&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i2S digital microphone with nRF52832</title><link>https://devzone.nordicsemi.com/thread/48987?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 14:56:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4201aa49-a2ce-454b-ab0d-cb7526c151f1</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;The i2s peripheral on the nRF52 is made to cover all use cases. You do not have to use all pins on the nRF52. You can disable the pins you do not need.
You can find the documentation of the nRF52 i2s peripheral &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/i2s.html?cp=1_2_0_42#concept_z2v_24y_vr"&gt;here&lt;/a&gt;, you should read that if you haven&amp;#39;t.&lt;/p&gt;
&lt;p&gt;You should connect your microphone like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Microphone - nRF52
BCLK       - SCLK
WS         - LRCLK
STDOUT     - SDIN 
SELECT     - GND / VDD
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I am not sure what WS is, can you post a link to the microphone?&lt;/p&gt;
&lt;p&gt;UPDATE April 1st. 2016:&lt;/p&gt;
&lt;p&gt;After investigating the data sheet, i now understand the relation between WS and SELECT.WS is to alternate for every frame, and toggle between left and right. When you have two microphones on the same i2s bus, this will toggle between the two microphones. But how do the microphones know if they are left or right? This is where SELECT comes in. Pull the SELECT on one mic to GND, and the SELECT of the other mic to VDD. The microphones will send audio when the WS input matches the SELECT value. This means that WS should be connected to LRCLK, not SELECT as i though before reading the data sheet of the mic. I have updated the above &amp;quot;table&amp;quot;. Read about this on page 6 and 7 in the data sheet.&lt;/p&gt;
&lt;p&gt;-Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>