<?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 - nRF52840 SDK 15.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56555/pdm---nrf52840-sdk-15-2</link><description>I&amp;#39;m having trouble with PDM on SDK15.2 with nRF52840. 
 The raw data buffers are only half full. The last half are zero&amp;#39;s, therefore recorded voice has a robotic sound to it. 
 What I tried: 
 1) Went thru Thingy firmware thoroughly. As the other forum</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jan 2020 18:37:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56555/pdm---nrf52840-sdk-15-2" /><item><title>RE: PDM - nRF52840 SDK 15.2</title><link>https://devzone.nordicsemi.com/thread/229120?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 18:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bc1930f-0e45-449a-80bb-75b54583e4bf</guid><dc:creator>BitsAndBytes</dc:creator><description>&lt;p&gt;After many hours.... just found the bug. It was on my side.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;memcpy(ptrBuffer-&amp;gt;buf, p_buffer, samples);&lt;/strong&gt; was only copying half the data. Should be&amp;nbsp;&lt;strong&gt;memcpy(ptrBuffer-&amp;gt;buf, p_buffer, (samples * sizeof(int16_t))); .....&lt;/strong&gt; well duh, so it goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM - nRF52840 SDK 15.2</title><link>https://devzone.nordicsemi.com/thread/229118?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 18:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f1e4d8-d537-48c4-9614-880f886ffe30</guid><dc:creator>BitsAndBytes</dc:creator><description>&lt;p&gt;Btw, the MEMS used is either a&amp;nbsp;MP34DT01-M or a&amp;nbsp;&lt;span&gt;SPK0415HM4H on an Adafruit dev board.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;... and I&amp;#39;ve tried both rising and falling edge.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>