CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Spi bus

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
joven



Joined: 30 Jan 2007
Posts: 56
Location: Viana do Castelo - Portugal

View user's profile Send private message

Spi bus
PostPosted: Mon Apr 16, 2007 4:18 pm     Reply with quote

Hi

I need connect the adc and the mmc in the same spi bus.
Can i connect in the same line the data in or data out of the adc and mmc? or need make another connection?

Thanks
kd5uzz



Joined: 28 May 2006
Posts: 56

View user's profile Send private message

SPI BUs
PostPosted: Mon Apr 16, 2007 7:27 pm     Reply with quote

The Data lines are shared among all SPI slaves, each slave should have a CS or Enable line. To talk to MMC you would drive the MMC's CS line low, perform your SPI transactions, then bring the MMC CS high. Do the same thing for your SPI ADC.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group