<?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>NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17211/nrf51-pwm-accuaracy</link><description>I&amp;#39;m using SDK 11 on my nrf51 chip. I&amp;#39;m trying to output a 120hz pwm but it doesn&amp;#39;t seem to be producing at 120hz. I have a 120hz signal i&amp;#39;m trying to match and it blows pass it. When I attach it to a scope, the scope is able to tell me the 120hz input</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Oct 2016 12:55:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17211/nrf51-pwm-accuaracy" /><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66121?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 12:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b2b581c-edd1-482a-8126-4e235d47ff05</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Are you able to measure the period of the PWM from the nRF51 using the scope? If so you can calculate what frequency the nRF51 is producing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66123?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 12:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e54eed54-2fa1-4e48-b582-9354ee3c6149</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;As I said in my question, I&amp;#39;m using a scope. Was my post hard to understand?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66122?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 11:44:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61f4f491-bd4f-4e49-add0-548ccf7b2612</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What are you using to see/measure the the signals? oscilloscope ? logic analyzer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66120?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 19:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c209be4b-80bd-4196-89fa-4f86b3f9e469</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;As I said in my question, I am seeing a signal come out. When I compare to a 120Hz signal generated by a signal generator, I see that it&amp;#39;s going a lot faster than the &amp;quot;120 Hz&amp;quot; from the nrf51. I&amp;#39;m using app_pwm interface to create my pwms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66117?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 17:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e3b515-862c-49dd-b144-312f0dd5c215</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You are not getting any pwm signal at all?
Have you enabled the pwm? &lt;code&gt;app_pwm_enable(&amp;amp;PWM1)&lt;/code&gt;
What timer are you using when creating the PWM instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66116?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 17:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fbf7620-5cff-48a0-aef3-fe223d224eac</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;120 hz so 8333 us period and 50% duty cycle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66115?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 17:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc468c7f-9e7e-4b45-8dfa-3da38a9d73ac</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Ok, in that case nothing else should be using P0.05. What period are you using when calling &lt;code&gt;APP_PWM_DEFAULT_CONFIG_1CH&lt;/code&gt;() ? What duty cycle are using? Feel free to upload the code you are using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66118?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 16:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3d7dbf9-1c5f-45a6-bada-fe3d374fbd02</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;what would be using P0.05? I don&amp;#39;t initialize anything else on that pin nor do i use bsp&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66119?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 07:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33e40b53-97f6-46d1-baa8-5b0104542909</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Could you try another pin, in case P0.05 is used by something else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66114?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2016 20:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea5aba3d-1086-4006-b873-ff4a169f924d</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;No it&amp;#39;s not the dk. I&amp;#39;m using singal channel pwm and P0.05&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 pwm accuaracy</title><link>https://devzone.nordicsemi.com/thread/66113?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2016 07:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19eea1f3-3659-4288-b3e6-5e37ddb93212</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Is this a 51-dk? The scope is unable to tell you the PWM frequency ? What pins are you using to output the PWM signal?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>