<?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>nRF52833 send analog data using saadc to nrf connect app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94688/nrf52833-send-analog-data-using-saadc-to-nrf-connect-app</link><description>I am attempting to modify the peripheral_uart example for nRF52833 to send analog data from CH[3] of the saadc to the nrf connect app. 
 I have enabled the saadc in my sdk_config.h found here \nRF5_SDK_17.1.0_ddde560\config\nrf52833\config\: 
 
 
 And</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Dec 2022 13:52:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94688/nrf52833-send-analog-data-using-saadc-to-nrf-connect-app" /><item><title>RE: nRF52833 send analog data using saadc to nrf connect app</title><link>https://devzone.nordicsemi.com/thread/402299?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 13:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35a9c591-5c1c-4cbc-b722-a847360731d2</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi, &lt;br /&gt;I will continue helping with this case.&lt;/p&gt;
&lt;p&gt;If you are going to use the ADC fromt he nRF Connect SDK, I recommend doing it the &amp;quot;Zephyr Way&amp;quot; instead for writing directly to registers.&lt;/p&gt;
&lt;p&gt;The Zephyr RTOS use the Devicetree to keep track of which peripherals are used, and which gpio are used, to make sure that nothing overlaps.&lt;/p&gt;
&lt;p&gt;To learn more about nRF Connect basics, drivers and the devicetree , see &lt;a href="https://academy.nordicsemi.com/"&gt;https://academy.nordicsemi.com/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For an example on how to use the SAADC, see our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/boards/nrf/battery/README.html"&gt;Battery measurement sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 send analog data using saadc to nrf connect app</title><link>https://devzone.nordicsemi.com/thread/402002?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 18:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d487b8ef-ad39-49bc-9a6a-efd92ad5d19d</guid><dc:creator>tiny_l</dc:creator><description>&lt;p&gt;Karl,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to use the nRF Connect SDK - I am using a zephyr example for peripheral_uart and relying on the nus documentation and samples from the nRF Connect documentation. The enables from the nrf5 SDK of the sdk_config.h was an error on my end, but everything else is nRF Connect SDK from what I can gather.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 send analog data using saadc to nrf connect app</title><link>https://devzone.nordicsemi.com/thread/401994?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 16:33:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11eb551b-7dfe-42b7-9b75-e83e05b0807c</guid><dc:creator>tiny_l</dc:creator><description>&lt;p&gt;Can you share examples for how to do what I intend with the nRF Connect instead since this seems to be the standard going forward?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 send analog data using saadc to nrf connect app</title><link>https://devzone.nordicsemi.com/thread/399859?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 09:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a99213-c186-4723-a0b8-ed2c48d7a5a3</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I notice that you seem to be using&lt;a href="https://www.nordicsemi.com/Products/Development-software/nrf5-sdk"&gt; the nRF5 SDK&lt;/a&gt;&amp;nbsp;while the documentation you reference for the NUS is made for the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt;&amp;nbsp;which is likely part of the issue here.&lt;br /&gt;The documentation &lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html"&gt;for the nRF5 SDK can be found here&lt;/a&gt;.&lt;br /&gt;Please see &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;this statement regarding the two SDKs, and why we recommend that all new projects use the nRF Connect SDK&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please see &lt;a href="https://github.com/NordicPlayground/nRF52-ADC-examples/tree/master/ble_app_uart__saadc_timer_driven__scan_mode"&gt;this example&lt;/a&gt;&amp;nbsp;as a reference for how you could send SAADC measurements over the NUS service using the nRF5 SDK.&lt;br /&gt;&lt;br /&gt;A small side-note when working with the nRF5 SDK is also that you should only have 1 *_ENABLED&amp;nbsp;&lt;em&gt;defined&lt;/em&gt; for each peripheral. If both are defined at the same time, the driver will revert to using the configuration set with the legacy define. In essence, if you have both SAADC_ENABLED and NRFX_SAADC_ENABLED defined in your sdk_config.h then the driver will overwrite the NRFX_SAADC_* configurations you have made, with the SAADC_* configurations.&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>