SPI Iterrupt example?

Hello,

I want to write a program for ADUCM3029 that will receive data and send back via SPI from external AD/DA converter, it could be in slave or master mode AD/DA converter supports both. Is there any example where SPI interrupt implemented, so the interrupt will rise after 3 bytes will be received and after program will run until next interrupt?