This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SPI on the LPC2129 (MCB2100 board)

I want to set up an SPI connection with a sensor who has a SPI interface. But I cannot find anywhere what I need to define.

I saw in some examples S0SPCCR, VICVectCntl0 etc. etc. But I cannot find what these mean.

I have S0SPCR = 0xA8; because I saw it in an example and it defines the SPI interface as Master, CPHA = 1 and SPOL = 0.. but which bit defines if he is master or not, which defines if CPOL = 0? Which CPHA = 1? where can I find these things.. they are not documented in the datasheet.

Hopefully someone has a list of it.. or a link to the datasheet which offers this information.