LMIC disabling/enabling interrupts

(joeyNoodles) #1

I’ve been trying to adapt the LoraMAC in C originally for arduino library into NRF52 SDK, and one particular issue I had was the disabling/enabling of interrupts before/after any SPI commands. I need the interrupts to work with WFE() and an SPI completion event. What is the reason in Arduino to keep them?

(joeyNoodles) #2

Oops nevermind. Apparently it’s written in a block of comments, and it is to do with lack of availability of interrupts on all AVR pins.