electronics forum

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

Master Slave Configuration for AT89C2051


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Master Slave Configuration for AT89C2051
Author Message
salmansalman



Joined: 30 Jan 2008
Posts: 28


Post18 Feb 2008 14:09   

at89c2051 network


Can we configure one AT89C2051 as master and then control
several AT89C2051 uCs as slaves??

Please provide the simplest possible solution ..
Back to top
laktronics



Joined: 06 Jan 2007
Posts: 945
Helped: 156


Post18 Feb 2008 16:38   

at89c2051 configuration


Hi,
I think this chip does not support 10 bit addressing mode, you should use the new 89S2051 IC from Atmel instead.
Regards,
Laktronics
Back to top
salmansalman



Joined: 30 Jan 2008
Posts: 28


Post18 Feb 2008 19:00   

at89c2051 configration


why 10 bit addressing is necessary for master slave configuration????

cant we do it using USART??????
Back to top
laktronics



Joined: 06 Jan 2007
Posts: 945
Helped: 156


Post19 Feb 2008 15:25   

master slave configuration in 8051


Hi,
You have asked for the simplest solution and for 8051 family, the 10 bit data mode of the serial port is the simplest solution, which is not supported in 89C2051. You can always implement Master slave configuration in software by sending down the slave address to a group of controllers connected over an RS485 network. In this case, the command respose protocol has to done in software. The slave address could be programmed using DIP switches or stored in an EEPROM on each slave. Refer to MODBUS protocols for a standard followed for such applications.
Regards,
Laktronics
Back to top
ctownsend



Joined: 27 Nov 2004
Posts: 301
Helped: 21
Location: Canada


Post20 Feb 2008 14:26   

Re: Master Slave Configuration for AT89C2051


salmansalman wrote:
Can we configure one AT89C2051 as master and then control
several AT89C2051 uCs as slaves??

Please provide the simplest possible solution ..


How far apart are the slaves? are they on the same board as the master?

Read all about it here:

http://www.8052.com/tut8051.phtml

or you can download one of the many 8051 ebooks found on this forum. One in particular is the book by Kenneth Ayala.

http://www.edaboard.com/viewtopic.php?t=285376&highlight=ayala

See chapter 11. Its all there including source code. It doesn't get much easier than that.

Good Luck
Back to top
Google
AdSense
Google Adsense




Post20 Feb 2008 14:26   

Ads




Back to top
salmansalman



Joined: 30 Jan 2008
Posts: 28


Post20 Feb 2008 14:33   

Master Slave Configuration for AT89C2051


let me check all that ... then i will reply u back
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 -> Master Slave Configuration for AT89C2051
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
AHB SLAVE- How to produce the Hresponse from slave to master (1)
Master/Slave SPI (3)
master/slave 8051 (11)
master/slave boundaris in HFSS9.0 (2)
HFSS master and slave (1)
master and slave Microcontrollers (5)
16f877a ic2 master slave (1)
sti5518 i2c master slave problem (1)
Programing master slave 8051 network (5)
Pic Microcontroller Slave and Master (12)


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