<?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>ISR stack usage on FreeRTOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37099/isr-stack-usage-on-freertos</link><description>Quite a generic FreeRTOS question probably here but... on an interrupt, what&amp;#39;s the stack the ISR uses? Is it the one from the stack that got interrupted? If so, I guess that also works for the Idle task. 
 Then, what&amp;#39;s the use of the stack defined in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Aug 2018 11:29:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37099/isr-stack-usage-on-freertos" /><item><title>RE: ISR stack usage on FreeRTOS</title><link>https://devzone.nordicsemi.com/thread/142789?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 11:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e122dc13-df79-42fc-be9a-df6b4823bda5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Since handler mode always use MSP in Cortex-M4,&amp;nbsp;&amp;nbsp;if the new exception interrupted an ISR then it uses the same stack pointed by MSP.&lt;/p&gt;
&lt;p&gt;if the new exception interrupted a task (thread mode) then it switches from PSP to MSP. Does this answer your question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>