<?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: ADMA LPUART0 Interrupt Configuration on the iMX8X Module in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ADMA-LPUART0-Interrupt-Configuration-on-the-iMX8X-Module/m-p/2097027#M237198</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242132"&gt;@Alexxis_04&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the long delay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears, yes, the&amp;nbsp;IRQSTEER should be configured.&lt;/P&gt;
&lt;P&gt;Please take a look t the lpuart_edma_transfer.c of SDK 2.9.0:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; /* Enable interrupt in irqsteer */
    IRQSTEER_Init(IRQSTEER);
    IRQSTEER_EnableInterrupt(IRQSTEER, ADMA_UART0_DMA_RX_INT_IRQn);
    IRQSTEER_EnableInterrupt(IRQSTEER, ADMA_UART0_DMA_TX_INT_IRQn);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, keep in mind that&amp;nbsp;Receive Data Register Full Flag behavior:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manuel_Salas_0-1747205666252.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337693i74906AC3D7FC0148/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manuel_Salas_0-1747205666252.png" alt="Manuel_Salas_0-1747205666252.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you can try to disable the FIFO or set the&amp;nbsp;Watermark to 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information can helps to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 06:59:23 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2025-05-14T06:59:23Z</dc:date>
    <item>
      <title>ADMA LPUART0 Interrupt Configuration on the iMX8X Module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ADMA-LPUART0-Interrupt-Configuration-on-the-iMX8X-Module/m-p/2060906#M235027</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Configure the &lt;EM&gt;Rx_Data_Register_Full&lt;/EM&gt; Interrupt for ADMA LPUART0 on the CM4 core.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here's what I've tried:&lt;/STRONG&gt;&lt;BR /&gt;All A35 cores have been disabled via U-Boot, so only the CM4 core is active.&lt;BR /&gt;ADMA LPUART0 operates correctly in polling mode for both reading and writing.&lt;BR /&gt;Although the interrupt has been configured, it is not triggering.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can this issue be resolved?&lt;BR /&gt;Could you please provide an example code for configuring this interrupt? (Note: An example for the CM4 dedicated UART is not needed.)&lt;BR /&gt;Is it necessary to configure IRQSTEER for this interrupt? If so, when and where should IRQSTEER be configured? Please include a demonstration code if possible.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Current Code Snippet:&lt;/P&gt;&lt;P&gt;LPUART_EnableInterrupts(ADMA__LPUART0, kLPUART_RxDataRegFullInterruptEnable);&lt;BR /&gt;EnableIRQ(ADMA_UART0_INT_IRQn);&lt;BR /&gt;NVIC_SetPriority(ADMA_UART0_INT_IRQn, 0x07);&lt;/P&gt;&lt;P&gt;#imx8x #UART_Interrupt&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Alexxis&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 04:43:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ADMA-LPUART0-Interrupt-Configuration-on-the-iMX8X-Module/m-p/2060906#M235027</guid>
      <dc:creator>Alexxis_04</dc:creator>
      <dc:date>2025-03-13T04:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: ADMA LPUART0 Interrupt Configuration on the iMX8X Module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ADMA-LPUART0-Interrupt-Configuration-on-the-iMX8X-Module/m-p/2097027#M237198</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/242132"&gt;@Alexxis_04&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the long delay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears, yes, the&amp;nbsp;IRQSTEER should be configured.&lt;/P&gt;
&lt;P&gt;Please take a look t the lpuart_edma_transfer.c of SDK 2.9.0:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; /* Enable interrupt in irqsteer */
    IRQSTEER_Init(IRQSTEER);
    IRQSTEER_EnableInterrupt(IRQSTEER, ADMA_UART0_DMA_RX_INT_IRQn);
    IRQSTEER_EnableInterrupt(IRQSTEER, ADMA_UART0_DMA_TX_INT_IRQn);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, keep in mind that&amp;nbsp;Receive Data Register Full Flag behavior:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manuel_Salas_0-1747205666252.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/337693i74906AC3D7FC0148/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manuel_Salas_0-1747205666252.png" alt="Manuel_Salas_0-1747205666252.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you can try to disable the FIFO or set the&amp;nbsp;Watermark to 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information can helps to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 06:59:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ADMA-LPUART0-Interrupt-Configuration-on-the-iMX8X-Module/m-p/2097027#M237198</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2025-05-14T06:59:23Z</dc:date>
    </item>
  </channel>
</rss>

