<?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 Re: program stuck when using S32G UART API with freertos in S32G</title>
    <link>https://community.nxp.com/t5/S32G/program-stuck-when-using-S32G-UART-API-with-freertos/m-p/1911917#M8818</link>
    <description>&lt;P&gt;upload the call stack we observed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289320i58B24BBC5CB7AB5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 19 Jul 2024 07:07:17 GMT</pubDate>
    <dc:creator>Terry_Huang</dc:creator>
    <dc:date>2024-07-19T07:07:17Z</dc:date>
    <item>
      <title>program stuck when using S32G UART API with freertos</title>
      <link>https://community.nxp.com/t5/S32G/program-stuck-when-using-S32G-UART-API-with-freertos/m-p/1911882#M8817</link>
      <description>&lt;P&gt;I'm encountering an issue while using the S32G UART API in FreeRTOS. Here are my environment settings:&lt;/P&gt;&lt;P&gt;I am using RTD version: 4.0.2, with the OStype set to FreeRTOS in the baseNXP module.&lt;BR /&gt;Both the FreeRTOS and UART modules are using their default settings.&lt;BR /&gt;When I call Linflexd_Uart_Ip_AsyncSend within a task, it triggers the uart_irq_handler. Upon the transmission of the last piece of data,&lt;BR /&gt;the Linflexd_Uart_Ip_CompleteSendUsingInterrupts, Linflexd_Uart_Ip_SetInterruptMode, SchM_Enter_Uart_UART_EXCLUSIVE_AREA_02, and OsIf_SuspendAllInterrupts are invoked in the Uart_Irq_handler.&lt;BR /&gt;Finally, OsIf_SuspendAllInterrupts calls FreeRTOS's taskENTER_CRITICAL, which triggers configASSERT.&lt;/P&gt;&lt;P&gt;Could you please help me resolve this issue?&lt;BR /&gt;Should I use taskENTER_CRITICAL_FROM_ISR instead of taskENTER_CRITICAL in the Uart_irq_handler?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289306iC9B23D693CAB03AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289307i2BE3B31834D904E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 893px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289309i87848C12C258C0FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289310i55472915030ADB68/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 06:08:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/program-stuck-when-using-S32G-UART-API-with-freertos/m-p/1911882#M8817</guid>
      <dc:creator>Terry_Huang</dc:creator>
      <dc:date>2024-07-19T06:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: program stuck when using S32G UART API with freertos</title>
      <link>https://community.nxp.com/t5/S32G/program-stuck-when-using-S32G-UART-API-with-freertos/m-p/1911917#M8818</link>
      <description>&lt;P&gt;upload the call stack we observed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289320i58B24BBC5CB7AB5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jul 2024 07:07:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/program-stuck-when-using-S32G-UART-API-with-freertos/m-p/1911917#M8818</guid>
      <dc:creator>Terry_Huang</dc:creator>
      <dc:date>2024-07-19T07:07:17Z</dc:date>
    </item>
  </channel>
</rss>

