<?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</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46820/pwm</link><description>I have a single one of the PWM modules working working with DMA as a 3 output arbitrary waveform generator. This works but I would like to make a 6 output arbitrary waveform generator. 
 Is there a way to synchronize two of the PWM modules together? </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 May 2019 15:02:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46820/pwm" /><item><title>RE: PWM</title><link>https://devzone.nordicsemi.com/thread/184961?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 15:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:028b87df-0262-4b05-a815-8f64d9144bdc</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Great. You can find the PPI driver API &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrfx__ppi.html?cp=5_0_6_9_0_21_1"&gt;here&lt;/a&gt;, if you don&amp;#39;t use the driver, you can find a bare-metal example&amp;nbsp;for ppi in &lt;a href="https://github.com/andenore/NordicSnippets/blob/master/examples/ppi/main.c"&gt;this repo.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM</title><link>https://devzone.nordicsemi.com/thread/184945?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 14:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9299a77-261d-419e-b9b0-a044bd87823a</guid><dc:creator>Jay</dc:creator><description>&lt;p&gt;Thanks I will try this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM</title><link>https://devzone.nordicsemi.com/thread/184899?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 12:43:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2feddf7c-6d3c-48de-820e-8066c045f3b4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, that should be possible. I assume you want to start&amp;nbsp;the 2 PWM instances precisely at the same time ? You could use &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/egu.html?cp=3_0_0_5_7"&gt;EGU&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/ppi.html?cp=3_0_0_5_15"&gt;PPI&lt;/a&gt; for that. Configure a PPI channel with task end-point(TEP) e.g. TASKS_SEQSTART[0] for PWM instance 0, and on the same PPI channel add a fork(FORK[channel].TEP) for TASKS_SEQSTART[0] for PWM instance 1. Then use a EGU event as the PPI event end-point(EEP) that triggers the start of the PWM, and to trigger the EGU event, write 1 to the corresponding EGU TASK.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>