spi master - slave connection

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

spi master - slave connection

Post by saschech@gmx.de »

Hello Benj

I have a little confusion connect the spi bus:
The connections to your device will have to go like this.

CS - CS
SDO - SDI
SDI - SDO
SCK - SCKRegards
Ben Rowland
Matrix Multimedia

or

show the picture?

Regards Wolfgang
Attachments
spi conn.  1.gif
spi conn. 1.gif (50.6 KiB) Viewed 1653 times
spi conn..gif
spi conn..gif (23.53 KiB) Viewed 1654 times

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: spi master - slave connection

Post by Steve »

MOSI (master out, slave in) refers to the output of the micro (i.e. SDO - serial data out) which connects to the SDI of the slave (SDI - serial data in).

So, they are both right. I hope this explains.

Post Reply