Why I can't get the EMAC interrupt?
I am working on the c6474evm.
I am using the EMAC LOOP back.
I did the following steps:
1.emac control modul
ECTL_C0_TX_EN = 0xFF;
ECTL_C0_RX_EN = 0xFF;
ECTL_C0_RX_THRESH_EN = 0xFF;
ECTL_C0_MISC_EN = 0xF;
2.emac modul
EMAC_RXINTMASKSET = 0xFF;
EMAC_TXINTMASKSET = 0xFF00FF;
3.INTC modul:hook the following events to ISR and enable them
CSL_INTC_EVENTID_MACINT
CSL_INTC_EVENTID_MACRXINT
CSL_INTC_EVENTID_MACTXINT
CSL_INTC_EVENTID_MACTHRESH
Results:
RXINTSTATRAW
RXINTSTATMASKED
TXINTSTATRAW
TXINTSTATMASKED
MACINVECTOR
All of above have the nonzero value,right bits for the interrupts.
In the receive buffer,I get the right data.
But I can't enter the ISR for any interrupt.
Is there something I did't notice?
Thank for your help.
Regards