<?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>ADC Values passed through BLE Characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10040/adc-values-passed-through-ble-characteristic</link><description>Hey All, 
 I am currently trying to have a Analog Signal come in through P0.05 which then gets converted via the onboard ADC and send out a Service Characteristic. I am using a modified version of the ble-app-lbs but I am stuck with how to get the ADC_IRQHandler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Nov 2015 14:08:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10040/adc-values-passed-through-ble-characteristic" /><item><title>RE: ADC Values passed through BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/37210?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 14:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00955528-15a4-42b5-8f4b-d6b5f94e25b2</guid><dc:creator>Extrabeefy</dc:creator><description>&lt;p&gt;Sure not a problem, will add the whole project&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC Values passed through BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/37211?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 09:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb072d75-5aa8-4d6d-a952-03d83c87dc6c</guid><dc:creator>Makarand K</dc:creator><description>&lt;p&gt;If I understand correctly, you trigger ADC in main() and then on each ADC_IRQ. I&amp;#39;m not sure if it would be a good idea because the conversions would not take long and you would end up getting interrupted too often! I&amp;#39;ve seen in past that if I try to pump out characteristic data too fast, things get messed up on device&lt;/p&gt;
&lt;p&gt;You already seem to be having a sampling timer. Probably you should move triggering off the ADC in that&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples/tree/master/rtc0_triggering_ADC_sample_from_GPIO_pin"&gt;Here&amp;#39;s&lt;/a&gt; an example from Nordic  related to sampling ADC inputs, it&amp;#39;s not tuned to what you are trying but will give you idea on usage&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC Values passed through BLE Characteristic</title><link>https://devzone.nordicsemi.com/thread/37209?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 08:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1817bd04-f518-479a-a23b-3d093614358c</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi. Can you post your whole project as an attachment instead? It is easier to help you if i can run the project on my own DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>