I want to communicate NXP LPC2378 (ARM7 core) to some other devices via SPI (Serial Peripheral Interface) protocol.
So how to write a C code to communicate a particular device as a Slave with Master (ARM7 controller)?