<?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>why are there 8 bits to select the analog input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5848/why-are-there-8-bits-to-select-the-analog-input</link><description>I&amp;#39;m just reading the documentation regarding the analog digital converter and wonder why there is one bit in the configuration register for every analog input. What will happen when I set more than one bit in CONFIG.D? 
 cheers Torsten</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Mar 2015 15:48:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5848/why-are-there-8-bits-to-select-the-analog-input" /><item><title>RE: why are there 8 bits to select the analog input</title><link>https://devzone.nordicsemi.com/thread/20420?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 15:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea1cd473-1711-4349-a47b-ae32df64d787</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;So the answer to my question would be something like: „There is no special reason; possibly this way the hardware design was easier„? I mean using 3 (lb 8) bits to simply address the analog input would be more intuitive to me ;-) But thank you for the feedback!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why are there 8 bits to select the analog input</title><link>https://devzone.nordicsemi.com/thread/20419?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2015 10:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24a2da66-9018-471a-8f8f-462615e86434</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Each PSEL bits in the ADC config register represent one AIN input pin. I think you should not enable more than one analog pin at each time for the ADC. You can however sample on multiple pins in time-multiplex fashion, like done in &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples/blob/master/simultaneous-adc-sampling-from-two-inputs/main.c"&gt;this example&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>