<?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>6 PWM, 6 SAADC, Timers allocation question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14774/6-pwm-6-saadc-timers-allocation-question</link><description>Hi,
nRF52 Board, S132. Now, I want 6 pwm, 6 adc . 
 nRF52 has 5Timers, Timer0-Timer4.
Now, I allocation these timers as follows: 
 //TIMER0 is used by softDevice 
 APP_PWM_INSTANCE(PWM1,1); // Create the instance &amp;quot;PWM1&amp;quot; using TIMER1. 
 APP_PWM_INSTANCE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jun 2016 16:35:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14774/6-pwm-6-saadc-timers-allocation-question" /><item><title>RE: 6 PWM, 6 SAADC, Timers allocation question</title><link>https://devzone.nordicsemi.com/thread/56420?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2016 16:35:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17d67003-50a1-42db-8530-04e62d9267c5</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Hmm, not sure. What does not work exactly? everything? does it not advertise, or does the PWM or SAADC not work? If you start the debugger and then stop the debugger(the red X in Keil), where is the execution at? Also try to enable Debug as &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/?answer=60126#post-id-60126"&gt;described here&lt;/a&gt; and set a breakpoint in the error handler. If execution ends up in the error handler, then you can see in the call stack viewer where the error occured and the error code.  Another error handling guide is &lt;a href="https://devzone.nordicsemi.com/blogs/821/an-introduction-to-error-handling-in-nrf5-projects/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>