<?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>EYSHSNZWZ saadc value differ from the value of nrf52DK with same code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64045/eyshsnzwz-saadc-value-differ-from-the-value-of-nrf52dk-with-same-code</link><description>Hi i tested the code with nrf52DK with same code getting 3 analog value from AIN1, AIN2, AIN3 and it worked fine. 
 But when I use EYSHSNZWZ for my pcb, ADC value was just 20~38 which should be around 500(for around 1.5V). (i checked the pin mapping)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 26 Jul 2020 08:25:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64045/eyshsnzwz-saadc-value-differ-from-the-value-of-nrf52dk-with-same-code" /><item><title>RE: EYSHSNZWZ saadc value differ from the value of nrf52DK with same code</title><link>https://devzone.nordicsemi.com/thread/261685?ContentTypeID=1</link><pubDate>Sun, 26 Jul 2020 08:25:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdab62c9-edf4-4c94-9c69-24b525956e6a</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I suggest you re-check your pin mappings.&lt;/p&gt;
[quote user="nrfcho"]its not changing its still same value around 40..[/quote]
&lt;p&gt;&amp;nbsp;And if you connect AIN1 to VDD is the value still ~40?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: EYSHSNZWZ saadc value differ from the value of nrf52DK with same code</title><link>https://devzone.nordicsemi.com/thread/261672?ContentTypeID=1</link><pubDate>Sat, 25 Jul 2020 07:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ed44ee8-388a-410a-9766-5c6ee313d82c</guid><dc:creator>nrfcho</dc:creator><description>&lt;p&gt;&lt;br /&gt;void saadc_init(void)&lt;br /&gt;{&lt;br /&gt; ret_code_t err_code;&lt;br /&gt; nrf_saadc_channel_config_t channel_0_config =&lt;br /&gt; NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN1); &lt;br /&gt; nrf_saadc_channel_config_t channel_1_config = &lt;br /&gt; NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN2);&lt;br /&gt; nrf_saadc_channel_config_t channel_2_config =&lt;br /&gt; NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_SE(NRF_SAADC_INPUT_AIN3);&lt;br /&gt; err_code = nrf_drv_saadc_init(NULL, saadc_callback);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;err_code = nrf_drv_saadc_channel_init(0, &amp;amp;channel_0_config);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; &lt;br /&gt; err_code = nrf_drv_saadc_channel_init(1, &amp;amp;channel_1_config);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;err_code = nrf_drv_saadc_channel_init(2, &amp;amp;channel_2_config);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;err_code = nrf_drv_saadc_buffer_convert(m_buffer_pool[0], SAMPLES_IN_BUFFER);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;err_code = nrf_drv_saadc_buffer_convert(m_buffer_pool[1], SAMPLES_IN_BUFFER);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;this is my code for saadc_init&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: EYSHSNZWZ saadc value differ from the value of nrf52DK with same code</title><link>https://devzone.nordicsemi.com/thread/261670?ContentTypeID=1</link><pubDate>Sat, 25 Jul 2020 07:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a2e1843-89ad-4ead-8fff-9abd9b651d5a</guid><dc:creator>nrfcho</dc:creator><description>&lt;p&gt;its not changing its still same value around 40..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: EYSHSNZWZ saadc value differ from the value of nrf52DK with same code</title><link>https://devzone.nordicsemi.com/thread/261434?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2020 16:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28491efc-8d7f-43bb-9502-61e1e47065e3</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;What&amp;#39;s the SAADC configuration?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you short AIN1 to VDD and read out the sampled value?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>