fubarino / fubarino.github.com

fubarino.github.com
15 stars 13 forks source link

MISO/MOSI incorrect. #11

Closed AtomSoftTech closed 9 years ago

AtomSoftTech commented 10 years ago

You have this: SDO, MISO SDI, MOSI

When its actually supposed to be: SDO, MOSI SDI, MISO

Here: https://github.com/fubarino/fubarino.github.com/wiki/SD-Board-Pin-Features

EmbeddedMan commented 10 years ago

Thanks for pointing this out Jason. It is now fixed.

*Brian

On Sat, Aug 16, 2014 at 8:09 AM, Jason Lopez notifications@github.com wrote:

You have this: SDO, MISO SDI, MOSI

When its actually supposed to be: SDO, MOSI SDI, MISO

Here: https://github.com/fubarino/fubarino.github.com/wiki/SD-Board-Pin-Features

— Reply to this email directly or view it on GitHub https://github.com/fubarino/fubarino.github.com/issues/11.

AtomSoftTech commented 10 years ago

No problem!

Sent with AquaMail for Android http://www.aqua-mail.com

On August 16, 2014 10:29:52 AM Brian Schmalz notifications@github.com wrote:

Thanks for pointing this out Jason. It is now fixed.

*Brian

On Sat, Aug 16, 2014 at 8:09 AM, Jason Lopez notifications@github.com wrote:

You have this: SDO, MISO SDI, MOSI

When its actually supposed to be: SDO, MOSI SDI, MISO

Here: https://github.com/fubarino/fubarino.github.com/wiki/SD-Board-Pin-Features

— Reply to this email directly or view it on GitHub https://github.com/fubarino/fubarino.github.com/issues/11.


Reply to this email directly or view it on GitHub: https://github.com/fubarino/fubarino.github.com/issues/11#issuecomment-52394696

JacobChrist commented 10 years ago

Microcip uses SDO as SPI out of any chip, so sometimes SDO is MISO and other times is MOSI. The same is true of SDI for input. This statement is made from my failing memory but I am pretty sure it is correct.

Jacob On Aug 16, 2014 6:09 AM, "Jason Lopez" notifications@github.com wrote:

You have this: SDO, MISO SDI, MOSI

When its actually supposed to be: SDO, MOSI SDI, MISO

Here: https://github.com/fubarino/fubarino.github.com/wiki/SD-Board-Pin-Features

— Reply to this email directly or view it on GitHub https://github.com/fubarino/fubarino.github.com/issues/11.

AtomSoftTech commented 10 years ago

I understand but that depends who is the MASTER in this case. Since the Fubarino is the master (in most cases)

MISO = Master In Slave Out MOSI = Master Out Slave In

SDO = Serial Data Out SDI = Serial Data In

So SDO = MISO can only be correct if Fubarino is slave

Thanks, Jason Lopez AtomSoft.Wordpress.com http://Atomsoft.Wordpress.com AtomSoftTech Tindie <:https://www.tindie.com/stores/AtomSoft/%22>

JacobChrist commented 10 years ago

Jason,

Thanks for clearing that up for me.

Consider this, since an SPI bus is not multi master like I2C but dose support multipul slaves this means there will in all cases be at least an equal number of master and slaves. But should there exist any systems that have more than one slave then slave devices will out number masters.

But yes, I agree the Fubarino will probably be the master in most cases since most slaves will be some kind of peripheral device.

Jacob

P.S. I checked your web page, nice work with the Fubarino. On Aug 17, 2014 5:35 AM, "Jason Lopez" notifications@github.com wrote:

I understand but that depends who is the MASTER in this case. Since the Fubarino is the master (in most cases)

MISO = Master In Slave Out MOSI = Master Out Slave In

SDO = Serial Data Out SDI = Serial Data In

So SDO = MISO can only be correct if Fubarino is slave

Thanks, Jason Lopez AtomSoft.Wordpress.com http://Atomsoft.Wordpress.com AtomSoftTech Tindie <:https://www.tindie.com/stores/AtomSoft/%22>

— Reply to this email directly or view it on GitHub https://github.com/fubarino/fubarino.github.com/issues/11#issuecomment-52420740 .

AtomSoftTech commented 10 years ago

Heh yeah. And thanks. Ive made a few fubarino style clones also but havent documented them since they are for other clients. They use basic hardware but no bootloader. Fubarino saved me weeks of studying.

Its an awesome device. When does this newer fubarino come out? Im so anxious! The SDZ...

Sent with AquaMail for Android http://www.aqua-mail.com

On August 17, 2014 7:36:46 PM Jacob Christ notifications@github.com wrote:

Jason,

Thanks for clearing that up for me.

Consider this, since an SPI bus is not multi master like I2C but dose support multipul slaves this means there will in all cases be at least an equal number of master and slaves. But should there exist any systems that have more than one slave then slave devices will out number masters.

But yes, I agree the Fubarino will probably be the master in most cases since most slaves will be some kind of peripheral device.

Jacob

P.S. I checked your web page, nice work with the Fubarino. On Aug 17, 2014 5:35 AM, "Jason Lopez" notifications@github.com wrote:

I understand but that depends who is the MASTER in this case. Since the Fubarino is the master (in most cases)

MISO = Master In Slave Out MOSI = Master Out Slave In

SDO = Serial Data Out SDI = Serial Data In

So SDO = MISO can only be correct if Fubarino is slave

Thanks, Jason Lopez AtomSoft.Wordpress.com http://Atomsoft.Wordpress.com AtomSoftTech Tindie <:https://www.tindie.com/stores/AtomSoft/%22>

— Reply to this email directly or view it on GitHub

https://github.com/fubarino/fubarino.github.com/issues/11#issuecomment-52420740 .


Reply to this email directly or view it on GitHub: https://github.com/fubarino/fubarino.github.com/issues/11#issuecomment-52439392

EmbeddedMan commented 9 years ago

Since the documentation is now fixed, I believe, I'm going to close this issue.