<?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 &amp;amp; TWI aren&amp;#39;t working together well (SDK 15.3.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54930/pdm-twi-aren-t-working-together-well-sdk-15-3-0</link><description>Hi, 
 I have similar problem to what is described here . 
 My situation: 1. I connect 2 PDM mics to the board (CLK is pin 27, Din is pin 26). 2. I connect a couple of TWI (I2C) sensors to the board (SCL is ARDUINO_13_PIN, SDA is ARDUINO_12_PIN, NRF_DRV_TWI_FREQ_400K</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Dec 2019 18:18:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54930/pdm-twi-aren-t-working-together-well-sdk-15-3-0" /><item><title>RE: PDM &amp; TWI aren't working together well (SDK 15.3.0)</title><link>https://devzone.nordicsemi.com/thread/223701?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 18:18:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7812548-6e8e-4704-a5e6-ae7d33e89297</guid><dc:creator>H&amp;#229;kon</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Good that your program does not crash anymore!&lt;br /&gt;Which lagging are you referring to?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Btw, did you try to run you program with RTT istead of UART to preserve logging?&lt;/p&gt;
&lt;p&gt;The case you refer to ended since the developer who raised the issue&amp;nbsp;didn&amp;#39;t follow up our answers.&amp;nbsp;&lt;br /&gt;This is not a known issue to our knowledge.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM &amp; TWI aren't working together well (SDK 15.3.0)</title><link>https://devzone.nordicsemi.com/thread/223287?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 11:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a8bf754-4e05-4af0-9f25-d42994d2591d</guid><dc:creator>Or</dc:creator><description>&lt;p&gt;I commented out all the NRF_LOG_*() calls, now it doesnt crash, but the lagging issue isnt solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM &amp; TWI aren't working together well (SDK 15.3.0)</title><link>https://devzone.nordicsemi.com/thread/222529?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 08:19:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de623dcc-7279-4887-8369-f48259dc027b</guid><dc:creator>H&amp;#229;kon</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems that there at least is a problem with the logging, hence the log backend uart error.&lt;br /&gt;I have asked our engineer who handled the case you refer to, hopefully he can give us some more insight into what they figured out back then.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am wondering if you are trying to log too much over the UART peripheral.&lt;br /&gt;Could you try to reduce your amount of printing, but still use all three sensors?&lt;br /&gt;You could try to increase the UART baud rate The default baud rate is 115200, but could be higher.&lt;/p&gt;
&lt;p&gt;If reduced debug logs is not an option, or increasing the baud rate did not help I will suggest you to change logging backend to RTT.&lt;br /&gt;This is easily done in the sdk_config.h, selecting default logging backend to RTT instead of using UART.&amp;nbsp;&lt;br /&gt;You need RTT viewer in order to read the RTT logs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>