---
title: "Is it needed to disable all interrupts (Microchip )"
url: "https://maker.wiznet.io/forum/10243"
markdown_url: "https://maker.wiznet.io/forum/10243/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "Candela12"
created: "2014-05-19T15:03:21+09:00"
last_activity: "2017-05-04T08:32:56+09:00"
language: "en"
views: 523
replies: 0
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Is it needed to disable all interrupts (Microchip )

## Question

Asked by Candela12 on 2014-05-19 in Ethernet Chips.

We are in the process of evaluating the W5200 using the W5200 pictail plus module + hardware stack + dspic33e mcu.

We optimized the provided sample code for the HW stack somewhat, and noticed the enabling/disabling of interrupts while sending SPI. I disabled this (leaving interrupts on), and the stack stopped working reliably.

Is it really important to disable *all* interrupts, or do only certain interrupts (the w5200 interrupt pin and its SPI) need to be disabled? We have some fairly small interrupts that need to run reliably (only toggling some pins)

---

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