<?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>AIN0 not measuring on pca10028</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11176/ain0-not-measuring-on-pca10028</link><description>Hello,
measuring ADC signal on P0.26/AIN0/XL2 and P0.27/AIN1/XL1 doesn&amp;#39;t work (I get constant value from the ADC not reflecting actual voltage on the pin). AIN2 - AIN7 seem to work. 
 I hope 32khz xtal (it occupies these two pins) is disabled by calling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jan 2016 15:16:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11176/ain0-not-measuring-on-pca10028" /><item><title>RE: AIN0 not measuring on pca10028</title><link>https://devzone.nordicsemi.com/thread/41863?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 15:16:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2966b12-66c8-4017-a46b-997868623184</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;Classic example of RTFM :) Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AIN0 not measuring on pca10028</title><link>https://devzone.nordicsemi.com/thread/41862?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 13:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74a0f282-250f-420b-821c-cbf9fcda6360</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi gaminn&lt;/p&gt;
&lt;p&gt;To disconnect the crystal and enable the pins as GPIO/AIN pin you need to perform the steps described in the &lt;a href="https://www.nordicsemi.com/eng/content/download/64339/1090475/file/nRF51-DK%20-%20User%20Guide%20v1_0.pdf"&gt;nRF51 DK User guide&lt;/a&gt;, section 5.6&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AIN0 not measuring on pca10028</title><link>https://devzone.nordicsemi.com/thread/41861?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 05:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c8dd44b-505f-4f09-9b98-72643b604079</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;I init my ADC for 10 bit, 1/3 divider and VDD/2 reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AIN0 not measuring on pca10028</title><link>https://devzone.nordicsemi.com/thread/41860?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 05:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd262e3f-d8de-4260-bfe9-1d0212bb5e1b</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;Please correct me, but in school, they told us, that for DC crystal acts as infinite resistance, so it won&amp;#39;t influence slowly changing ADC signal. Also my multimeter shows me correct voltage on AIN0 and AIN1. But ADC won&amp;#39;t measure it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AIN0 not measuring on pca10028</title><link>https://devzone.nordicsemi.com/thread/41859?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 01:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4926c336-82da-41f2-b54d-4490125c6baf</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Just because the nrf51 isn&amp;#39;t using the crystal itself doesn&amp;#39;t mean it disappears from the universe, or from the circuit. So unless you&amp;#39;ve physically removed it from the board you are shorting your AIN0/AIN1 voltage across a crystal, which depending on frequency of your input is acting anything from a small resistance to a large one. So it&amp;#39;s probably not going to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AIN0 not measuring on pca10028</title><link>https://devzone.nordicsemi.com/thread/41858?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 00:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40cd342a-dc0a-4249-b69b-1b5d723b0925</guid><dc:creator>xtting</dc:creator><description>&lt;p&gt;I believe you should attach all of your config code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>