<?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: UART2_FLEXIO_IRQHandler trap in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1257144#M3115</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;For this specific case that the FLEXIO instance and the UART2 instance share the same IRQ entry, we do not provide the IRQ handler for UART2 in uart adapter layer and in fsl_uart.c, we only provide the IRQ handler for FLEXIO in fsl_flexio.c, considering user may include both flexio driver and uart driver(&amp;amp;adapter) in application. If user wants to use the IRQ handler routine in&amp;nbsp;fsl_uart.c, then it is suggested to add the definition in application level(since kl17 is deprecated in mcuxpresso sdk support, frdmk32l2b's uart_interrupt_transfer example can be refered):&lt;/P&gt;
&lt;P&gt;void UART2_FLEXIO_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt;UART_TransferHandleIRQ(UART2, &amp;amp;g_uartHandle);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;If user wants to use the IRQ handler routine in&amp;nbsp;adapter, it is suggested to directly modify the definition of&amp;nbsp;UART2_RX_TX_IRQHandler to&amp;nbsp;UART2_FLEXIO_IRQHandler.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 09:04:44 GMT</pubDate>
    <dc:creator>KATE_WANG</dc:creator>
    <dc:date>2021-04-06T09:04:44Z</dc:date>
    <item>
      <title>UART2_FLEXIO_IRQHandler trap</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1163966#M2807</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using Kinetis MKL17Z32 and the SDK v2.8 with MCUExpresso.&lt;/P&gt;&lt;P&gt;I'm using the uart driver and uart_adapter module.&lt;/P&gt;&lt;P&gt;But the uart_adapter module define the IRQ handler named "UART2_RX_TX_IRQHandler" whereas the g_pfnVectors defined into startup_mkl17z644.c (generated by sdk) define the vector name to "UART2_FLEXIO_IRQHandler"...&lt;/P&gt;&lt;P&gt;Is it a bug or we can configure that?&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 14:31:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1163966#M2807</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2020-10-07T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: UART2_FLEXIO_IRQHandler trap</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1166939#M2825</link>
      <description>&lt;P&gt;Hello Arnogir,&lt;/P&gt;
&lt;P&gt;I was checking the uart_adapter module and indeed the definitions differ from the UART driver. Would you please provide more details as of why you included both the uart driver and the uart_adapter module? If you need to use the UART you may use the UART driver only and use the UART2_FLEXIO_IRQHandler and that should work for your application.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 19:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1166939#M2825</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2020-10-13T19:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: UART2_FLEXIO_IRQHandler trap</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1167223#M2827</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Uart is the Driver, the uart_adapter is an "higher level" componant.&lt;/P&gt;&lt;P&gt;Then the Uart_Adapter use (and need) the Uart driver.&lt;/P&gt;&lt;P&gt;If I use only the Uart Driver, I should make some management which are already done by the uart_adapter.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to recreate a dummy project, just with adding uart and uart_adapter.&lt;/P&gt;&lt;P&gt;Then the UART2_FLEXIO_IRQHandler is existing into startupt_mkl17z644.c file, which call&lt;/P&gt;&lt;P&gt;UART2_FLEXIO_DriverIRQHandler function =&amp;gt; IntDefaultHandler =&amp;gt; while(1)&lt;/P&gt;&lt;P&gt;Like this function has attribut "Weak" if declared in other place, this declaration not used.&lt;/P&gt;&lt;P&gt;But like UART2_FLEXIO_IRQHandler is not declared, but UART2_IRQHandler into uart_adapter.c, when interrupt occurs, it is the IntDefaultHandler which is called instead of&amp;nbsp; UART2_IRQHandler ...&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 07:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1167223#M2827</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2020-10-14T07:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: UART2_FLEXIO_IRQHandler trap</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1257144#M3115</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;For this specific case that the FLEXIO instance and the UART2 instance share the same IRQ entry, we do not provide the IRQ handler for UART2 in uart adapter layer and in fsl_uart.c, we only provide the IRQ handler for FLEXIO in fsl_flexio.c, considering user may include both flexio driver and uart driver(&amp;amp;adapter) in application. If user wants to use the IRQ handler routine in&amp;nbsp;fsl_uart.c, then it is suggested to add the definition in application level(since kl17 is deprecated in mcuxpresso sdk support, frdmk32l2b's uart_interrupt_transfer example can be refered):&lt;/P&gt;
&lt;P&gt;void UART2_FLEXIO_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt;UART_TransferHandleIRQ(UART2, &amp;amp;g_uartHandle);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;If user wants to use the IRQ handler routine in&amp;nbsp;adapter, it is suggested to directly modify the definition of&amp;nbsp;UART2_RX_TX_IRQHandler to&amp;nbsp;UART2_FLEXIO_IRQHandler.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 09:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1257144#M3115</guid>
      <dc:creator>KATE_WANG</dc:creator>
      <dc:date>2021-04-06T09:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: UART2_FLEXIO_IRQHandler trap</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1561332#M4040</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/35340" target="_self"&gt;&lt;SPAN class=""&gt;arnogir&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Did you solve this case?&lt;/P&gt;&lt;P&gt;I'm having similar issues using freertos and uart&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 12:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/UART2-FLEXIO-IRQHandler-trap/m-p/1561332#M4040</guid>
      <dc:creator>davidab</dc:creator>
      <dc:date>2022-11-29T12:32:35Z</dc:date>
    </item>
  </channel>
</rss>

