<?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>S110 ADC Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2244/s110-adc-example</link><description>Hi. I&amp;#39;ve never asked a question here, and I&amp;#39;m a complete beginner to embedded programming, so I apologize if I break protocol in anything I do on here. 
 My setup:
nrfgo Motherboard (nRF6310) and nrf51822 module
Environment: nrfStudio in conjunction</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Apr 2014 06:47:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2244/s110-adc-example" /><item><title>RE: S110 ADC Example</title><link>https://devzone.nordicsemi.com/thread/9446?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2014 06:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0275cbf1-b3ac-4277-860e-1f1b394d03ea</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;That is exactly what I did as well in order to port the example to SDK v5.2.0, so perhaps your code is identical with my new example code. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 ADC Example</title><link>https://devzone.nordicsemi.com/thread/9445?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2014 15:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ea054b-d9d3-4e66-bc43-99c7a283eace</guid><dc:creator>Paul Krogmeier</dc:creator><description>&lt;p&gt;Thanks I&amp;#39;ll give this a try. I actually ended up copying the ADC pertinent code from your old example into the standard ble_app_hrs main file, with one modification: I had to increase the APP_TIMER_MAX_TIMERS variable from 5 to 6; then it worked.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll give the new example a test run soon, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 ADC Example</title><link>https://devzone.nordicsemi.com/thread/9444?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2014 11:42:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aca2add-e290-4caf-8850-87814b9d6d76</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Paul&lt;/p&gt;
&lt;p&gt;I tried to run the example again that I attached on the thread that you mentioned and apparently it did not work with SDK 5.2.0. I got the same compile errors as you are seeing. My bad! That example only works for SDK 5.1.0. There were some changes made in persistent storage in SDK 5.2.0 that create these errors.&lt;/p&gt;
&lt;p&gt;I attach the same ADC example that I have ported to SDK 5.2.0. Instructions on how to operate the example is given at the top of the main file in the example. I am really sorry for the inconvenience this has caused! Let me know how it turns out.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1261.ble_5F00_app_5F00_hrs_5F00_adc_5F00_sample_5F00_ain_5F00_sdk_5F00_5_5F00_2_5F00_0.zip"&gt;ble_app_hrs_adc_sample_ain_sdk_5_2_0.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 ADC Example</title><link>https://devzone.nordicsemi.com/thread/9441?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2014 09:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfcc31f8-40ad-44bf-89f9-89b469965ce4</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Are you using softdevice S110 v6.0.0 and nRF51 SDK 5.2.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 ADC Example</title><link>https://devzone.nordicsemi.com/thread/9443?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2014 09:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0060c694-56b7-4a1f-b714-64bfacb90e75</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Paul&lt;/p&gt;
&lt;p&gt;To start with, the function in question is a softdevice API function. To see the definition for such a function, right click and then click &amp;quot;Go to reference ...&amp;quot; instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 ADC Example</title><link>https://devzone.nordicsemi.com/thread/9442?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2014 23:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4941f164-7e93-4418-8430-0b0e17ed26bb</guid><dc:creator>Paul Krogmeier</dc:creator><description>&lt;p&gt;Additionally,&lt;/p&gt;
&lt;p&gt;The function that returns the error in pstorage_init() is &amp;quot;sd_flash_page_erase()&amp;quot; (this from the ble_app_hrs_with_adc_sample_ain example)&lt;/p&gt;
&lt;p&gt;Walking through the functioning ble_app_hrs example, sd_flash_page_erase() returns NRF_SUCCESS.&lt;/p&gt;
&lt;p&gt;However, in either example...&lt;/p&gt;
&lt;p&gt;When trying to &amp;quot;Go to definition of &amp;#39;sd_flash_page_erase&amp;#39; &amp;quot; by right clicking on the function itself in Keil debugger mode, it complains about an &amp;quot;undefined Definition/Reference&amp;quot;...even though the function returns NRF_SUCCESS in the standard ble_app_hrs example, so it&amp;#39;s defined somewhere, correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>