<?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>nRF52 realtime interrupts?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9168/nrf52-realtime-interrupts</link><description>With the nRF51, it was not possible to run a high frequency realtime task due to the SoftDevice running with the highest interrupt priority, is this different for the nRF52? I couldn&amp;#39;t find anything definite in the docs so far, did this change? 
 (Specifically</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Sep 2015 06:56:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9168/nrf52-realtime-interrupts" /><item><title>RE: nRF52 realtime interrupts?</title><link>https://devzone.nordicsemi.com/thread/33787?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 06:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b92e715e-dc0a-4d3f-80ac-6e4d02829e2a</guid><dc:creator>dognotdog</dc:creator><description>&lt;p&gt;Unfortunately, I don&amp;#39;t see a way to program a speed ramp in the PWM modules that isn&amp;#39;t made of a series of discrete constant-width pulse sequences, which for this application is rather bad.&lt;/p&gt;
&lt;p&gt;I do wonder if the SoftDevice really needs top priority, after all, it works in the ms range, while the 50kHz are 0.02ms, with irq execution times &amp;lt; 0.01ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 realtime interrupts?</title><link>https://devzone.nordicsemi.com/thread/33786?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2015 01:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:514bbdbd-390e-4424-84dc-2bab348cba7f</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No and yes. The basic design hasn&amp;#39;t changed, the softdevice still has priority over everything else and running realtime interrupt-based tasks is still not going to work.&lt;/p&gt;
&lt;p&gt;However the nRF52 has added more hardware peripherals which are not processor-bound, most of them use EasyDMA and can be set and left. There&amp;#39;s a new PWM module, the documentation on which is rather long because it has a lot of configurable options for generating pulse trains which can change on a per-cycle basis and also uses EasyDMA to read programmed sequences out of RAM. Does that have enough options to do what you want?&lt;/p&gt;
&lt;p&gt;I tried quite hard to like the TI chip but can&amp;#39;t get past their awful development environment and it&amp;#39;s back to mouldering in a box on the shelf.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>