<?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>wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20200/wt-is-the-difference-bw-pwm-driver-and-pwm-library-example</link><description>(/attachment/182b723590b3c447267d5aed62b5405f)hi, i want to work on PWM to controll the vibration coin frequency for certain time period and also to change RGB values of LEDs so which example i can choose to understand PWM on nRF52. 
 #Edit:-
/* Switch</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Mar 2017 10:19:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20200/wt-is-the-difference-bw-pwm-driver-and-pwm-library-example" /><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78696?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 10:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b214efd-e379-485f-b157-966593632e55</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;The motor is keep on running without GPIO i/p connection also.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78695?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 10:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b68a2de-db9f-4452-bdf0-721af6bf9623</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Voltage over the capacitor will be 5V as it is connected directly to VCC3, I assume this is a decoupling capacitor. If you have 0 volts over the motor I suspect the transistor never starts conducting properly as you would then have 5 V on both sides of the motor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78694?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 08:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cea1189-5388-4815-a6dc-aaed70ec2b28</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi, if i observe the  voltage drop through motor i am getting  0. and the voltage drop through the capacitor is 5v. please observe my circuit in above Q. here i am applying 5v to VCC3. and connected GPIO to resistor. GPIO is giveing Puse waveform of max 2.8 volts. still i am not able to run motor. plz help me from this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78692?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 13:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1118f16-8f8f-4e25-bf17-773ea8cdf68c</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;The maximum output voltage from GPIO on the nRF52 series is VDD, so your maximum output voltage is dependent on the supply voltage. You need to make sure the output voltage from your low pass filter is within the specifications of your motor (2.7-3.3 V DC), considering your maximum PWM voltage is 2.8 V you may need to amplify the output of the filter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78693?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 13:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d4bb502-9d98-439c-a48c-68f1e4c687c3</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi, i have connected LPF but the motor not vibrating. i am drived GPIO pin as PWM. if i observe the GPIO pin voltage its varying from 2.8 volts to 0 volts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78691?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2017 12:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8336f654-8740-4da7-bf73-1afbad7a6fbb</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;You can use either the PWM driver with its dedicated hardware or you can use the PWM library.&lt;/p&gt;
&lt;p&gt;In the PWM library example you can change the frequency of the PWM signal by uninitializing the PWM instance, changing the .period_us value in pwm1_cfg, and then initializing the PWM instance again.&lt;/p&gt;
&lt;p&gt;The while loops in the example are used to change how quickly the leds ramp up and down by changing the duty cycle of the PWM signal. These are not needed if you only intend to change the frequency.&lt;/p&gt;
&lt;p&gt;To only send for a few seconds you can use a timer, and in the callback function you can stop the PWM and change its frequency if needed.&lt;/p&gt;
&lt;p&gt;What voltage do you have on the output of your LPF? According to the datasheet of the C0820B006F it has an operating voltage requirement of 2.7 – 3.3 V DC.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78690?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 17:52:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1b44a4d-34d0-4e7f-9efe-cd5fbec85df2</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;and also when i drive a GPIOT pin using PWM library (the code shown above Edit:- ) i was stuck in while loop that means it keep on giving PWM signal. with max voltage varying between 2.5v to 0v. the problem is
1)i need to drive GPIOT only for few seconds.
2)when i connect vibrator( C0820B006F) through MOSFET LPF it is unable to vibrate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78689?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 17:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b724eac4-1799-452b-a552-67ca8ff9af90</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hey thank you for your time, as per my requirement i want to drive a vibrator for few seconds with defferent frequencies through a GPIOTE so that i need to use PWM Library right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: wt is the difference bw PWM driver and PWM Library example</title><link>https://devzone.nordicsemi.com/thread/78688?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 15:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c999072b-0a22-458a-87d4-b669c463b6de</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello saiteja&lt;/p&gt;
&lt;p&gt;The PWM driver and library provide two ways of generating a PWM signal on the nRF52. The PWM driver uses dedicated hardware to generate the signal, while the PWM library uses GPIOTE, PPI and timers in combination.&lt;/p&gt;
&lt;p&gt;For more information on the two and their properties please see the following links to the infocenter&lt;/p&gt;
&lt;p&gt;PWM driver (dedicated hardware):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Fhardware_driver_pwm.html&amp;amp;cp=4_0_1_2_10"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PWM library (GPIOTE, PPI and timers):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_pwm.html?cp=4_0_1_3_24"&gt;infocenter.nordicsemi.com/.../lib_pwm.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can find links to descriptions of the examples you mentioned (pwm_driver and pwm_library in the examples-&amp;gt;peripheral folder) on the pages of the infocenter links above.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>