<?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>logs not working in pwm_library example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37918/logs-not-working-in-pwm_library-example</link><description>Hi, 
 I am using sdk 14.2.0. 
 there is no logs in pwm_library example. 
 even though i add it,it&amp;#39;s not working. 
 bellow lines are added in Makefile: 
 $(SDK_ROOT)/components/libraries/experimental_log/src/nrf_log_backend_rtt.c \ $(SDK_ROOT)/components</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Aug 2018 09:29:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37918/logs-not-working-in-pwm_library-example" /><item><title>RE: logs not working in pwm_library example</title><link>https://devzone.nordicsemi.com/thread/146461?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 09:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5bd9cea-359a-4729-9f94-a6d41f258ab1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should call&amp;nbsp;&lt;code&gt;app_pwm_disable()&lt;/code&gt; if you want to stop the PWM signal. This will set the GPIO to the polarity that&amp;nbsp;was configured for that pin&amp;nbsp;during initialization.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: logs not working in pwm_library example</title><link>https://devzone.nordicsemi.com/thread/146360?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 15:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a878e8a4-7409-4af6-bcd1-89b8f7d18ce6</guid><dc:creator>amarjeet</dc:creator><description>&lt;p&gt;hey einer,&lt;/p&gt;
&lt;p&gt;i can see that&lt;/p&gt;
&lt;p&gt;pwm_update_duty_cycle(0);&lt;/p&gt;
&lt;p&gt;is turning led off, but when i interface vibartion motor, still it is vibrating a little.&lt;/p&gt;
&lt;p&gt;please recollect my all doubts, and guide me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: logs not working in pwm_library example</title><link>https://devzone.nordicsemi.com/thread/146359?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 14:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2af0b7c7-b741-4567-a0b7-549b7893c349</guid><dc:creator>amarjeet</dc:creator><description>&lt;p&gt;please guide me how to do it, for pwm_driver example.&lt;/p&gt;
&lt;p&gt;as i am able to do in pwm_library example by using:&lt;/p&gt;
&lt;p&gt;app_pwm_disable(&amp;amp;PWM1);&lt;br /&gt; app_pwm_uninit(&amp;amp;PWM1);&lt;/p&gt;
&lt;p&gt;shall i compile the thease function containing source file???&lt;/p&gt;
&lt;p&gt;or if there is function available for driver level , pls let me know.&lt;/p&gt;
&lt;p&gt;i have tried using&amp;nbsp;&amp;nbsp;:&lt;/p&gt;
&lt;p&gt;nrf_drv_pwm_uninit(&amp;amp;m_pwm2);&lt;/p&gt;
&lt;p&gt;but its not working for me accordingly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: logs not working in pwm_library example</title><link>https://devzone.nordicsemi.com/thread/146353?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 14:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c6dd98-6787-467b-8011-e6d311da76ca</guid><dc:creator>amarjeet</dc:creator><description>&lt;p&gt;Thanks Einer for ur kind reply,issue resolved now.&lt;/p&gt;
&lt;p&gt;but, can u please guide me, how to disable pwm.&lt;/p&gt;
&lt;p&gt;since, my requirement is, i want to run vibartion motor for 3 sec and after that stop for next 3 second.&lt;/p&gt;
&lt;p&gt;how to do it??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: logs not working in pwm_library example</title><link>https://devzone.nordicsemi.com/thread/146228?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 07:37:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d276a1b7-c123-4241-b026-4a5a72786d7a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/nrf_log.html?cp=4_0_2_3_25_1#nrf_log_config"&gt;enabled logging in the projects sdk_config.h file&lt;/a&gt;? I recommend you copy the relevant parts (defines starting with &lt;code&gt;NRF_LOG_&lt;/code&gt;) from another example project that use logging by default, as the sdk_config.h for the PWM library example does not include them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>