This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3000 host driver hanging

I've been working on a project that uses the CC3000 and have started porting the driver to an Atmega328p. I'm having trouble with the host driver code hanging sometimes and based on things I've read and the debugging I've done I think it's related to missed IRQs. I took a look at an Arduino port (https://github.com/adafruit/Adafruit_CC3000_Library) and noticed they sprinkle some explicit checks for when the IRQ pin is low (https://github.com/adafruit/Adafruit_CC3000_Library/blob/master/ccspi.cpp#L754-L769) throughout the code. I've tried a similar approach but I'm still having trouble w/ the driver hanging (when calling wlan_set_event_mask for example, https://github.com/adafruit/Adafruit_CC3000_Library/blob/master/Adafruit_CC3000.cpp#L304). Has anyone else run into this? Looking for any advice you may have.

Thanks!