<?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>GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34834/gpiote-with-ble-uart-example</link><description>Dear Nordic Team, 
 Thanks for supporting. Now i want to integrate GPIOTE with BLE UART example. When i call gpio_init(); this function got error like below image.please support anyone 
 SDK : SDK12.3.0 
 Hardware : PCA10040</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 May 2018 08:39:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34834/gpiote-with-ble-uart-example" /><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/134140?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 08:39:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe046ad2-9785-4c8f-b031-83e6285fba9d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you check the PIN_IN and PIN_OUT lines with a logic analyzer, to see if there are any visible glitches corresponding with the &amp;quot;flickering&amp;quot;? Which pins are you using for the input and output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133974?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 08:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d5a0cd-bbad-4718-b472-aeb919ac9a08</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Dimmer.png" /&gt;&lt;/p&gt;
&lt;p&gt;Above circuit is used to control the AC device. In output i am using 230 V AC Lamp. This circuit control the lamp brightness as per PIN_OUT signal. Its controlled brightness as per the signal but some&amp;nbsp;time blink the the lamp. if you want video i will make and send you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133967?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 08:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be543dea-f466-4478-b76e-b0ad42f1c8e4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Great! Please describe this &amp;quot;flickering issue&amp;quot; in more details. What are the symptoms? How are you controlling the AC device?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133960?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 07:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91b6a9e5-db25-4155-b930-edf1b67f2151</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;my hardware some issue. Now its rectified. Now working GPIOTE with BLE Uart example. But still i am facing Flickering issue.&lt;/p&gt;
&lt;p&gt;when i test with &amp;quot;pin_change_int&amp;quot; example its working good. But this example merge with BLE UArt example i got flickering issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133944?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 07:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0824ff4-a489-40c5-9ebd-256bd446df46</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you change PIN_IN define as well? I&amp;#39;m not sure I understand what your issue is. Do you get any error codes? Something else not working as expected?&lt;/p&gt;
&lt;p&gt;I cannot help you with the &amp;quot;flickering for AC Dimmer&amp;quot; issue without you describing this issue in details. If it is not related to GPIOTE and this issue, you should create a new thread about this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133919?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 04:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4311361d-7b81-43b5-bcab-f00833ed067d</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Yes i changed another GPIO for PIN_OUT but i faced same issue. When i comment this function (&lt;span&gt;both&amp;nbsp;buttons_leds_init(&amp;amp;erase_bonds)&amp;nbsp;&lt;/span&gt;) working good.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also i am faced one more issue like flickering for AC Dimmer. please suggest me how can i&amp;nbsp;solve this ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133818?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 12:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f9a65c3-c0cb-4234-b9ec-f6fd20bdd6aa</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You cannot control the same GPIO using GPIOTE driver directly and with BSP LED module. Please redefined PIN_OUT to some other pin number than&amp;nbsp;BSP_LED_0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133749?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 07:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:911e0550-4dd9-4130-9bfe-c7a30e764b11</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;@&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/joh2"&gt;J&amp;oslash;rgen Holmefjord&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;, Thanks for reply. your point is right. But i need both&amp;nbsp;buttons_leds_init(&amp;amp;erase_bonds) and&amp;nbsp;gpio_init() how can i use this.&lt;/p&gt;
&lt;p&gt;my project is AC FAN control using Dimmer concept. Please suggest me. My code&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7587.main.c"&gt;devzone.nordicsemi.com/.../7587.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE with BLE UART example</title><link>https://devzone.nordicsemi.com/thread/133736?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 07:04:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c2350ee-3ad0-49ef-ba23-66de8c845c62</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Error code 0x08 means &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group__nrf__error.html#gaf0aff2ba7864b34a36b4a96986e1851e"&gt;NRF_ERROR_INVALID_STATE&lt;/a&gt;, and is returned by the GPIOTE driver init function if the driver is already initialized.&lt;/p&gt;
&lt;p&gt;ble_app_uart example make use of the&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/lib_bsp.html?cp=4_0_6_3_6"&gt;BSP library&lt;/a&gt;, which again use the application &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/lib_button.html?cp=4_0_6_3_7"&gt;button library&lt;/a&gt;. The button library already initialize GPIOTE driver. You could add a check to make sure you do not initialize the driver if it is already initialized:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;if (!nrf_drv_gpiote_is_init())
{
    err_code = nrf_drv_gpiote_init();
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>