<?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>enable TWI, external interrupt and Hight frequency clock with Soft Device enabled.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38970/enable-twi-external-interrupt-and-hight-frequency-clock-with-soft-device-enabled</link><description>Hi, 
 I need to minimize the power consumption. 
 For this reason when my device is in advertising the peripherals: 
 
 TWI 
 hight frequency clock 
 external interrupt on one pin. 
 
 are not enabled. In this configuration between 2 advertising the current</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Sep 2018 12:33:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38970/enable-twi-external-interrupt-and-hight-frequency-clock-with-soft-device-enabled" /><item><title>RE: enable TWI, external interrupt and Hight frequency clock with Soft Device enabled.</title><link>https://devzone.nordicsemi.com/thread/150705?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 12:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb626afb-3b38-4f83-b46d-8a61b259a71e</guid><dc:creator>Marco Pennacchietti</dc:creator><description>&lt;p&gt;Thanks, but for me the TICKET is closed because we found the problem.&lt;/p&gt;
&lt;p&gt;When the connection bluetooth go down the micro sometimes go first in dle_state_handle(); &lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span class=""&gt;before calling&lt;/span&gt;&lt;/span&gt; deinit TWI.&lt;/p&gt;
&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;making the state machine work well with the appropriate traffic lights everything works well&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Marco&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable TWI, external interrupt and Hight frequency clock with Soft Device enabled.</title><link>https://devzone.nordicsemi.com/thread/150685?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 11:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f02eb75a-a58e-4117-92d4-407a926766b7</guid><dc:creator>Marco Pennacchietti</dc:creator><description>&lt;p&gt;We have now dicovered that the micro goes in HardFault handler (NRF_ERROR_INVALID_STATE on nrf_drv_gpiote_in_init) after init TWI because the TWI is already initialized.&lt;/p&gt;
&lt;p&gt;The problem is that when the bluetooth connection go down before go in idle_state_handle(); we deinit the TWI but the TWI does&amp;#39;t not diinit.&lt;/p&gt;
&lt;p&gt;WHY ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>