lpc1227 SPI master mode problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc1227 SPI master mode problem

640 Views
lpcware
NXP Employee
NXP Employee
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?
Labels (1)
0 Kudos
2 Replies

597 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yeefoowang on Fri Oct 02 11:04:58 MST 2015
I apologized.
I mislabeled the MISO and MOSI lines.
The lpc1227 SPI master mode is working fine.
This post should be deleted.
0 Kudos

597 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yeefoowang on Fri Oct 02 07:45:15 MST 2015
My question is:
Why does lpc1227 SPI master mode send data out at SSP-MISO?
0 Kudos