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.

two PIc16f877a spi project

Status
Not open for further replies.

gallenhoe

Newbie level 2
Joined
Dec 30, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,292
i am a final year student in an university and i have this project of master slave using 2 pic16f877a. i choose spi mode as it can be use for multiport. however, i dun have experience of doing master slave in spi mode. is there anyone have any idea on how the pic is being connected and also the coding of it using C++?? really need help...
 

unaided

Member level 5
Joined
Mar 3, 2006
Messages
80
Helped
10
Reputation
20
Reaction score
1
Trophy points
1,288
Location
China
Activity points
1,652
Well, you should connect two pic like this:
CLK ------ CLK
MISO ------- MOSI
MOSI ------- MISO
Then you can set one pic as master and another as slave.This need you to set related spi register.You should read datasheet to do this.
 

gallenhoe

Newbie level 2
Joined
Dec 30, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,292
huhu....i could'nt see the image...mind to send to my email??
really need help...thank you very much

email:gallenhoe@gmail.com
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top