INT pin not generate interrupt

#1

Hello friends,
My W5500 IC interrupt pin not generate interrupt.
i have set these register to generate interrupt when W5500 IC receive data on Ethernet connector using UDP :

setSn_IMR(0,0x04);
setSIMR(0x01);
setINTLEVEL(5);
setSn_IR(0,0x00);
while(1)
{
if(interrupt received)
{
setSn_IR(0,0x04);
}
}

Can you guys help me to resolve my problem.

-Alka

#2

Hello,

Why are you doing this? There is no meaning at all. If you want to clear all interrupts, write 0x1f.
It seems that there is no problem generating an interrupt. Open socket 0 with udp and check again that you are recvaging the data.