Content originally posted in LPCWare by capiman on Sat Jul 05 23:22:20 MST 2014
1) Put CS to low (manually, not automatically by SPI peripheral)
2) Send one byte via SPI
3) Check if byte was sent on SPI
4) Check if a byte was received on SPI
5) Receive it
6) Repeat steps 2 to 5 as often as you want
7) Put CS to high (manually, not automatically by SPI peripheral)