<?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>51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11609/51822-gpio-break-donw-the-chip</link><description>51822, config a pin as output , in the param , set disconnect or connect the input pin, when config as output ,what mean disconnct/connect input pin? 
 I use a pin to light a led, config a pin as output ,and connect the pin to a series resistance and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jul 2016 06:19:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11609/51822-gpio-break-donw-the-chip" /><item><title>RE: 51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/thread/43892?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2016 06:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0fbdc0-d92d-427f-8006-560e9b0568e6</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;I agree that this is somewhat confusing, I will attempt to clarify a bit.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;H0H1 indicates high drive on both logical &amp;#39;0&amp;#39; and &amp;#39;1&amp;#39;.&lt;/li&gt;
&lt;li&gt;S0S1 indicates standard drive on both logical &amp;#39;0&amp;#39; and &amp;#39;1&amp;#39;&lt;/li&gt;
&lt;li&gt;S0H1 indicates standard drive on logical &amp;#39;0&amp;#39; and high drive on logical &amp;#39;1&amp;#39;&lt;/li&gt;
&lt;li&gt;and so forth...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/thread/43891?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2016 02:33:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7759b605-0868-43da-b00d-0a326db813ac</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;yes. but h0h1 option  it make me not very clear.. as Mr stenfan explain above (GPIO drive guide )：
&lt;em&gt;High source means the pin will be sourced with up to 5.0 mA for high signal
High sink means the pin will be sinked with up to 15.0 mA for low signal&lt;/em&gt;  ， it mean that h0h1, h1==5.0mA  high signal,  h0 == -15mA, low signal ???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/thread/43890?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2016 06:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74b99d96-7306-4f6b-9ea7-884552b822e0</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Good. So its working now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/thread/43889?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2016 05:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5ece49c-e388-4841-bcad-bdd4cdde85ee</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;we config the drive strength of h0h1 to improve the power of output pin.  the wave of output pin looks fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/thread/43887?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2016 09:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c449d003-cfe3-430c-959e-052ce1482e4d</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;For some applications you may need pull on the GPIO lines, it is hard to know with the information that you supply.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Øyvind&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/thread/43888?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2016 14:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d37a28-0e30-4f54-b7d5-0d608f9beb02</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;hi，stefan：i  use the one gpio pin as output, and config No pull.. the tester found that the wave of high voltage is not horizontal direction. the beginning of wave is high, the end of wave is low.. what it happen.? Some guy say the output power is not enough.. should i  need change NO PULL to pull UP ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822  GPIO  break donw the chip</title><link>https://devzone.nordicsemi.com/thread/43886?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2016 15:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e17a963c-3c44-46e3-b3f3-17b77dedb343</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Here is the &lt;a href="https://devzone.nordicsemi.com/question/22112/nrf51822-gpio-as-open-collector-driver/?answer=22217#post-id-22217"&gt;GPIO drive guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you configure a pin as output, what matters is the drive strength. The rest of the configuration is done as in the nrf_gpio.h:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;__STATIC_INLINE void nrf_gpio_cfg_output(uint32_t pin_number)
{
		nrf_gpio_cfg(
						pin_number,
						NRF_GPIO_PIN_DIR_OUTPUT,
						NRF_GPIO_PIN_INPUT_DISCONNECT,
						NRF_GPIO_PIN_NOPULL,
						NRF_GPIO_PIN_S0S1,
						NRF_GPIO_PIN_NOSENSE);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You would only configure the SENSE, the pull and the input differently when using the pin as input, as done in the following definition in nrf_gpio.h&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;__STATIC_INLINE void nrf_gpio_cfg_sense_input(uint32_t pin_number, nrf_gpio_pin_pull_t pull_config, nrf_gpio_pin_sense_t sense_config)
{
		nrf_gpio_cfg(
						pin_number,
						NRF_GPIO_PIN_DIR_INPUT,
						NRF_GPIO_PIN_INPUT_CONNECT,
						pull_config,
						NRF_GPIO_PIN_S0S1,
						sense_config);
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>