<?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>Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5952/number-of-nrf51822-high-drive-pins</link><description>The nRF51822 Product Specification says that &amp;quot;Maximum number of pins with 5 mA high drive is 3.&amp;quot; 
 Does that mean that you can only configure 3 pins as high drive, or could I (for example) configure all pins as high-drive output, as long as no more than</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Dec 2015 11:19:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5952/number-of-nrf51822-high-drive-pins" /><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20730?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2015 11:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cdfb378-3d74-4fa3-9326-2d88f9929fbe</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;Can you please verify my configuration of the GPIO high drive Mode does both of the pin 6 and 7 will be drive 5mA or do i ahve modify something please give me some suggestion because am not hearing loud sound in my buzzer&lt;/p&gt;
&lt;p&gt;static void PWMinit(void)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_gpio_range_cfg_output(6,7);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;NRF_GPIO-&amp;gt;PIN_CNF[6] = (GPIO_PIN_CNF_DRIVE_H0D1 &amp;lt;&amp;lt; GPIO_PIN_CNF_DRIVE_Pos);&lt;/p&gt;
&lt;p&gt;NRF_GPIO-&amp;gt;PIN_CNF[7] = (GPIO_PIN_CNF_DRIVE_H0D1 &amp;lt;&amp;lt; GPIO_PIN_CNF_DRIVE_Pos);&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ret_code_t err_code;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;app_pwm_config_t pwm1_cfg = APP_PWM_DEFAULT_CONFIG_2CH(159UL,6,7);//6.3KHz&lt;/p&gt;
&lt;p&gt;pwm1_cfg.pin_polarity[1] = APP_PWM_POLARITY_ACTIVE_LOW;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* Initialize and enable PWM. */

err_code = app_pwm_init(&amp;amp;PWM1,&amp;amp;pwm1_cfg,pwm_ready_callback);

APP_ERROR_CHECK(err_code);

app_pwm_enable(&amp;amp;PWM1);

for(int i = 0; i &amp;lt; 3; i++)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;app_pwm_channel_duty_set(&amp;amp;PWM1, 0, 50);&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_delay_ms(1000);
app_pwm_channel_duty_set(&amp;amp;PWM1, 0, 0);

nrf_delay_ms(2000);
  app_pwm_channel_duty_set(&amp;amp;PWM1, 0, 70);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;app_pwm_disable(&amp;amp;PWM1);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20729?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2015 10:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f320cb56-61ed-4174-8d0c-5d525d1e70c5</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;ok, thanks for your clarificaiton. I was perhaps misunderstanding you a little bit. I think that should be fine to connect two gpio pins to a single buzzer to drive 10mA. &lt;a href="https://devzone.nordicsemi.com/question/22112/nrf51822-gpio-as-open-collector-driver/?answer=22217#post-id-22217"&gt;This thread&lt;/a&gt; is actually describing better the GPIO drive/sink properties&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20726?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2015 09:42:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53448d7c-f50d-4ffd-8349-6092485f8960</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;yes am going to use only one buzzer by connecting two gpio pins directly to the buzzer positive terminal so each gpio pin can deliver maximum of 5mA so totally two gpio pin can deliver only 10mA to the buzzer so am not exceeding more than 10mA my idea is correct or still am voilating the maximum current limit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20728?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2015 09:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f735fa8-2608-4577-ab46-80671ba57f44</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;That is not allowed, as it exceeds the total 15mA GPIO current limit. If you however only use one buzzer at one time, it will work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20727?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2015 09:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ed21827-8e44-491c-8d71-060e08bd4e9c</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;can i connect set two gpio in (10mA) high drive mode and connect to buzzer does it will work fine or am excedding the maximum current limit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20724?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2015 08:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a572f45c-734d-40d2-9e79-77049ac1c356</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;It is max 5mA on a single pin, which is the high drive option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20725?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2015 08:17:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be9d3ca-845c-4b32-8127-e4a59fc96a1e</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;And 1x15mA? Or is it max 5mA on a single pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20723?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2015 20:49:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34d87d85-3d10-443f-9c74-4365555fee0e</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;To further clarify Annims answer, you can drive 15mA current with GPIOs at a given time, in any combination you like, 3x5mA, 15x1mA, (2x5mA + 5x1mA), doesn&amp;#39;t matter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Number of nRF51822 high drive pins</title><link>https://devzone.nordicsemi.com/thread/20722?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 13:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:679c8d89-bd73-427d-9c42-9e5bf8dd5670</guid><dc:creator>Annim</dc:creator><description>&lt;p&gt;You can drive more than 5 pins, but, at a time , only 3 pins can be at 5mA drive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>