<?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>Problems of using GPIOTE and TIMER4 and BLE together.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72472/problems-of-using-gpiote-and-timer4-and-ble-together</link><description>Hi. 
 I am using TIMER4, BLE, and GPIOTE together. 
 But there&amp;#39;s a problem that keeps stopping. 
 I don&amp;#39;t know why. 
 Can you help me?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 11:15:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72472/problems-of-using-gpiote-and-timer4-and-ble-together" /><item><title>RE: Problems of using GPIOTE and TIMER4 and BLE together.</title><link>https://devzone.nordicsemi.com/thread/298660?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 11:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f536fb03-6298-44d9-8173-bc483e863eb1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You should&amp;nbsp;&lt;strong&gt;&lt;em&gt;not&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;use priority 0 and 4, these are reserved by the softdevice and will give asserts. Try using 2 for GPIOTE and 3 or 5 for TIMER4.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems of using GPIOTE and TIMER4 and BLE together.</title><link>https://devzone.nordicsemi.com/thread/298573?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 07:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a984d41-1d08-45f2-aacf-79d927fd2169</guid><dc:creator>Minseo</dc:creator><description>&lt;p&gt;&lt;span&gt;I checked it by connecting the ble using the Nordic app.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There are times when it stops suddenly while operating normally.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Each time, Error : (0x8) : GATT CONN TIMEOUT appears.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And I have to turn off the module and turn it on again to connect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1261.BLE_5F00_error.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems of using GPIOTE and TIMER4 and BLE together.</title><link>https://devzone.nordicsemi.com/thread/298555?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 05:18:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44b0b05b-c09a-4dd3-9232-88054badc7a6</guid><dc:creator>Minseo</dc:creator><description>&lt;p&gt;Thank you for replying.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I changed the NVIC priority setting as you said, but it stops the same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could it be because of BLE adc setting?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1464.IRQ_5F00_Priority.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/400x320/__key/communityserver-discussions-components-files/4/0334.ble_5F00_advertising.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems of using GPIOTE and TIMER4 and BLE together.</title><link>https://devzone.nordicsemi.com/thread/298325?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 10:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0536d09-073d-47bc-b33a-19d9dc881990</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you are using a softdevice, the issue is most likely with the NVIC priority that you have set for the GPIOTE interrupt. The softdevice uses priority 0, 1, and 4. These priorities cannot be used by the application. See&amp;nbsp;&lt;a title="Interrupt priority levels" href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/processor_avail_interrupt_latency/exception_mgmt_sd.html?cp=4_7_3_0_15_1"&gt;Interrupt priority levels&lt;/a&gt;&amp;nbsp;for more details.&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>