Hello,
I have got a trouble for weeks.
I am using EMAC to send and receive datas.Sending is OK,but receiving not.
I sent datas to OMAPL138 board with broadcast packets and normal packets on the host PC .
On the omapl138,I can see RXBCASTFRAMES and RXFRAGMENTS register increasing.
But when I checked RXINTSTATRAW register,I found it always be 0. Did it mean there was no packet received?
Also I found RXFILTERED register increasing.So I think all packets may be filtered.
How can i receive the packets?
Part of registers were set below:
// enable receive and transmit channel interrupts.
EMAC->RXINTMASKSET = 1;
EMAC->TXINTMASKSET = 1;
// enable unicast chan 0 only.
EMAC->RXUNICASTSET = 0x01;
//enable reception of almost all frames inc error
EMAC->RXMBPENABLE = 0x01E02020;
// enable receive
EMAC->RXCONTROL = 1;
How can I fix this problem?Thank you.
Best regards,
yugy