<?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>NRF52840 GPIO Setting question.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39091/nrf52840-gpio-setting-question</link><description>I wnat to set P0.30 and P0.31 for I2C CLK and SDA. nrf_drv_gpiote_out_config_t out_config = GPIOTE_CONFIG_OUT_SIMPLE(false); err_code = nrf_drv_gpiote_out_init(30, &amp;amp;out_config1); APP_ERROR_CHECK(err_code); err_code = nrf_drv_gpiote_out_init(31, &amp;amp;out_config1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Oct 2018 06:42:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39091/nrf52840-gpio-setting-question" /><item><title>RE: NRF52840 GPIO Setting question.</title><link>https://devzone.nordicsemi.com/thread/151105?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 06:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d91dbae-5456-4aa5-81cd-9e1041679d61</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Why are you bit-banging I2C instead of using the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/twim.html?cp=2_0_0_5_30"&gt;TWIM peripheral&lt;/a&gt;? I recommend you&amp;nbsp;use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/hardware_driver_twi.html?cp=4_0_0_2_0_17"&gt;TWI master driver&lt;/a&gt;, and refer to for instance the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/twi_sensor_example.html?cp=4_0_0_4_5_43"&gt;TWI Sensor Example&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 GPIO Setting question.</title><link>https://devzone.nordicsemi.com/thread/151101?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 06:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7555ed2e-c692-4b06-91ad-bd9d212fbd47</guid><dc:creator>Ray Chiou</dc:creator><description>&lt;p&gt;I set GPIO for input is OK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>