Maker Pro
Maker Pro

Spi connections

Hi all,
I am connecting a 4 wire spi to 4 wire spi.
Master is a micro, slave is a temp sensor.
Do I connect as follows
SCLK to SCK
SS to CS
MOSI to MOSI
MISO to MISO
The micro is the master.
Thanks in advance
 
I have limited SPI experience but it is my understanding the MISO (output) will connect to MOSI (input) for communications.
 

Harald Kapp

Moderator
Moderator
it said what I have mentioned on one website, but on another it was different
If you had said so and included the links to these sites it would have been clear to us that you had done some research which left you with doubts.

it is my understanding the MISO (output) will connect to MOSI (input) for communications.
No.
MOSI is MasterOutSlaveIn and is named so on both master and slave.
Same for MISO (MasterInSlaveOut).
 
Thank you @bertus. That clarifies lots. @Harald a while back I used a uC to communicate with a chip using SPI. I connected the chip's MOSI (input) to the uC's SDO (output). That's the reason I thought the outputs connected to inputs.
 
Top