lpc1227 SPI master mode problem

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by yeefoowang on Thu Oct 01 14:21:01 MST 2015
Using lpc1227 SPI in master mode, lpc1227 sends out clock pulses correctly, but the data bits are sent out on MISO pin. I initialized the pin as an input pin. As soon as I enable the SPI master mode, the data bits are sent at thisMISO pin!!!
What did I do wrong?