<?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>Outputting a PWM signal at 8Mhz with 50% dutcy cycle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20740/outputting-a-pwm-signal-at-8mhz-with-50-dutcy-cycle</link><description>We are working with SDK 12.1 and are noticing the max value we can output using the PWM driver is about 5.3Mhz (top value to 3 and 16Mhz for the clock) this isn&amp;#39;t a 50% duty cycle either. This is confirmed in the data sheet as by looking at the COUNTERTOP</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Mar 2017 15:25:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20740/outputting-a-pwm-signal-at-8mhz-with-50-dutcy-cycle" /><item><title>RE: Outputting a PWM signal at 8Mhz with 50% dutcy cycle</title><link>https://devzone.nordicsemi.com/thread/80941?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 15:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca7bd973-af4d-405d-a855-12ff4c682708</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Sorry I didn&amp;#39;t notice you want to get 8MHz. I&amp;#39;m afraid it&amp;#39;s not possible with PWM driver.&lt;/p&gt;
&lt;p&gt;What about using TIMER+PPI ? , here is an example : &lt;a href="https://github.com/NordicSemiconductor/nrf51-8-mhz-gpio-clock"&gt;github.com/.../nrf51-8-mhz-gpio-clock&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Outputting a PWM signal at 8Mhz with 50% dutcy cycle</title><link>https://devzone.nordicsemi.com/thread/80942?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 13:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c16702e7-8059-4c17-a704-7b6419d3860e</guid><dc:creator>sananth</dc:creator><description>&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;One question:
By setting top to 4 for a 16MHz clock, make a max value of a 4Mhz output?  I need to produce an 8Mhz output.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Outputting a PWM signal at 8Mhz with 50% dutcy cycle</title><link>https://devzone.nordicsemi.com/thread/80940?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 11:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18ec6826-cdbc-4d5a-970a-6bfa694d1e0d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Set the top value to 2 is not a good idea. Minimum COUNTERTOP as in the spec is from 3.&lt;/p&gt;
&lt;p&gt;Please use 16MHz and choose top_value    = 4.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>