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.
 

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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…