Joined: 30 Jan 2007 Posts: 56 Location: Viana do Castelo - Portugal
Spi bus
Posted: Mon Apr 16, 2007 4:18 pm
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
SPI BUs
Posted: Mon Apr 16, 2007 7:27 pm
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.
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