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.

spi master slave communication

Status
Not open for further replies.

anjalimidhuna

Member level 3
Joined
Jan 4, 2014
Messages
62
Helped
2
Reputation
4
Reaction score
2
Trophy points
8
Location
india
Activity points
358
Is it possible to use the same controller as spi master and the slave?

Hi all :)

I want to implement a project in which one controller serves as spi master that sends a data to the slave . This slave should serve as a master for another controller. Is this idea is genuine? How can i implement it? I have pic16f877a and pic16f73 in hand.
 

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,069
Re: Is it possible to use the same controller as spi master and the slave?

if the microcontroller has two SPI interfaces you can implement this idea.
However, the pic16f877a and pic16f73 only have one SPI interface so you would have to implement the second in software using bit-bashing

if would be simpler to select a device with two SPI interfaces, e.g. use the Microchip product selector
https://www.microchip.com/maps/microcontroller.aspx
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top