---
title: "Interrupt not occur every time on w5500 INTn pin"
url: "https://maker.wiznet.io/forum/13238"
markdown_url: "https://maker.wiznet.io/forum/13238/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "Alka Yadav"
created: "2019-03-12T04:56:00+09:00"
last_activity: "2019-03-12T09:17:50+09:00"
language: "en"
views: 724
replies: 2
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Interrupt not occur every time on w5500 INTn pin

## Question

Asked by Alka Yadav on 2019-03-12 in Ethernet Chips.

hello,
I am not getting interrupt every time on INTn pin of W5500.
my code:
main()
{
w5500_init_fun();
wiz_Setup_Open(11000);
Set_Sn_IMR(0x04);
Set_SIMR(0x01);
Set_INTLEVEL(30);
Set_Sn_IR(0,0x00);
while(1)
{
if(external interrupt received)
{
process_received_data();
Set_Sn_IR(0,0x04);
external_interrupt_received=0;
}
}
}

## Replies

### Reply 1 by Eugeny, 2019-03-12

![](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/48.png) Alka_Yadav:

> I am not getting interrupt every time on INTn pin of W5500.

Explain what exactly you want to have. You want interrupt for each byte received? What is being configured by int level 30?

### Reply 2 by Candela12, 2019-03-12

See also [Losing interrupts because SN_IR_RECV to SN_IR fails (silicon glitch?)](https://forum.wiznet.io/t/topic/2609)

---

Source: https://maker.wiznet.io/forum/13238
