<?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>i.MX Processorsのトピックfreertos Uart example   NVIC_setPriority  question</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/freertos-Uart-example-NVIC-setPriority-question/m-p/1711877#M211518</link>
    <description>&lt;P&gt;IMX RT1020-EVK board.&amp;nbsp; SDK info (SDK_2.x_EVK-MIMXRT1020,&amp;nbsp; &amp;nbsp;SDK version 2.13.0)&lt;/P&gt;&lt;P&gt;After&amp;nbsp; import SDK example - Generated project evkmimxrt1020_freertos_lpuart&lt;/P&gt;&lt;P&gt;In this project,&amp;nbsp; Why NVIC_setPriority&amp;nbsp; func is needed ??&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do not call this func ,&amp;nbsp; Does LPUART1_IRQn&amp;nbsp; has priority 0 ?? ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why this make&amp;nbsp; program&amp;nbsp; running- Down ? (exactly, Once interruprt TX_IDLE Occur, and&amp;nbsp; Stopped(blocked?) )&amp;nbsp;&lt;/P&gt;&lt;P&gt;and If set priority 2 or 3,4,5...&amp;nbsp; &amp;nbsp;, it woks well.&lt;/P&gt;&lt;P&gt;but ,&amp;nbsp; IRQ priority is not set&amp;nbsp; in Other SDK Example&amp;nbsp; projects, for example,&amp;nbsp; xxxx_lpuart_interrupt ,&amp;nbsp;&amp;nbsp;xxxx_lpuart_interrupt _rb_transfer, ..&lt;/P&gt;&lt;P&gt;so, Why&amp;nbsp;&amp;nbsp;, Only evkmimxrt1020_freertos_lpuart - this Example,&amp;nbsp; do I need to set priority ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 04:05:16 GMT</pubDate>
    <dc:creator>Seongyon_Jeong</dc:creator>
    <dc:date>2023-08-28T04:05:16Z</dc:date>
    <item>
      <title>freertos Uart example   NVIC_setPriority  question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/freertos-Uart-example-NVIC-setPriority-question/m-p/1711877#M211518</link>
      <description>&lt;P&gt;IMX RT1020-EVK board.&amp;nbsp; SDK info (SDK_2.x_EVK-MIMXRT1020,&amp;nbsp; &amp;nbsp;SDK version 2.13.0)&lt;/P&gt;&lt;P&gt;After&amp;nbsp; import SDK example - Generated project evkmimxrt1020_freertos_lpuart&lt;/P&gt;&lt;P&gt;In this project,&amp;nbsp; Why NVIC_setPriority&amp;nbsp; func is needed ??&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do not call this func ,&amp;nbsp; Does LPUART1_IRQn&amp;nbsp; has priority 0 ?? ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why this make&amp;nbsp; program&amp;nbsp; running- Down ? (exactly, Once interruprt TX_IDLE Occur, and&amp;nbsp; Stopped(blocked?) )&amp;nbsp;&lt;/P&gt;&lt;P&gt;and If set priority 2 or 3,4,5...&amp;nbsp; &amp;nbsp;, it woks well.&lt;/P&gt;&lt;P&gt;but ,&amp;nbsp; IRQ priority is not set&amp;nbsp; in Other SDK Example&amp;nbsp; projects, for example,&amp;nbsp; xxxx_lpuart_interrupt ,&amp;nbsp;&amp;nbsp;xxxx_lpuart_interrupt _rb_transfer, ..&lt;/P&gt;&lt;P&gt;so, Why&amp;nbsp;&amp;nbsp;, Only evkmimxrt1020_freertos_lpuart - this Example,&amp;nbsp; do I need to set priority ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 04:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/freertos-Uart-example-NVIC-setPriority-question/m-p/1711877#M211518</guid>
      <dc:creator>Seongyon_Jeong</dc:creator>
      <dc:date>2023-08-28T04:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: freertos Uart example   NVIC_setPriority  question</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/freertos-Uart-example-NVIC-setPriority-question/m-p/1712577#M211596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220925"&gt;@Seongyon_Jeong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using FreeRTOS, it is needed to set the priority manually.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"Therefore, any interrupt service routine that uses an RTOS API function must have its priority manually set to a value that is numerically equal to or greater than the configMAX_SYSCALL_INTERRUPT_PRIORITY setting."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This information is from: &lt;A href="https://www.freertos.org/FreeRTOS_Support_Forum_Archive/November_2012/freertos_NVIC_priority_and_FreeRTOS_priority_6237079.html" target="_self"&gt;freertos&lt;FONT size="3"&gt;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;NVIC priority and FreeRTOS priority?.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards, Miguel.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 18:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/freertos-Uart-example-NVIC-setPriority-question/m-p/1712577#M211596</guid>
      <dc:creator>Miguel04</dc:creator>
      <dc:date>2023-08-28T18:34:46Z</dc:date>
    </item>
  </channel>
</rss>

