I need help using the SPI of LPC936. I used code architect and set the respective ports for I/O respectively. When I execute the code I do not see any response on the SPI pins. I am using scope to check this. Here is my set up.
SPCTL = 0xD7;// configure SPI
ESPI = 1; // enable SPI interrupt
// send a byte
Chip_S = 1; // slave select
SPDAT = 0x09; // Send byte command
delay();
SPDAT = 0x80; // send address byte
delay();
Chip_S = 0; // end trans to slave
if I execute the code above, shouldn't I be seeing something in the SPI pins through the scope? I am using the internal clock at 7.37MHz.
Are there any problems with LPC9xx chips SPI?
All this testing is done with the EPM900.
Thanks!