<?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>pdm clock can&amp;#39;t gernerate,</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22473/pdm-clock-can-t-gernerate</link><description>i use nrf52_DK to debug PDM with a digital MIC, and select the P0.09 for the PDM clk, but i have not see any clock signal output, is it right? and i also haven&amp;#39;t see the convet date, what&amp;#39;s wrong?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Jun 2017 13:39:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22473/pdm-clock-can-t-gernerate" /><item><title>RE: pdm clock can't gernerate,</title><link>https://devzone.nordicsemi.com/thread/88346?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2017 13:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29785a6e-f4dd-4d74-9263-92c988437eea</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;What does your code look like?&lt;/p&gt;
&lt;p&gt;When I test here, the following code will generate a clock output:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define PIN_CLK_OUTPUT 4


int main(void)
{ 	
		NRF_PDM-&amp;gt;PSEL.CLK = (PIN_CLK_OUTPUT &amp;lt;&amp;lt; PDM_PSEL_CLK_PIN_Pos) | (PDM_PSEL_CLK_CONNECT_Connected &amp;lt;&amp;lt; PDM_PSEL_CLK_CONNECT_Pos);
			
		NRF_PDM-&amp;gt;PDMCLKCTRL = (PDM_PDMCLKCTRL_FREQ_Default &amp;lt;&amp;lt; PDM_PDMCLKCTRL_FREQ_Pos);
		
		NRF_PDM-&amp;gt;ENABLE = (PDM_ENABLE_ENABLE_Enabled &amp;lt;&amp;lt; PDM_ENABLE_ENABLE_Pos);
    
		NRF_PDM-&amp;gt;TASKS_START = 1;
		
    while (true)
    {

    }
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>