using SPI interrupt to trigger end of transmission