SPI through PRU

I need to use SPI through PRU in order to get a higher data transfer rate from the 16-bit ADC. Could you help and give me a couple of examples of SPI implementation through PRU using the pru_cfg.h driver? I could not find anything good on the Internet… Thanks!!