<?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>Creating a 100 uS timer results in HardFaults</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43139/creating-a-100-us-timer-results-in-hardfaults</link><description>I am trying to get a periodic interrupt every 100 uS using TIMER4. My timers_init() code sets up the TIMER4 registers as follows: 
 
 My interrupt service routine for now is a fairly simple increment of a variable but instead of hitting the breakpoint</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Oct 2019 21:08:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43139/creating-a-100-us-timer-results-in-hardfaults" /><item><title>RE: Creating a 100 uS timer results in HardFaults</title><link>https://devzone.nordicsemi.com/thread/217406?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 21:08:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d0eb5b6-946e-4245-8158-778bc4f6fa41</guid><dc:creator>Steven Grunza</dc:creator><description>&lt;p&gt;I am no longer working for the company for which this ticket was opened so it can be closed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a 100 uS timer results in HardFaults</title><link>https://devzone.nordicsemi.com/thread/168683?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 12:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86a3ce12-affa-44c5-a401-3ec3a38d8085</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Your code appears to be correct. However, if you have the Softdevice enabled you need to changed the interrupt priority of the timer IRQ to one of the allowed values (reset value for interrupt priority is &amp;#39;0&amp;#39; which is reserved to the softdevice):&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SoftDevice_Spec/s132/latest/SDS/s1xx/processor_avail_interrupt_latency/exception_mgmt_sd"&gt;https://www.nordicsemi.com/DocLib/Content/SoftDevice_Spec/s132/latest/SDS/s1xx/processor_avail_interrupt_latency/exception_mgmt_sd&lt;/a&gt;.&amp;nbsp;&amp;nbsp;Let me know if it doesn&amp;#39;t help .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>