<?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>PWM sync</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68822/pwm-sync</link><description>Hello, 
 I would like to synchronize 2 hardware PWMs between them (nrf52). 
 I mean with NRF_PWM0 and NRF_PWM1. 
 I tried to do this: 
 
 
 
 
 
 But it doesn&amp;#39;t work, my 2 PWMs aren&amp;#39;t synchronized together on rising edge... 
 How do I have to do ? 
 Thank</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Nov 2020 14:21:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68822/pwm-sync" /><item><title>RE: PWM sync</title><link>https://devzone.nordicsemi.com/thread/282109?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 14:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11c9c29b-7187-4424-b7fb-9feee8bb9afc</guid><dc:creator>Marc_O</dc:creator><description>&lt;p&gt;I got it ! It works with this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_PPI-&amp;gt;CH[0].EEP = (uint32_t)&amp;amp;NRF_EGU0-&amp;gt;EVENTS_TRIGGERED[0];
NRF_PPI-&amp;gt;CH[0].TEP = (uint32_t)&amp;amp;NRF_PWM0-&amp;gt;TASKS_SEQSTART[0];
NRF_PPI-&amp;gt;FORK[0].TEP = (uint32_t)&amp;amp;NRF_PWM1-&amp;gt;TASKS_SEQSTART[0];
NRF_PPI-&amp;gt;CHEN = (PPI_CHEN_CH0_Enabled &amp;lt;&amp;lt; PPI_CHEN_CH0_Pos);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>