<?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>I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69619/i-want-to-implement-2-channel-pwm-dead-time</link><description>Hello 
 I am using sdk v17.0 and pwm_library example. 
 I&amp;#39;d like to add a &amp;#39;dead time&amp;#39; of 10us between the two PWM channels. 
 Can you give me a good example or method for this? 
 
 (Attempt to create dead time using nrf_delay failed.) 
 
 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Dec 2020 10:45:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69619/i-want-to-implement-2-channel-pwm-dead-time" /><item><title>RE: I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/thread/286012?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 10:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b9ad52-f97f-4535-8578-3e303e5bca1b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Glad I could be of help, and the best of luck with your project &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/thread/285942?ContentTypeID=1</link><pubDate>Sun, 20 Dec 2020 06:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ddfc279-993d-4dc7-b936-d13cd491a767</guid><dc:creator>schosdas</dc:creator><description>&lt;p&gt;Thank you for the good information!&lt;/p&gt;
&lt;p&gt;I will refer to it and apply it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/thread/285820?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 12:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9817d036-df35-4f4e-ba2f-79779fc387c0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What would the waveform look like if you have a PWM frequency of 50kHz and a dead time of 10us?&amp;nbsp;&lt;br /&gt;At 50kHz&amp;nbsp;a single PWM cycle is only 20us long.&lt;/p&gt;
&lt;p&gt;The app_pwm driver will not really work for this use case, and unfortunately the PWM hardware modules don&amp;#39;t have proper support for this use case either.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It might be that the best solution here is to do a more custom PWM implementation using a TIMER, some PPI channels and the GPIOTE module, which allows you to control pins accurately by configuring compare events at different points in time using the TIMER, and then connecting these events to pin operations through the PPI and GPIOTE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This concept is explored in more detail in &lt;a href="https://github.com/NordicPlayground/nrf52-timer-gpiote-ppi-hands-on"&gt;this&lt;/a&gt; hands on example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/thread/285737?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 02:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15bd7e8b-09b6-4634-b7ba-4354bc571c50</guid><dc:creator>schosdas</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I&amp;#39;ll take a look at this and refer to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/thread/285736?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 02:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbdcca3b-6388-4d53-8b64-c2ff2c96089b</guid><dc:creator>schosdas</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I would like to print out a frequency of 50 kHz using a 2-level PWM.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/thread/285665?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 14:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c461505-b4eb-477e-a903-7f3b80527902</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What are your requirements in terms of PWM frequency, and number of PWM levels (top value)?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to implement 2-channel PWM dead time.</title><link>https://devzone.nordicsemi.com/thread/285494?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 05:06:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3800b6a7-78f6-4273-bafe-4466c9e70ec9</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Maybe have a butchers at this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/55568/how-to-set-up-pwm-dead-time-at-the-end-of-period"&gt;how-to-set-up-pwm-dead-time&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>