<?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>SAADC sample value range on nRF52 dev kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54559/saadc-sample-value-range-on-nrf52-dev-kit</link><description>Hello ... 
 I&amp;#39;m porting our product from RF Digital&amp;#39;s Simblee to Laird&amp;#39;s BL651 (nRF52810). A phototransistor measures light, is connected to an analog pin, and is sampled occasionally. The circuit also has a comparator, and GPIOTE and PPI are used to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Nov 2019 06:33:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54559/saadc-sample-value-range-on-nrf52-dev-kit" /><item><title>RE: SAADC sample value range on nRF52 dev kit</title><link>https://devzone.nordicsemi.com/thread/221464?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 06:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a651f007-b055-42a9-b302-8cb6d6060cb7</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Thanks Jared. I mistakenly had the analog input configured for internal pull-up resistor. Change to:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_gpio_cfg_input(PHOTOTRANSISTOR_ANALOG_PIN,NRF_GPIO_PIN_NOPULL);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;m getting correct analog values.&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC sample value range on nRF52 dev kit</title><link>https://devzone.nordicsemi.com/thread/221131?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 15:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c622bd4e-9982-4958-8375-01eebe58110b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The value that you get is &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52810/saadc.html?cp=4_4_0_5_16_2#saadc_digital_output"&gt;dependent on the specific ADC&lt;/a&gt; that you&amp;#39;re using. You can therefore expect to get a different value when you use the nRF. However, you should have a value that varies accordingly to what is connected to the SAADC input so something is not correct. The code that you posted seems correct, so i&amp;#39;m guessing that you&amp;#39;re not using the correct pin. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52354/can-t-get-correct-value-from-sensor-via-saadc/210726#210726"&gt;See this case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>