Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

In SPI, How the will Initialize the Slave?

Status
Not open for further replies.

Surender Reddy

Full Member level 2
Full Member level 2
Joined
Jan 28, 2012
Messages
129
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,298
Location
Bangalore, India
Visit site
Activity points
2,186
In SPI, how the master will initialize the slave that slave is going to receive the data?

How many devices we can connect through one SPI (Ex: Atmega8)?
 

For SPI devices there will be SS oe CS pin for Slave select or Chip select. If there are two SPI devices in a system then you select first device be pulling down or pulling up SS pin of that device then communicate with it and then disable SS of that device, Then similar thing when you want to communicate with second device. SPI is faster than I2C. For every SPI device yopu need 1 extra pin for SS pin. If you have 20 SPI devices then you need 20 extra pins for each SS pin + 3 pins SCK, MISO, MOSI for comm.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top