Hi all
I have implemented a ring queue buffer for my irq handler but am unexpectly hitting an interrupt storm, and don't know why
I have tried to set the bit to clear the interrupt but its not working. This register is the one attached but for some reason the CPU is stuck over here and keeps on looping forever around her, how do I break out of this?
I have implemented a ring queue buffer for my irq handler but am unexpectly hitting an interrupt storm, and don't know why
Code:
PRIVATE void irq_handler(void) { uint16_t word = *spi_data_reg & 0xFFFF; enqueue(word); // simple, always add spi_interrupt = true; *spi_interrupt_clear |= 0b11<<0;}Statistics: Posted by Maaz1 — Wed Feb 04, 2026 1:57 pm — Replies 1 — Views 56