<?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>topic Interrupt priority change disabling the interrupt. in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Interrupt-priority-change-disabling-the-interrupt/m-p/875980#M4554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try to yield a semaphore from UART interrupt it was asserting in the following line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configASSERT( ucCurrentPriority &amp;gt;= ucMaxSysCallPriority );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on doing some search I found this is issue in the UART interrupt which should have lower priority than the system interrupt of the RTOS. So when i tried to change the interrupt priority in the following way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Install LPUART irq handler */&lt;BR /&gt; INT_SYS_InstallHandler(s_lpuartRxTxIrqId[instance], g_lpuartIsr[instance], (isr_t*) 0);&lt;/P&gt;&lt;P&gt;INT_SYS_SetPriority(&lt;SPAN&gt;s_lpuartRxTxIrqId[instance]&lt;/SPAN&gt;, 17); //&amp;lt;----- change of priority&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Enable LPUART interrupt. */&lt;BR /&gt; INT_SYS_EnableIRQ(s_lpuartRxTxIrqId[instance]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code is in lp_uartdriver.c post this I am not getting any uart Rx or Tx interrupts.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2019 07:43:59 GMT</pubDate>
    <dc:creator>bharadwaaj</dc:creator>
    <dc:date>2019-04-03T07:43:59Z</dc:date>
    <item>
      <title>Interrupt priority change disabling the interrupt.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Interrupt-priority-change-disabling-the-interrupt/m-p/875980#M4554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try to yield a semaphore from UART interrupt it was asserting in the following line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configASSERT( ucCurrentPriority &amp;gt;= ucMaxSysCallPriority );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on doing some search I found this is issue in the UART interrupt which should have lower priority than the system interrupt of the RTOS. So when i tried to change the interrupt priority in the following way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Install LPUART irq handler */&lt;BR /&gt; INT_SYS_InstallHandler(s_lpuartRxTxIrqId[instance], g_lpuartIsr[instance], (isr_t*) 0);&lt;/P&gt;&lt;P&gt;INT_SYS_SetPriority(&lt;SPAN&gt;s_lpuartRxTxIrqId[instance]&lt;/SPAN&gt;, 17); //&amp;lt;----- change of priority&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Enable LPUART interrupt. */&lt;BR /&gt; INT_SYS_EnableIRQ(s_lpuartRxTxIrqId[instance]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code is in lp_uartdriver.c post this I am not getting any uart Rx or Tx interrupts.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 07:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Interrupt-priority-change-disabling-the-interrupt/m-p/875980#M4554</guid>
      <dc:creator>bharadwaaj</dc:creator>
      <dc:date>2019-04-03T07:43:59Z</dc:date>
    </item>
  </channel>
</rss>

