<?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>Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86288/unable-to-get-interrupt-for-i2c-twis-while-using-aws-iot</link><description>Hi everyone, 
 first time posting here for me, let me know if i&amp;#39;m doing it wrong. 
 I&amp;#39;m currently developing a &amp;quot;modem module&amp;quot; built around nrf9160 and working with AWS using NBIoT. The module will be added to a device which will communicate with it through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Apr 2022 09:25:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86288/unable-to-get-interrupt-for-i2c-twis-while-using-aws-iot" /><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/361440?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:25:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dfd4147-5d7c-48ad-8c40-cb830e846156</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Not sure exactly why this helped, but that config will turn on the UART since it activates the logger module.&lt;/p&gt;
&lt;p&gt;Anyways, I&amp;#39;m happy that you returned with the solution. I&amp;#39;m sure it will help others on this forum.&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/361366?ContentTypeID=1</link><pubDate>Sun, 03 Apr 2022 12:31:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d12eacf3-7069-4cb6-8237-d2dd0f11faf2</guid><dc:creator>Nikone</dc:creator><description>&lt;p&gt;Hi Jared, sorry for my late reply.&lt;/p&gt;
&lt;p&gt;In the end i solved the problem by removing the line&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_NCS_SAMPLES_DEFAULTS=y&lt;/p&gt;
&lt;p&gt;from the prj.conf file.&lt;/p&gt;
&lt;p&gt;I tested this by adding all the prj.conf lines one by one to a project&amp;nbsp;with only the i2c part and the spm were present until i found the line that was blocking the i2c peripheral.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why this configuration was causing problems but i think is related to the spm.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your time, i hope that my solution will be helpful to others&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/360811?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 12:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89559134-3d7a-4bf2-887d-0ed8e219f9cd</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Could you share your entire project?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/360593?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 14:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f63747a0-3ee3-4d14-a286-fce794180a0c</guid><dc:creator>Nikone</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i&amp;#39;m able to use GPIO without any problem. I&amp;#39;ve actually added a blinking LED to help me debug the AWS IoT example when i was configuring APN and other things.&lt;/p&gt;
&lt;p&gt;As i said before i switched to TWIS3 to try but still no luck.&lt;/p&gt;
&lt;p&gt;I checked in the .config files both for SPM and the application and all the peripheral sharing the same ID (SPIS3, SPIM3, UARTE3) are not enabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To get SPI3 to be disabled i added the following to the application overlay file both in the application overlay and in the spm overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
	status = &amp;quot;disabled&amp;quot;;
};

&amp;amp;uart3 {
	status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Still no luck even with these&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/360570?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 13:40:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb00c06d-871e-4a2a-9327-d2d505b373a8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using any other peripheral than UART0(AWS IoT) in your example? It might be a conflict of resources if you&amp;#39;re using more than one peripheral with the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/memory.html?cp=2_0_0_3_1_1#topic"&gt;same ID&lt;/a&gt;. Are you able to use any other simpler peripheral such as the GPIO peripheral?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/360498?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 09:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9127d5ab-da0d-44ba-8cc1-c7c0d7ad6e78</guid><dc:creator>Nikone</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes the AWS part is working completely fine, it&amp;#39;s like the i2c part is not present.&lt;/p&gt;
&lt;p&gt;As i said before i&amp;#39;m unable to reach interrupt on i2c messages or even get ACK, that&amp;#39;s the strange thing.&lt;/p&gt;
&lt;p&gt;It seems that something is interfering with the peripheral.&lt;/p&gt;
&lt;p&gt;I event tried to move to TWIS3 but without success.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Nicol&amp;ograve;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/360471?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 08:41:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d766a039-872c-4eab-82b0-27794b9d07fb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does the AWS IoT part work? Is there any output on the log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/360318?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 13:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccc56aef-ac31-4f10-bc0c-158b367474b8</guid><dc:creator>Nikone</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes the TWIS peripheral is running in non-secure.&lt;/p&gt;
&lt;p&gt;Am i missing some configurations of the SPM?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nicol&amp;ograve;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get Interrupt for I2C TWIS while using AWS IoT</title><link>https://devzone.nordicsemi.com/thread/360314?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3edc9b22-14d4-4780-9ecc-d16be46e6984</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;What domain is the TWIS peripheral running at? Non-secure?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>