SSP0 set interrupt

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by aamir ali on Thu Nov 08 01:14:33 MST 2012
1. Can I change SSP)-> IMSC register while SPI controller is on like , if

LPC_SSP0->CR1 = 0x02;                  //SPI controller enabled

Or it should be changed only when SPI if off i.e CR1 = 0;

Edit: Have to make SD card interface interrupt based. Any example code to make it interrupt based.

2. What is loopback mode in SPI