<?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>Where can I find the actual API documentation that talks about how to write against the nRF Connect SDK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92784/where-can-i-find-the-actual-api-documentation-that-talks-about-how-to-write-against-the-nrf-connect-sdk</link><description>I&amp;#39;ve googled all over, and I&amp;#39;m having a hard time finding any documentation that digs into how to use the nRF Connect SDK. Most documents point to examples, however the wealth of examples come from the pre-connect SDK. I&amp;#39;ve found the docs for the actual</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Oct 2022 07:51:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92784/where-can-i-find-the-actual-api-documentation-that-talks-about-how-to-write-against-the-nrf-connect-sdk" /><item><title>RE: Where can I find the actual API documentation that talks about how to write against the nRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/390911?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2022 07:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab9c3415-84ff-44ed-a3ed-f83ab4979ef5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
[quote user="the_reza"]Is this the best approach?&amp;nbsp; Is there any way to get the ADC to just run and write to a FIFO without the cpu interacting?&amp;nbsp; And I&amp;#39;m assuming this will work with SDK Connect?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;It&amp;#39;s possible to setup timers, ppi and adc to execute an ADC measurement without MCU interaction at given intervals, but the handling (e.g. copying to a different buffer) must be done by the MCU. This is a good approach.&lt;/p&gt;
[quote user="the_reza"]I think I picked a bad time to start using the Nordic ICs -- the older SDK seemed so much more straightforward and so much better documented.&amp;nbsp; Are people still coding against it or is the use of the Connect highly recommended?[/quote]
&lt;p&gt;The nRF Connect is the one that is recommended and preferred yes. The old nRF5 SDK only get critcal fix updates, all new development is on the nRF Connect SDK.&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: Where can I find the actual API documentation that talks about how to write against the nRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/390577?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 08:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66526fce-dbd6-4996-bb79-978ba6321539</guid><dc:creator>the_reza</dc:creator><description>&lt;p&gt;Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you so much for pointing me at some relevant docs.&amp;nbsp; I&amp;#39;ve been spending some time trying to understand all the parts - please let me know if i&amp;#39;m on the right or wrong track.&lt;/p&gt;
&lt;p&gt;So the NRFX codebase lets me use peripherals without having to use the overlays? If so, this example seems the most relevant that I&amp;#39;ve found so far (github.com/.../nRF52-ADC-examples).&amp;#160;&amp;#160;&lt;/p&gt;
&lt;p&gt;I then configure a timer to trigger adc conversions of a sequence of channels to a FIFO.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would also configure a different timer to read from the fifo and send data to the BT stack?&lt;/p&gt;
&lt;p&gt;Is this the best approach?&amp;nbsp; Is there any way to get the ADC to just run and write to a FIFO without the cpu interacting?&amp;nbsp; And I&amp;#39;m assuming this will work with SDK Connect?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In looking at PPIs, I&amp;#39;ve only really seen examples where they are used to connect an i/o change to an interrupt or visa-versa.&amp;nbsp; Not sure how they can be used with the ADC or BT -- can they be?&amp;nbsp; &amp;nbsp;In the nrfx_saadc_multi_channel_ppi example, it seems that the PPI is only used to initiate an ADC conversion from the timer -- I&amp;#39;m not sure how this is better than having an timer ISR start the ADC conversion itself.&lt;/p&gt;
&lt;p&gt;I think I picked a bad time to start using the Nordic ICs -- the older SDK seemed so much more straightforward and so much better documented.&amp;nbsp; Are people still coding against it or is the use of the Connect highly recommended?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Reza&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I find the actual API documentation that talks about how to write against the nRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/390507?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 15:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db8b589d-3c78-459b-925b-f1c593f25e29</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I guess there are several ways and steps this can be done, but here are my input to get started.&lt;/p&gt;
&lt;p&gt;I recommend that you checkout the zephyr example that use nrfx driver directly:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/boards/nrf/nrfx/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/boards/nrf/nrfx/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In your case you need to use the nrfx_saadc instead with similiar approach:&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/include/nrfx_saadc.h"&gt;https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/include/nrfx_saadc.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There should be&amp;nbsp;threads here on devzone that show how to use the nrfx saadc driver. Once you&amp;nbsp;are sampling&amp;nbsp;the SAADC as you want, the next step will be how to transfer this data to zephyr, then I suggest to check out:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/kernel/services/index.html#data-passing"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/kernel/services/index.html#data-passing&lt;/a&gt;&amp;nbsp;&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></channel></rss>