Hi shenj,
Please try in the XMC_ETH_MAC_Init() function to add the following line at the end of the function:
The MMC IPC Receive interrupts were all enable and we did not clear them in the interrupt handler. Therefore after sometime with the occurrence of any of the MMC IPC Receive events the IRQ will fire continuously.
regards,
Jesus
Please try in the XMC_ETH_MAC_Init() function to add the following line at the end of the function:
Code:
...
/* Disable MMC interrupt events */
eth_mac->regs->MMC_TRANSMIT_INTERRUPT_MASK = 0x03ffffffU;
eth_mac->regs->MMC_RECEIVE_INTERRUPT_MASK = 0x03ffffffU;
eth_mac->regs->MMC_IPC_RECEIVE_INTERRUPT_MASK = 0x3fff3fffU;
...
regards,
Jesus