SSP1 in microwire mode

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

SSP1 in microwire mode

814 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by giomaca on Fri Oct 31 06:45:13 MST 2014
Hello,
I'm developing an application with LPC1768.

In this application the LPC1768 is connected to another micro-controller via SPI 3-wire (MISO, MOSI, SCK).
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?

I tried to configure the SSP1 in my LPC1768 with Microwire format using MISO, MOSI and SCK lines, but it doesn't work.

Could you help me?

Thanks a lot.

Giovanni.
Labels (1)
0 Kudos
Reply
1 Reply

755 Views
lpcware
NXP Employee
NXP Employee
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...
0 Kudos
Reply