An172 : This application note explains how to read data on SPI

AN172 - Reading data on SPI