<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32K中的主题 Re:  freeRTOS_10_1_1 stack overflow</title>
    <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941144#M5076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late response.&lt;/P&gt;&lt;P&gt;According to the Cortex-M4 Devices Generic User Guide from ARM (&lt;A href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0553b/DUI0553.pdf"&gt;link&lt;/A&gt;), if you want to write to this register, you must write 0x5FA to the VECTKEY field, otherwise, the processor ignores the write. For more information refer to section 4.3.5 of the User Guide mentioned before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2019 20:10:33 GMT</pubDate>
    <dc:creator>victorjimenez</dc:creator>
    <dc:date>2019-08-30T20:10:33Z</dc:date>
    <item>
      <title>freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941136#M5068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo expert，&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;I use freeRTOS_10_1_1, and I creat only one task. I get ADC value from ADC12, but when I change the sample into voltage, there is something wrong.&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;After the following floating-point is comouted,:&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&amp;nbsp;/* Process the result to get the value in volts */&lt;BR style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;" /&gt;&amp;nbsp;adcValue = ((float) adcRawValue / adcMax) ;//* (ADC_VREFH - ADC_VREFL);&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;then the task sleep controlled by follwing command:&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&amp;nbsp;vTaskDelay(pdMS_TO_TICKS(10));&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;but the task&amp;nbsp; FreeRTOS_vApplicationStackOverflowHook() will run. why ?&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;I changed the heap size and stack size, but it can not be solved.&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;I show my project as an attachment.&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;Could you give me some suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 07:06:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941136#M5068</guid>
      <dc:creator>zhaoyanling</dc:creator>
      <dc:date>2019-07-04T07:06:00Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941137#M5069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;First I would like to apologize for the late response.&lt;/P&gt;&lt;P&gt;I took a look into the main.c of your folder and I notice something that I had seen before while working with FreeRTOS. In your AppTask you have the following floating-point operation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;adcRealVol[0] = ((float) adcRawValue[0] / 256)*(ADC_VREFH - ADC_VREFL);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But, you are not using for anything the adcRealVol[0] value. By default your project has optimizations and, since you are not using this value, the compiler is optimizing it. This causes some strange behavior while working with FreeRTOS. To solve this behavior that you are facing, please turn off all the optimizations. To do this go to your project properties &amp;gt; C/C++ Build &amp;gt; Settings &amp;gt; Standard S32DS C Compiler &amp;gt; Optimization &amp;gt; Optimization Level and select None.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82436i6771CA6D7CE123CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the results on your side.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 22:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941137#M5069</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2019-07-23T22:51:45Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941138#M5070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hallo Jimenez,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;First, thank you very much for your kind help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried as your suggestion, the problem cannot be worked out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I found that the value of “Maximum Priorities” must be 1, then the project can work normally, shown as the following fig. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="priority settng.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82745i793E63E5EA24D709/image-size/large?v=v2&amp;amp;px=999" role="button" title="priority settng.bmp" alt="priority settng.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and it seems the problem is caused by the NVIC priority grouping, the illustration of freeRTOS codes ares shown as the following fig. But I cannot understand how to set the NVIC_SetPriorityGrouping for S32K144. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="explanation.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83493iAC88043E695E8EBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="explanation.bmp" alt="explanation.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I read the datasheets, and I set PRIGROUP bits of register AIRCR as this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S32_SCB_AIRCR_PRIGROUP(0x03);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;which I means to set preemptive priority is 16, and subpriority is 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but when I debug, the value of register S32_SCB -&amp;gt; AIRCR is always 0 in EmbSysRegisters view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you help me again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My questions are :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp; I think the S32K146 support the max preemptive priority is 16. If I want to use freeRTOS in S32K144, I had better to set the preemptive priority as 16 and set subpriority as 0. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I get the point? Could you check if the problem is caused by the settings of interrupt priority?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. how to effectively set the AIRCR register, especially the PRIGROUP?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wish you happy!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 02:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941138#M5070</guid>
      <dc:creator>zhaoyanling</dc:creator>
      <dc:date>2019-07-25T02:23:05Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941139#M5071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that you are using FreeRTOS 10.1.1, however,&amp;nbsp; the FreeRTOS component that we have corresponds to version 10.0.1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84751iA4094291A0B787E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please clarify where did you get version 10.1.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 21:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941139#M5071</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2019-07-31T21:40:35Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941140#M5072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;I did as the article:&lt;A class="link-titled" href="https://mcuoneclipse.com/2018/07/01/tutorial-freertos-10-0-1-with-nxp-s32-design-studio-2018-r1/" title="https://mcuoneclipse.com/2018/07/01/tutorial-freertos-10-0-1-with-nxp-s32-design-studio-2018-r1/"&gt;Tutorial: FreeRTOS 10.0.1 with NXP S32 Design Studio 2018.R1 | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I get the freeRTOS from :&amp;nbsp;&lt;A class="link-titled" href="https://sourceforge.net/projects/mcuoneclipse/files/PEx%20Components/" title="https://sourceforge.net/projects/mcuoneclipse/files/PEx%20Components/"&gt;McuOnEclipse - Browse /PEx Components at SourceForge.net&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;freeRTOS v10_1_1 is :&amp;nbsp;&lt;A href="https://sourceforge.net/projects/mcuoneclipse/files/PEx%20Components/Components%202018-09-30.zip/download" style="background-color: transparent; box-sizing: border-box; color: #0099cc; cursor: pointer; font-family: &amp;amp;quot; lato&amp;amp;quot;,sans-serif; font-size: 15.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.89px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: nowrap; word-spacing: 0px;" title="Click to download Components 2018-09-30.zip"&gt;&lt;SPAN style="box-sizing: border-box;"&gt;Components 2018-09-30.zip&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Lato',sans-serif; font-size: 15.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: nowrap; word-spacing: 0px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I also used&amp;nbsp;&lt;A href="https://sourceforge.net/projects/mcuoneclipse/files/PEx%20Components/Components%202019-07-18.zip/download" style="background-color: transparent; box-sizing: border-box; color: #0099cc; cursor: pointer; font-family: &amp;amp;quot; lato&amp;amp;quot;,sans-serif; font-size: 15.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.89px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: nowrap; word-spacing: 0px;" title="Click to download Components 2019-07-18.zip"&gt;&lt;SPAN style="box-sizing: border-box;"&gt;Components 2019-07-18.zip&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'Lato',sans-serif; font-size: 15.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: nowrap; word-spacing: 0px;"&gt; &lt;/SPAN&gt;which is freeRTOS v10_2_1，but the problem is also.&lt;/P&gt;&lt;P&gt;Could you give me some suggestions about the stack overflow reasons?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 02:01:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941140#M5072</guid>
      <dc:creator>zhaoyanling</dc:creator>
      <dc:date>2019-08-02T02:01:09Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941141#M5073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, since you are using a different version of FreeRTOS than the one that comes with the SDK, I'm not able to make tests on my side to see what is cauisng this behavior. I tried to reproduce the problem that you mentioned with the version 10.0.1 and I didn't face any issues. Could you please try with the version of FreeRTOS that comes with the SDK to see if the problem persists?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2019 20:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941141#M5073</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2019-08-06T20:09:07Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941142#M5074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jimenez,&lt;/P&gt;&lt;P&gt;Thank you very much! I will try as your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 08:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941142#M5074</guid>
      <dc:creator>zhaoyanling</dc:creator>
      <dc:date>2019-08-08T08:11:04Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941143#M5075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jimenez,&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&amp;nbsp;I set PRIGROUP bits of register AIRCR as this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;S32_SCB_AIRCR_PRIGROUP(0x03);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;which I means to set preemptive priority is 16, and subpriority is 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;but when I debug, the value of register S32_SCB -&amp;gt; AIRCR is always 0 in EmbSysRegisters view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;Could you help me again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;My questions are :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;1. &amp;nbsp; I want to set the preemptive priority as 16 and set subpriority as 0. How can I set the register of S32K144?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #51626f; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-weight: 400; vertical-align: baseline; padding: 0px; margin: 0px; border: 0px none #51626f;"&gt;2. &amp;nbsp; how to effectively set the AIRCR register, especially the PRIGROUP?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 05:36:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941143#M5075</guid>
      <dc:creator>zhaoyanling</dc:creator>
      <dc:date>2019-08-09T05:36:52Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS_10_1_1 stack overflow</title>
      <link>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941144#M5076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late response.&lt;/P&gt;&lt;P&gt;According to the Cortex-M4 Devices Generic User Guide from ARM (&lt;A href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0553b/DUI0553.pdf"&gt;link&lt;/A&gt;), if you want to write to this register, you must write 0x5FA to the VECTKEY field, otherwise, the processor ignores the write. For more information refer to section 4.3.5 of the User Guide mentioned before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 20:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/freeRTOS-10-1-1-stack-overflow/m-p/941144#M5076</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2019-08-30T20:10:33Z</dc:date>
    </item>
  </channel>
</rss>

