<?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>SDK17 TWI (i2C) problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79913/sdk17-twi-i2c-problem</link><description>Hello, 
 sorry to border you again, but I have a problem that block me for many days. I read all nordic questions on TWI (I2C) but did not found a solution... :( 
 I have implemented TWI with zephyr i do not have any problem, it works perfectly. Here</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Sep 2021 13:01:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79913/sdk17-twi-i2c-problem" /><item><title>RE: SDK17 TWI (i2C) problem</title><link>https://devzone.nordicsemi.com/thread/330864?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 13:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c263b855-f37a-402b-91df-d6fa295a26e1</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="Enrico"]ok, i will go back on NCS SDK, and i think that i will stay there.[/quote]
&lt;p&gt;I think this is a great choice - the nRF Connect SDK has production support for the nRF52 series already, so there should be no problem using it as it is currently.&lt;br /&gt;As an added bonus to the nRF Connect SDK we just launched the &lt;a href="https://marketplace.visualstudio.com/publishers/nordic-semiconductor"&gt;Visual Studio Extension pack&lt;/a&gt; too, so you may use Visual Studio code for your development! :)&lt;/p&gt;
[quote user="Enrico"]NCS powering on is 0.5 seconds slower than NRFSDK power on. So doesn&amp;#39;t matter it is just a consideration.[/quote]
&lt;p&gt;That is strange, 0.5 seconds is quite a lot when it comes to extra time powering up. I will make a note of this and have a look to see if I can replicate it on my end as well.&lt;br /&gt;Thanks for the headsup!&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any issues or questions in the future.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK17 TWI (i2C) problem</title><link>https://devzone.nordicsemi.com/thread/330850?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 12:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ffc17b7-fe57-4a49-a4cd-870e803c26d7</guid><dc:creator>Epasta</dc:creator><description>&lt;p&gt;Hello Karl,&lt;/p&gt;
&lt;p&gt;ok, i will go back on NCS SDK, and i think that i will stay there.&lt;/p&gt;
&lt;p&gt;What I saw is that:&lt;br /&gt;NCS powering on is 0.5 seconds slower than NRFSDK power on. So doesn&amp;#39;t matter it is just a consideration.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;br /&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK17 TWI (i2C) problem</title><link>https://devzone.nordicsemi.com/thread/330833?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 11:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e93fddd6-c8e1-4532-80f9-0ff5b6532602</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="Enrico"]thanks for your time and the reply.[/quote]
&lt;p&gt;No problem at all, I am happy to help! :)&amp;nbsp;&lt;/p&gt;
[quote user="Enrico"]- i read that nrf5 sdk is more stable. Is this not true?[/quote][quote user="Enrico"]Do you suggest to me to continue with NCS SDK?[/quote]
&lt;p&gt;I recommend that you &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;read through the blogpost I referenced about this&lt;/a&gt;&amp;nbsp;before you make your decision, but to summarize; the nRF5 is our most &lt;em&gt;mature&lt;/em&gt; SDK, having existed for a decade already. The nRF5 SDK is currently going into maintenance mode, meaning that it will no longer receive any new features, only bugfixes and security patches. The nRF Connect SDK is our new SDK, which we are actively developing and adding new features to. All coming BLE features will be added to the NCS SDK. The NCS SDK is also RTOS based (Zephyr) which is a great advantage of it as well.&lt;br /&gt;So, while the nRF5 SDK is the &amp;#39;tried and true&amp;#39; SDK - and a good choice still - it will not feature anything that is not in it already, so new developments that wish to be able to make use of all the new BLE features and improvements should develop with the NCS SDK.&lt;br /&gt;&lt;br /&gt;Personally, I would recommend that all new developments happens on the NCS SDK.&lt;/p&gt;
[quote user="Enrico"]I saw also that on powering on, NRFSDK is faster than NCS[/quote]
&lt;p&gt;Could you elaborate on this? To my knowledge the SoC will have approximately equal startup time when used with either SDK.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK17 TWI (i2C) problem</title><link>https://devzone.nordicsemi.com/thread/330825?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 11:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f38ab30-6df6-448c-8d21-b5c57fe4e293</guid><dc:creator>Epasta</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for your time and the reply.&lt;br /&gt;- No i do not have any errors during runtime.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;If I may ask, why are you moving from a Zephyr project onto using the nRF5 SDK?&amp;quot;&lt;br /&gt;- i read that nrf5 sdk is more stable. Is this not true? I saw also that on powering on, NRFSDK is faster than NCS&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you suggest to me to continue with NCS SDK? If yes I stop develop on NRF5 SDK and I will continue on NCS SDK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks again for your time&lt;br /&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK17 TWI (i2C) problem</title><link>https://devzone.nordicsemi.com/thread/330817?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 11:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2a48e87-3b43-45d5-8683-66eb4ed4ba53</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Are you seeing any errors on runtime when you run your nRF5 SDK code?&lt;br /&gt;Could you show me exactly what you log says when you run this function?&lt;br /&gt;Do you have access to a logic analyzer? It would be very helpful to see what is happening on the lines here.&lt;br /&gt;&lt;br /&gt;For future reference I recommend that you make use of the TWIM driver directly if this is a new development. With the TWIM driver you should call &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fgroup__nrfx__twim.html&amp;amp;anchor=gae53a1bebcd5961e1cd7a79e4039b8c88"&gt;nrfx_twim_xfer&lt;/a&gt;&amp;nbsp;with &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fgroup__nrfx__twim.html&amp;amp;anchor=ga07a7b732d1b87b714338fccce09996bc"&gt;a TXRX descriptor&lt;/a&gt;&amp;nbsp;to first do a TX and then an RX.&lt;/p&gt;
[quote user=""]But I can&amp;#39;t have the same result with SDK17.[/quote][quote user=""]I have implemented TWI with zephyr i do not have any problem, it works perfectly.[/quote]
&lt;p&gt;If I may ask, why are you moving from a Zephyr project onto using the nRF5 SDK?&lt;br /&gt;As detailed in &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;this blogpost&lt;/a&gt;&amp;nbsp;we recommend that all new development now happens on the NCS SDK instead.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>