<?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>TWI crashes nRF51822 with s130</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24650/twi-crashes-nrf51822-with-s130</link><description>Hello! 
 I&amp;#39;m using SDK 12.3.0 with nRF51822. Unfortunately since the begining I&amp;#39;ve got a problem with TWI interface. It keeps crushing my app. For no reason. At the beginning I was using a FreeRTOS. I did assume that RTOS with TWI steals so much processig</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Aug 2017 16:34:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24650/twi-crashes-nrf51822-with-s130" /><item><title>RE: TWI crashes nRF51822 with s130</title><link>https://devzone.nordicsemi.com/thread/97030?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 16:34:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5866463-c6de-458d-add8-8d00a06fc3f4</guid><dc:creator>Kazik</dc:creator><description>&lt;p&gt;Ok. I&amp;#39;ve managed to figure it out. I&amp;#39;ll post answer tomorrow. It appears, it was my mistake.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI crashes nRF51822 with s130</title><link>https://devzone.nordicsemi.com/thread/97029?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 07:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c418493-4b53-4a98-9a37-4407f2f61523</guid><dc:creator>Kazik</dc:creator><description>&lt;p&gt;So, no help here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI crashes nRF51822 with s130</title><link>https://devzone.nordicsemi.com/thread/97028?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 12:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98bc5e75-0915-437b-bfdb-6bf804741a36</guid><dc:creator>Kazik</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/inteliclinic/NeuroonOpenFirmware/tree/feature/sdk_scheduler"&gt;github.com/.../sdk_scheduler&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Project is not yet commented :(. Most interesting files: main.c; src/ic_driver_twi.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI crashes nRF51822 with s130</title><link>https://devzone.nordicsemi.com/thread/97026?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 11:35:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:927a7197-1c0c-4bf0-a997-21373daf3ff6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It is hard to investigate your issue without more details. Could you upload the entire project for debugging? If you do not want to post it in public, you can create a case in &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;MyPage&lt;/a&gt; and link to this thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI crashes nRF51822 with s130</title><link>https://devzone.nordicsemi.com/thread/97027?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 10:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76a5229e-b894-4bd8-91f0-742a50646112</guid><dc:creator>Kazik</dc:creator><description>&lt;p&gt;Well, debugging with SD turned on is a pain. I did turn on all debug options. Without my &amp;quot;dirty hack&amp;quot; processor just lands at hard fault. I can&amp;#39;t catch it in my app_error_fault_handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI crashes nRF51822 with s130</title><link>https://devzone.nordicsemi.com/thread/97025?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 09:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86a9c58e-beb3-4695-8997-03da4181dc1f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;So it is working if you put a delay after scheduling the transaction? How do you setup the TWI driver/library? Are you sure you are not getting any non-zero error codes? &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;This debug method&lt;/a&gt; should tell you the answer to that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>