<?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 driver + gpiote + ppi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18119/pwm-driver-gpiote-ppi</link><description>Hello! I need to start a sequence of 26 pulses after getting low level signal on gpiote pin.
I can do it in gpiote event handler but I need it most of the time so I want to use ppi for that here is my code: 
 nrf_ppi_channel_t ppi_channel;
nrf_drv_pwm_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 03 Dec 2016 05:49:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18119/pwm-driver-gpiote-ppi" /><item><title>RE: pwm driver + gpiote + ppi</title><link>https://devzone.nordicsemi.com/thread/69896?ContentTypeID=1</link><pubDate>Sat, 03 Dec 2016 05:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ed68089-c099-4f74-a81c-bd984839a989</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;I got it. For odd number we need &lt;code&gt;NRF_PWM_TASK_SEQSTART1&lt;/code&gt; task&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pwm driver + gpiote + ppi</title><link>https://devzone.nordicsemi.com/thread/69895?ContentTypeID=1</link><pubDate>Sat, 03 Dec 2016 03:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b106c3d-9ef7-4c22-a73b-575bddbc6f3f</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Thank you. It&amp;#39;s worked. As you told I commented out &lt;code&gt;start_playback&lt;/code&gt; inside the &lt;code&gt;nrf_drv_pwm_simple_playback&lt;/code&gt; function. and replace this function into my HX711_init function.
but I have to point one pulse less in parameter of this playback function (in my case 25) otherwise I&amp;#39;ll get 27 pulses. On other hand If I point 24 pulses I&amp;#39;ll get 24 pulses. So actually I don&amp;#39;t know how got for example 25 pulses (sometimes I need this amount of pulses).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pwm driver + gpiote + ppi</title><link>https://devzone.nordicsemi.com/thread/69894?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 16:34:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0c5a05b-a522-45b7-8b4d-fdc6c84f0cc8</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You can&amp;#39;t use &lt;code&gt;nrf_drv_pwm_simple_playback&lt;/code&gt; directly as this will trigger the start task at the end of the function.&lt;/p&gt;
&lt;p&gt;You can use the function, just comment out &lt;code&gt;start_playback&lt;/code&gt;. Then you should use the &lt;code&gt;NRF_PWM_TASK_SEQSTART0&lt;/code&gt; task as the PPI Event End Point (EEP).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>