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.

connection two micro without serial port

Status
Not open for further replies.

el.naderi

Newbie level 5
Joined
Nov 2, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
iran
Activity points
1,323
hi my firends
i want to connect tw0 8051 series
but the serial ports are used
plz help
thanks
 

connection twe micro without serial port

Other options are

I2C
SPI
etc...
 

Re: connection twe micro without serial port

thanks for your answer
i want use i2c bus can you help me and get me more information about it?
do you know pcf 8584?
 

connection twe micro without serial port

el.naderi Connecting two 8051 is extremely easy, it needs tow max 232 IC's at both the ends. If you have specific problem, may be I will be able to suggest a viable solution.
Raoof
 

Re: connection twe micro without serial port

hi my firend
it is not as easy you say
i have three board one of them is cpu and another is analog to digital board
and.....
when data in analog board is ready cpu most understand and maybe cpu is not ready to read data so data is lost
all the port on cpu is used except two pin
thanks for your attention
 

Re: connection twe micro without serial port

As u r saying , their is a high possibility of data being lost.
Also u want to communicate 3 boards on i2c, their is also a possibility of data collision & system might get hanged.

You can do the following:
1) First of all use timeout method so that ur system will not be hanged in any case.
2) Divide the time into 3 (no of slaves to be communicated ) slots & send the data into respective slots only.
1) First store the data in ur slaves in a temp buffer along with the packet no.( here packet no is uesd as identifier) & send it to processor & do the same thing at receiving end...
Hope this will help u.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top