<?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>Getting started with PWM on nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15018/getting-started-with-pwm-on-nrf52</link><description>I am quite new to embedded firmware development and definitely just two days old into Nordic nRF52 development. 
 I want to just setup a 25% duty cycle clock output on GPIO pin 5 for nRF52 with 100 KHz frequency. How can I do this with using just the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jul 2016 17:01:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15018/getting-started-with-pwm-on-nrf52" /><item><title>RE: Getting started with PWM on nRF52</title><link>https://devzone.nordicsemi.com/thread/57315?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 17:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79abaa30-a728-440c-9ddc-37c867d371ec</guid><dc:creator>guraaf</dc:creator><description>&lt;p&gt;Yes, I got further along yesterday. I will close the question. I made a mistake. The COUNTERTOP was 1600 while the compare decoder value was 0x800 so that is larger than countertop and the PWM never triggered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with PWM on nRF52</title><link>https://devzone.nordicsemi.com/thread/57314?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 08:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6187a96c-b7c8-41cd-93ac-8507d9f6114d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi, and sorry for the long wait. Have you gotten any further or shall I have a look at the code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with PWM on nRF52</title><link>https://devzone.nordicsemi.com/thread/57313?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2016 23:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c287c8ad-031e-48ba-8c41-7f71631e6c47</guid><dc:creator>guraaf</dc:creator><description>&lt;p&gt;Thanks Terje. I took a look at the PWM Driver and the example. They are very helpful and I get the high-level idea now. However, there is still a lot of code in there - the driver library pulls in lots of header files for typedefs etc. that we don&amp;#39;t plan to use for various reasons.&lt;/p&gt;
&lt;p&gt;I am hoping to use a simple HAL-based PWM itself. The PWM driver has support for complex sequences and use of interrupts to handle tasks when sequences playback is completed.&lt;/p&gt;
&lt;p&gt;I understand this is my work and not someone else&amp;#39;s but was hoping if you can help identify what is missing in the following code. I don&amp;#39;t get any signal output.&lt;/p&gt;
&lt;p&gt;I updated the code in my original post. What am I doing wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting started with PWM on nRF52</title><link>https://devzone.nordicsemi.com/thread/57312?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2016 14:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:990e6fcd-167e-46c3-b483-ee7a94e38538</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are correct that the nRF52 series has PWM hardware. Have a look at the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fhardware_driver_pwm.html&amp;amp;cp=6_0_0_2_8"&gt;PWM Driver&lt;/a&gt; and the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fpwm_hw_example.html&amp;amp;cp=6_0_0_4_5_15"&gt;PWM Driver Example&lt;/a&gt; (not to be confused with the PWM Library, which uses a timer, ppi and GPIO.)&lt;/p&gt;
&lt;p&gt;Regards, Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>