electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

connection two micro without serial port


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> connection two micro without serial port
Author Message
el.naderi



Joined: 02 Nov 2009
Posts: 3
Location: iran


Post02 Nov 2009 8:19   

connection two micro without serial port


hi my firends
i want to connect tw0 8051 series
but the serial ports are used
plz help
thanks
Back to top
nandhu015



Joined: 11 Feb 2006
Posts: 641
Helped: 46
Location: Tamilnadu, India


Post03 Nov 2009 2:37   

connection twe micro without serial port


Other options are

I2C
SPI
etc...
Back to top
Google
AdSense
Google Adsense




Post03 Nov 2009 2:37   

Ads




Back to top
el.naderi



Joined: 02 Nov 2009
Posts: 3
Location: iran


Post07 Nov 2009 7:20   

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?
Back to top
ama_trig



Joined: 09 Oct 2009
Posts: 12


Post07 Nov 2009 18:48   

Re: connection twe micro without serial port


this might help:
http://www.google.com/search?hl=en&source=hp&q=i2c+protocol&aq=0&oq=I2C+pro&aqi=g10
what software are you willing to write with?
Back to top
ark5230



Joined: 29 Jun 2009
Posts: 188
Helped: 15
Location: India


Post08 Nov 2009 20:22   

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
Back to top
el.naderi



Joined: 02 Nov 2009
Posts: 3
Location: iran


Post10 Nov 2009 6:52   

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
Back to top
mandar_mahajan



Joined: 08 Jul 2009
Posts: 97
Helped: 1
Location: mumbai


Post10 Nov 2009 7:26   

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.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> connection two micro without serial port
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
serial connection b/w micro and PC (7)
connection serial port to CPLD (6)
Proteus 7.1 Serial Port connection (6)
serial port connection failure (3)
serial port interfacing without USART ? (2)
Serial port connection is intermittant on laptop (2)
TTL output at serial port without ext.hardware??? (7)
Direct PC Serial Port connection to LED Display Driver (3)
visual basic code for MCU to pc serial port connection ? (4)
two serial port DS89C420/430 (9)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS