<?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 - Unable to generate MCK and SCK on nRF 52 board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11611/i2s---unable-to-generate-mck-and-sck-on-nrf-52-board</link><description>Hi, 
 I&amp;#39;m new to embedded development and am trying to interface a 24-bit MEMS microphone (Invensense ICS-43432) using I2S with nRF52 Dev board (PCA10040, V 0.9.0, 2015.39). 
 Also, I&amp;#39;m using this nRF52 SDK (version 0.9.2) . 
 I am unable to detect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2017 12:31:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11611/i2s---unable-to-generate-mck-and-sck-on-nrf-52-board" /><item><title>RE: I2S - Unable to generate MCK and SCK on nRF 52 board</title><link>https://devzone.nordicsemi.com/thread/43897?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 12:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52f8264c-036f-47a3-9a52-ae2ebfeeaac4</guid><dc:creator>Morten</dc:creator><description>&lt;p&gt;Hi, I had what I think is the same problem with a Knowles microphone(SPH0645LM4H-B). A similar question(duplicate?) is located &lt;a href="https://devzone.nordicsemi.com/question/84906/i2s-sclk-and-lrck-nrf52832-dk/"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And I think that we are all struggling with these two conditions from the product specification:&lt;/p&gt;
&lt;pre&gt;
When configuring these registers, the user is responsible for fulfilling the following requirements:

  1. SCK frequency can never exceed the MCK frequency, which can be formulated as:

      CONFIG.RATIO &amp;gt;= 2 * CONFIG.SWIDTH

  2. The MCK/LRCK ratio shall be a multiple of 2 * CONFIG.SWIDTH, which can be formulated as:

      Integer = (CONFIG.RATIO / (2 * CONFIG.SWIDTH))
&lt;/pre&gt;
&lt;p&gt;We all have a microphone that has a bit width of 24, that excludes all ratio settings except for 48,96,192,384. The SCL/LRCLK is required from the datasheet to be 64, but the only ratio from these settings are 48.&lt;/p&gt;
&lt;p&gt;Please correct me if I am wrong, I would really like to get my microphone up and running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S - Unable to generate MCK and SCK on nRF 52 board</title><link>https://devzone.nordicsemi.com/thread/43896?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 14:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6060c066-39b0-42ed-bd9e-545a2fb10bc7</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;I think you would probably want to use some other GPIO pins than 0 and 1 since they are used by the crystal on the NRF52 DK board. Check the backside of the board to see which pins are already in use by the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S - Unable to generate MCK and SCK on nRF 52 board</title><link>https://devzone.nordicsemi.com/thread/43895?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2016 20:47:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e59cd0c-34d3-486d-a556-e48cf954c885</guid><dc:creator>Shashi</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;Thank you for looking in to this.&lt;/p&gt;
&lt;p&gt;Yes. I&amp;#39;ve spent a lot of time trying to get this working on nRF52. At this point, is there anything you can do to help resolve this issue? I&amp;#39;m thinking of giving up on nRF52. Do you have any ETA for the 1.0 version of nRF52 SDK and the example/driver for i2S?
Does the above code look right? Do I have to use the low-level API to work with i2S?&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;Cheers,
Shashi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S - Unable to generate MCK and SCK on nRF 52 board</title><link>https://devzone.nordicsemi.com/thread/43894?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2016 07:28:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b61e45ff-c5c2-4498-85d5-45abaf5ec91d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Shashi, do you still have this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>