Content originally posted in LPCWare by LabRat on Fri Oct 31 07:51:30 MST 2014
Quote: giomaca
I understand that the way which allows 3-wire mode (MISO, MOSI, SCK) for LPC is the Microwire format.
It is correct, or I have not understand?
No...
UM10360:
Quote:
Microwire format is very similar to SPI format, except that transmission is half-duplex
instead of full-duplex, using a master-slave message passing technique. Each serial
transmission begins with an 8-bit control word that is transmitted from the SSP to the
off-chip slave device. During this transmission, no incoming data is received by the SSP.
After the message has been sent, the off-chip slave decodes it and, after waiting one
serial clock after the last bit of the 8-bit control message has been sent, responds with the
required data.
Quote: giomaca
I tried to configure the SSP1 in my LPC1768 with Microwire format using MISO, MOSI and SCK lines, but it doesn't work.
Could be useful if you explain what you've done in detail and what 'another micro-controller' is expecting...