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.

[51] Programming DS89C4x0 serial port in C

Status
Not open for further replies.

MANO.5

Member level 1
Member level 1
Joined
Mar 15, 2013
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,618
hai friends
In my project i need to interface GSM Modem and GPS Module with microcontroller 8051.I found DS89C4x0 has 2 serial ports in Muhammad Ali Mazidi book.
1.Can i program the same way for my project in Muhammad Ali Mazidi book.
2.is KEIL spport for this microcontroller
3.Is there any other way to use 1 serial port for interfacing this two modules
 

I have not read mazidi book so I am not sure, what mazidi said about programming but
2. yes, keil is supported for atmel 8051 MCU's. You can also use better and simpler MCU's like PIC12F MCU which required very less power.
3. You can use one UART for multiple slaves if supported by master using address bits, a little similar to I2C.

Hope that helps.
 

Hi MANO,
Have you solved your issue. Coz i m also facing same problem. Can you guide me please.
 

Hai djc
i give up using DS89C4x0 due to it's high price compared to AT89C51 series microcontrollers. It is possible to use digital switch cd4052 instead of DS89C4x0.You can access two serial ports by changing A & B. I attached circuit diagram here.For more details you can view the datasheet...
 

Attachments

  • Untitled (2).jpg
    Untitled (2).jpg
    48.4 KB · Views: 101

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top