Freertos semaphore interrupt example. I used SPI to receive data.