I have an Arduino project that is using an nRF24l01+ radio module over SPI (using this library: http://tmrh20.github.io/RF24/) and an RFID reader over softwareserial. I am sleeping my Arduino and having them wake it up via interrupt when a message has been received or an RFID tag is ready to be read. The RFID is on pins 4 and 5, while the nRF covers pins 9 - 13 as well as number 2 for its interrupt.
Both of these modules work fine with the sleep and interrupt code separately, but when combined in to a single sketch, the Arduino will wake up due to an RFID tag, read it, then try to send something over the radio and then just hang, waiting for the library call to write() to return.
I have delved a bit into the two libraries, but I mostly can't make heads or tails of the softwareserial library. It seems to maybe be using the same ISR behind the scenes as my nRF module, but I don't immediately see why that should be a big problem, and I don't understand why it should cause the radio to hang.
I know it may be a long shot, but does anyone have any idea what might be going on? Maybe somebody knows these libraries? Any thoughts on a work around? Thanks.