<?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: i.MXRT1176 ENET_QOS strange ISR triggering behaviour in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1863805#M30275</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232884"&gt;@Andre_M&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you please tell me in which case removing the&amp;nbsp;&lt;SPAN&gt;ethernet cable would 100% reproduce this issue? I will try to reproduce it here.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kan&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 11 May 2024 06:33:29 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2024-05-11T06:33:29Z</dc:date>
    <item>
      <title>i.MXRT1176 ENET_QOS strange ISR triggering behaviour</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1856954#M30055</link>
      <description>&lt;P&gt;I'm working with ENET_QOS on a custom board, following the 'evkmimxrt1170_lwip_ping_enet_qos_freertos_cm7' example.&lt;/P&gt;&lt;P&gt;The strange behaviour is this: sometimes, when I simply remove the ethernet cable, the processor keeps triggering the ENET_QOS_IRQHandler non-stop (with DMA_INTERRUPT_STATUS == 0) until the watchdog reboots the uC.&lt;/P&gt;&lt;P&gt;Since&amp;nbsp;DMA_INTERRUPT_STATUS register value is 0, the function ENET_QOS_CommonIRQHandler (assigned as the ISR handler on s_enetqosIsr) just goes straight through, without going into any of the 'if' statements.&lt;/P&gt;&lt;P&gt;This is the state of the registers when the ISR triggers:&lt;/P&gt;&lt;P&gt;DMA_INTERRUPT_STATUS 0x0&lt;/P&gt;&lt;P&gt;MAC_INTERRUPT_ENABLE 0x0&lt;BR /&gt;MAC_INTERRUPT_STATUS 0x21&lt;BR /&gt;MTL_INTERRUPT_STATUS 0x0&lt;BR /&gt;DMA_CH0_INTERRUPT_ENABLE 0x8041&lt;BR /&gt;DMA_CH0_STATUS 0x404&lt;/P&gt;&lt;P&gt;I tried clearing the DMA_CH0_STATUS register inside the ISR, but it remained 0 afterwards and ISRs kept triggering:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// Clear STATUS for channel 0
base-&amp;gt;DMA_CH[0].DMA_CHX_STAT |= base-&amp;gt;DMA_CH[0].DMA_CHX_STAT;&lt;/LI-CODE&gt;&lt;P&gt;Then I tried clearing the bits on MAC_INTERRUPT_STATUS. It seems that clearing bit 5 (LPIIS) solves the ISR spam:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;volatile uint32_t discard;
// read MAC_LPI_CONTROL_STATUS to clear MAC_INTERRUPT_STATUS bit 5 (0x20)
discard = base-&amp;gt;MAC_LPI_CONTROL_STATUS;
(void)discard;&lt;/LI-CODE&gt;&lt;P&gt;But it doesn't make sense, as this interrupt is not even enabled in MAC_INTERRUPT_ENABLE. What could explain this behaviour?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 19:09:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1856954#M30055</guid>
      <dc:creator>Andre_M</dc:creator>
      <dc:date>2024-04-29T19:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: i.MXRT1176 ENET_QOS strange ISR triggering behaviour</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1863805#M30275</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232884"&gt;@Andre_M&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you please tell me in which case removing the&amp;nbsp;&lt;SPAN&gt;ethernet cable would 100% reproduce this issue? I will try to reproduce it here.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2024 06:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1863805#M30275</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2024-05-11T06:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: i.MXRT1176 ENET_QOS strange ISR triggering behaviour</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1916573#M31313</link>
      <description>&lt;P&gt;I have the exact same issue using this board: &lt;A href="https://www.tq-group.com/en/products/tq-embedded/arm-architecture/mba117xl/" target="_blank"&gt;https://www.tq-group.com/en/products/tq-embedded/arm-architecture/mba117xl/&lt;/A&gt;&lt;BR /&gt;running a basic application reusing much of the qos multi-ring example.&lt;BR /&gt;&lt;BR /&gt;I am not using Energy Efficient Ethernet.&lt;BR /&gt;&lt;BR /&gt;I can also resolve the issue by clearing the&amp;nbsp;&lt;SPAN&gt;LPI Interrupt Status bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 20:01:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1916573#M31313</guid>
      <dc:creator>mttjcksn</dc:creator>
      <dc:date>2024-07-24T20:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: i.MXRT1176 ENET_QOS strange ISR triggering behaviour</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1999989#M32673</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;I have a similar issue using a rt1176AVM8A.&amp;nbsp; I have no interruption enabled :&lt;/P&gt;&lt;P&gt;MAC_INTERRUPT_ENABLE 00000000 : No interrupt mac interrupt enabled&lt;BR /&gt;DMA_CH0_INTERRUPT_ENABLE : 0x8000 : NIE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm anyway spammed by interruption and the only way to get rid on it, is to clear the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;LPI Interrupt Status:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MAC_INTERRUPT_STATUS 00000021 : LPI Interrupt Status + RGMII Interrupt Status&lt;BR /&gt;MAC_LPI_CONTROL_STATUS 0000020C : RLPIST + RLPIEX + RLPIEN&lt;BR /&gt;DMA_INTERRUPT_STATUS 00000000&lt;BR /&gt;DMA_CH0_STATUS 00000445 :ET + RI + TBU + TI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In my case, I don't need to remove the cable, it happens right after the end of the autonegociation procedure.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like the others, disabling&amp;nbsp;&lt;SPAN&gt;Energy Efficient Ethernet seems to fix my problem, but can you ensure me that an another disabled interruption won't trig the&amp;nbsp;ENET_QOS_IRQHandler&amp;nbsp; ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 09:58:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MXRT1176-ENET-QOS-strange-ISR-triggering-behaviour/m-p/1999989#M32673</guid>
      <dc:creator>jeffG1</dc:creator>
      <dc:date>2024-11-22T09:58:37Z</dc:date>
    </item>
  </channel>
</rss>

