<?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>PWM Not Driving to VDD/GND</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85547/pwm-not-driving-to-vdd-gnd</link><description>Hello, 
 I&amp;#39;m trying to control a motor via a mosfet. Setting the mosfet on/off with pin assignment works great, however pwm at any value other than 0 or max burn out the mosfet. 
 After looking into it, my current theory is that this is because the pwm</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Mar 2022 20:06:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85547/pwm-not-driving-to-vdd-gnd" /><item><title>RE: PWM Not Driving to VDD/GND</title><link>https://devzone.nordicsemi.com/thread/356988?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 20:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c75f13d-d18d-4883-8451-aa820db6ab9f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Brendan&lt;/p&gt;
&lt;p&gt;It is true that more power will be burnt in the transistor when it is in the linear region,&amp;nbsp;compared to when it is fully leading or off, but it is a bit odd that the PWM signal would never hit ground or VDD.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is your PWM frequency?&lt;/p&gt;
&lt;p&gt;The gate of a mosfet capacitor does act as a capacitor, which will filter the PWM signal and increase the rise and fall times. Using a lower PWM frequency should reduce the issue, and so should enabling high drive mode on the pin.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://electronics.stackexchange.com/a/103232"&gt;This stackoverflow answer&lt;/a&gt;&amp;nbsp;gives a lot of good advice on controlling a&amp;nbsp;DC motor using a MOSFET, including a discussion around the gate capacitance, and the need for a reverse diode on the motor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>