<?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 ADMA UART0 interrupt enable issue on lpuart_interrupt example (SDK_2.9.0_MIMX8QX5xxxFZ) in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/ADMA-UART0-interrupt-enable-issue-on-lpuart-interrupt-example/m-p/1363011#M3413</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;This example by default uses CM4 UART, but I'm trying to modify code to work with ADMA UART0. So far, I have been hable to change code configuration to send and receive with blocking functions (lpuart_polling example).&lt;/P&gt;&lt;P&gt;Sadly I can't get the interrupt handle working in the example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the whole project for more information (it can be opened and compiled with MCUXpresso IDE).&lt;/P&gt;&lt;P&gt;I'm very confused about how it works, because definition "#define DEMO_LPUART_IRQHandler ADMA_UART0_INT_IRQHandler" seem to reference to the&amp;nbsp;fsl_adapter_lpuart.c component, however I am not sure if it compiles because ifdef.&lt;/P&gt;&lt;P&gt;In the unmodified example with M4 UART, which is working fine for me, what I mention about&amp;nbsp;fsl_adapter_lpuart.c looks similar.&lt;/P&gt;&lt;P&gt;In the example code only uses "LPUART_EnableInterrupts" and "EnableIRQ" to configure interrupt. There is no any mention to the handler except in a define.&lt;/P&gt;&lt;P&gt;If you could help me, it will be very appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 06:47:23 GMT</pubDate>
    <dc:creator>emolina-ebers</dc:creator>
    <dc:date>2021-10-28T06:47:23Z</dc:date>
    <item>
      <title>ADMA UART0 interrupt enable issue on lpuart_interrupt example (SDK_2.9.0_MIMX8QX5xxxFZ)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/ADMA-UART0-interrupt-enable-issue-on-lpuart-interrupt-example/m-p/1363011#M3413</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;This example by default uses CM4 UART, but I'm trying to modify code to work with ADMA UART0. So far, I have been hable to change code configuration to send and receive with blocking functions (lpuart_polling example).&lt;/P&gt;&lt;P&gt;Sadly I can't get the interrupt handle working in the example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the whole project for more information (it can be opened and compiled with MCUXpresso IDE).&lt;/P&gt;&lt;P&gt;I'm very confused about how it works, because definition "#define DEMO_LPUART_IRQHandler ADMA_UART0_INT_IRQHandler" seem to reference to the&amp;nbsp;fsl_adapter_lpuart.c component, however I am not sure if it compiles because ifdef.&lt;/P&gt;&lt;P&gt;In the unmodified example with M4 UART, which is working fine for me, what I mention about&amp;nbsp;fsl_adapter_lpuart.c looks similar.&lt;/P&gt;&lt;P&gt;In the example code only uses "LPUART_EnableInterrupts" and "EnableIRQ" to configure interrupt. There is no any mention to the handler except in a define.&lt;/P&gt;&lt;P&gt;If you could help me, it will be very appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 06:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/ADMA-UART0-interrupt-enable-issue-on-lpuart-interrupt-example/m-p/1363011#M3413</guid>
      <dc:creator>emolina-ebers</dc:creator>
      <dc:date>2021-10-28T06:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: ADMA UART0 interrupt enable issue on lpuart_interrupt example (SDK_2.9.0_MIMX8QX5xxxFZ)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/ADMA-UART0-interrupt-enable-issue-on-lpuart-interrupt-example/m-p/1381639#M3457</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;If it works fine in the unmodified example you'd better use that one.&lt;BR /&gt;In the interrupt configuration you don't include the handler because you define it with the ADMA_UART0_INT_IRQHandler&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 04:18:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/ADMA-UART0-interrupt-enable-issue-on-lpuart-interrupt-example/m-p/1381639#M3457</guid>
      <dc:creator>Juan-Rodarte</dc:creator>
      <dc:date>2021-12-06T04:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: ADMA UART0 interrupt enable issue on lpuart_interrupt example (SDK_2.9.0_MIMX8QX5xxxFZ)</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/ADMA-UART0-interrupt-enable-issue-on-lpuart-interrupt-example/m-p/1383835#M3463</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;Thank you for you response.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Sorry, I forgot this topic, I found the solution time ago. Since ADMA is in other subsystem different from CortexM4, it is needed to use IRQSteer API.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;&lt;EM&gt;/* Enable interrupt in irqsteer */&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="3"&gt;&lt;EM&gt;IRQSTEER_Init(IRQSTEER);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="3"&gt;&lt;EM&gt;IRQSTEER_EnableInterrupt(IRQSTEER, ADMA_UART0_INT_IRQn);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;If someone is struggling with this, maybe this mention could help.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 07:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/ADMA-UART0-interrupt-enable-issue-on-lpuart-interrupt-example/m-p/1383835#M3463</guid>
      <dc:creator>emolina-ebers</dc:creator>
      <dc:date>2021-12-09T07:22:30Z</dc:date>
    </item>
  </channel>
</rss>

