<?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>Wrong usage of functions in examples? (SDK15.2.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38623/wrong-usage-of-functions-in-examples-sdk15-2-0</link><description>Hello all, 
 
 I&amp;#39;ve recently started developing an nRF5 device (using Segger on Ubuntu, and SDK15.2.0), and for what I have read regarding peripheral drivers, I should be using functions starting with nrfx_ , instead of nrf_drv_ , since the latter ones</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Sep 2018 14:14:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38623/wrong-usage-of-functions-in-examples-sdk15-2-0" /><item><title>RE: Wrong usage of functions in examples? (SDK15.2.0)</title><link>https://devzone.nordicsemi.com/thread/149273?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 14:14:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dae5a0f6-3c5e-4537-89d3-93f0acec45cc</guid><dc:creator>halls</dc:creator><description>&lt;p&gt;Thanks Paul and Jorgen for your replies, I will keep fighting while learning then :-) I will try to port the needed examples myself and see how they behave.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the tips!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong usage of functions in examples? (SDK15.2.0)</title><link>https://devzone.nordicsemi.com/thread/149165?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 08:00:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1512daca-db43-4ea7-b59e-312fd9b3f596</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most of the nrfx drivers work like the old legacy drivers, you only need to change the name of the functions and configs. More details can be found in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/migration.html?cp=4_0_1_1_9_4_0#migration_drivers_nrfx"&gt;SDK 15.0.0 migration guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I would recommend using the nrfx drivers, as these is the ones that will be updated in the future. If you do so, I recommend completely removing the legacy config from the sdk_config.h file, to avoid nrfx driver configs to be overwritten.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong usage of functions in examples? (SDK15.2.0)</title><link>https://devzone.nordicsemi.com/thread/149135?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 02:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5e0eb69-bb14-4443-b3e6-531e4dc586ed</guid><dc:creator>paul</dc:creator><description>&lt;p&gt;Hi Halls,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I had the same problem. Very steep learning curve because a lot of knowledge is assumed. Yes lots of the examples have not been ported. There are also non Nordic examples - google them. Finally many of the nrfx functions are largely mirrored by the nrf series functions if you can find the right place. One thing is that there are about 4 ways of doing something for any specific thing. Essentially the same functionality or similar is implemented at different levels of abstraction.&lt;/p&gt;
&lt;p&gt;I found that the most useful tools were grep and the search function in my file manager. Between them I could generally find an example of what I wanted to do. Generally that was more useful than trying to find something in the stated examples or starting with the documentation. One big hole is the order and which things need to be done for each library/API. That information tends to only be in the code.&lt;/p&gt;
&lt;p&gt;After six weeks or so I am quite productive....&lt;/p&gt;
&lt;p&gt;Cheers Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>