<?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>using twi on bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20299/using-twi-on-bootloader</link><description>Hi there! 
 I&amp;#39;m working with secure_bootloader example (SDK 12.1.0) and trying to use i2c communication on bootloader. I&amp;#39;m using the debug code and checking via LOG (uart), but when I added the initialization process of twi (nrf_drv_twi_init) I receive</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Apr 2017 19:39:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20299/using-twi-on-bootloader" /><item><title>RE: using twi on bootloader</title><link>https://devzone.nordicsemi.com/thread/79090?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 19:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d018a30-a68e-403b-a9db-3d46f23e6c4f</guid><dc:creator>Luccas</dc:creator><description>&lt;p&gt;My problem was solved by correcting the priority level to APP_IRQ_PRIORITY_HIGH.
My config ended like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    const nrf_drv_twi_config_t twi_config = {
   .scl                = I2C_SCL, //scl pin
   .sda                = I2C_SDA, //sda pin
   .frequency          = NRF_TWI_FREQ_100K,
   .interrupt_priority = APP_IRQ_PRIORITY_HIGH,
   .clear_bus_init     = false
};
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using twi on bootloader</title><link>https://devzone.nordicsemi.com/thread/79089?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 14:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11acb988-30a3-4be9-b2b0-e6f4d400daef</guid><dc:creator>Miguel</dc:creator><description>&lt;p&gt;I am having similar problem, if you have new developments please post.
Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using twi on bootloader</title><link>https://devzone.nordicsemi.com/thread/79088?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2017 14:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff647441-8694-463f-8c74-55bf4535918b</guid><dc:creator>Luccas</dc:creator><description>&lt;p&gt;It seems this error was because of one configuration of twi, in my case I was setting the priority level with wrong values. I&amp;#39;ll try to communicate and report if success.
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>