<?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>PWM0 may be interfering with UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108350/pwm0-may-be-interfering-with-uart</link><description>Hello, 
 nRF52840 
 NCS v2.5.0 
 We are using the nRF52840 for our application. The application uses PWM for it&amp;#39;s buzzer, a PWM for it&amp;#39;s LEDs, and also uses two uarts, a spi, and an I2C. We&amp;#39;ve run into an issue where when UART0 is being used there are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Feb 2024 15:03:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108350/pwm0-may-be-interfering-with-uart" /><item><title>RE: PWM0 may be interfering with UART</title><link>https://devzone.nordicsemi.com/thread/470499?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 15:03:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30b05f4b-1857-4e46-8b34-e963a770f232</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Nathan,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t seen any such thing where SPI is interfering with the UART.&lt;/p&gt;
&lt;p&gt;Which pins you are using on the DK, and how does your overlay look like? Also the proj.conf?&lt;/p&gt;
&lt;p&gt;Will you be able to share a mini-project to demonstrate the issue?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM0 may be interfering with UART</title><link>https://devzone.nordicsemi.com/thread/469611?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2024 16:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8d023ce-0fd3-4b1a-b67b-18c607ca2c1b</guid><dc:creator>Nathan45</dc:creator><description>&lt;p&gt;No. Changing the drive strength ended up not doing anything. Sorry.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have any experience with SPI interfering with UART?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Nathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM0 may be interfering with UART</title><link>https://devzone.nordicsemi.com/thread/469331?ContentTypeID=1</link><pubDate>Sat, 17 Feb 2024 01:35:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad2084a1-a501-40e9-8e43-8edbf1e850ce</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Did&amp;nbsp;my suggestion help?: &amp;quot;&lt;em&gt;If the Uart Tx output is S0S1 drive, try changing to H0H1 drive on Tx and see if that affects the magnitude of the spikes&lt;/em&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM0 may be interfering with UART</title><link>https://devzone.nordicsemi.com/thread/469322?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 19:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ceddb2-28ed-43a6-8166-679b00b62c78</guid><dc:creator>Nathan45</dc:creator><description>&lt;p&gt;We&amp;#39;ve actually narrowed it down to UART and SPI. We&amp;#39;ll be starting a new private ticket with our schematic details and such, but we were able to replicate the issue on the nRF52840 dev kit.&lt;/p&gt;
&lt;p&gt;Steps to replicate:&lt;/p&gt;
&lt;p&gt;1: Enable SPI 1 or 2 in zephyr&lt;/p&gt;
&lt;p&gt;2: Use UARTE 1&lt;/p&gt;
&lt;p&gt;3: Check UART output on a computer using terminal emulator or scope.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM0 may be interfering with UART</title><link>https://devzone.nordicsemi.com/thread/469140?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 01:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f6b2bd-42fa-4771-9b72-717cd3fe03a6</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;A circuit of the buzzer drive would be helpful; is the buzzer based on a piezo or coil? If the latter, notoriously noisy, is there a back emf clamp (diode, zener, etc)? Is the PWM drive single ended, half-bridge or full-bridge? &amp;quot;Precise period&amp;quot; sounds like PWM-driven interference, but it could also be one of the other peripherals. Adjacent pins and traces can show some crosstalk, but there is no known issue between PWM0 and UART0 I don&amp;#39;t think. If the PWM pin or trace is close to the Uart pin or trace, try cutting one and hardwire the signal via a different route and pin and see if the interference changes. If the Uart Tx output is S0S1 drive, try changing to H0H1 drive on Tx and see if that affects the magnitude of the spikes. An oscilloscope trace showing the PWM vs Uart would be very helpful to determine any correlation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>