<?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>saadc called inside app timer not started</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22360/saadc-called-inside-app-timer-not-started</link><description>Hi guys.
I&amp;#39;m trying to measure my battery. I&amp;#39;m testing my function from main and it works.
The procedure looks like this: 
 
 saadc init 
 sample data 
 saadc uninit 
 
 But when i try to execute the same from app timer it hangs.
Is there some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 May 2017 07:23:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22360/saadc-called-inside-app-timer-not-started" /><item><title>RE: saadc called inside app timer not started</title><link>https://devzone.nordicsemi.com/thread/87893?ContentTypeID=1</link><pubDate>Fri, 26 May 2017 07:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28142cf5-bb60-467a-8268-55989b2e338f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, as long as its below 5 you should be O.K.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc called inside app timer not started</title><link>https://devzone.nordicsemi.com/thread/87892?ContentTypeID=1</link><pubDate>Fri, 26 May 2017 07:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:580c0c43-28e2-4538-a41a-6a6de85cc53c</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;Hi, i have changed the SAADC priority to 6 and TIMER3 which is my instance to 6. And now it works! Do you think this is ok? I use SDK 13.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: saadc called inside app timer not started</title><link>https://devzone.nordicsemi.com/thread/87891?ContentTypeID=1</link><pubDate>Fri, 26 May 2017 07:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8add57da-7e2d-48d9-baf1-6499d79a45f5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which SDK version are you using? Yes, it could likely be a priority issue. Can you post the code snippets where you initialize the SAADC? The SAADC_CONFIG_IRQ_PRIORITY should be set set to 7 if you&amp;#39;re using SDK v12.x.x or newer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>