<?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>Softdevice slowing down TWI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55142/softdevice-slowing-down-twi</link><description>Hi, 
 I am using the SDK 11 on nrf51822 I just merged the TWI sensor example and the BLE UART example. Both work together but the softdevice seems to be slowing down the twi read as reading the twi is taking almost double the time. Without softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Dec 2019 14:57:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55142/softdevice-slowing-down-twi" /><item><title>RE: Softdevice slowing down TWI</title><link>https://devzone.nordicsemi.com/thread/223379?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 14:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1e9e8df-d51b-4037-8460-8e18a90c927e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you are using blocking mode, then any interrupt will delay the execution (e.g. app_timers, softdevice radio events etc.)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice slowing down TWI</title><link>https://devzone.nordicsemi.com/thread/223308?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 12:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d769f1e7-5860-4c42-a8bb-5093d7eee0fb</guid><dc:creator>KellyJust</dc:creator><description>&lt;p&gt;Thanks for the reply Kenneth. For the softdevice for now I am just advertising and then after connection doing nothing with softdevice and still there is delay in twi. There is a DFU service also running haven&amp;#39;t tried disabling it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For twi I am using the blocking mode and have function calls for the twi sensor read write in the main.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice slowing down TWI</title><link>https://devzone.nordicsemi.com/thread/223302?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 11:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94e61864-981b-4405-acd2-8575f429b1e5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no easydma on the nRF51-series, so for a twi transfer each byte must be sent from the twi interrupt&amp;nbsp;handler (or main context if you are using blocking twi transfer). I assume with the softdevice there may be higher priority interrupts occurring, which will effectively delay the twi transfer.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>