Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

How to design two serial ports on the 8051?

Status
Not open for further replies.

hoclv

Junior Member level 2
Joined
Feb 12, 2003
Messages
22
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
VIETNAM
Activity points
217
max 3110e application note

How to design two serial ports on the 8051?
 

cdcll

Full Member level 3
Joined
Feb 15, 2002
Messages
163
Helped
8
Reputation
16
Reaction score
1
Trophy points
1,298
Activity points
1,199
you can choose a MCU with 2 UARTs.
 

SISWANTO

Advanced Member level 4
Joined
May 14, 2001
Messages
107
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Location
Nirwana
Activity points
879
Hi Hoclv,
may be u can use DS80C320 from Dallas
semiconductor for design with two serial port. :roll:



siswanto
 

Crisbe

Junior Member level 3
Joined
Mar 11, 2002
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
176
There are three options (as usual):
1. get a 51 with second hardware Uart e.g. 80C517 (old but many peripherals)
2. use the bus-interface to connect an external Uart e.g. 16550, the external bus-interface is a big advance of the 51 compared to PICs or the small AVRs.
3. programm a software Uart at your 51. Uses some processor-time and a timer but maybe fit in your application.

Regards
 

cent

Junior Member level 2
Joined
Jun 20, 2001
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
130
a) Read Atmel Application Note ANM055 to get a second Async Interface on 80C51

b) Or use a 8051 with two serial ports. ( Dallas - MAXIM)

c) If you use an external UART, you will waste a lot of I/O pins.

d) Another option, but I don't test it yet: An Atmel 89S8252 has an SPI interface. You can connect an SPI UART there ( MAXIM - MAX 3110E ). It only needs 5 I/O pins and includes RS-232 transceivers.

Regards,
cent :)
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,307
Reputation
4,616
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
Your ptions are descreibed in previous posts..

Application note from Philips (AN423) is ready-to-go software driven serial communication routine for 83C752/1 (These derivatives do not have UART...).

But there is a"BUT" in this approach: sometimes you will have problems with synchronization (at higher baud rates), specially if bytes are sent one after another, so my advice is to work below 9600bps...
 

andy1

Full Member level 2
Joined
Jul 24, 2004
Messages
124
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Activity points
1,205
Use a dual UART. One that supports two RS232 ports.
 

bajgik

Member level 1
Joined
Jan 25, 2006
Messages
37
Helped
11
Reputation
22
Reaction score
10
Trophy points
1,288
Location
Malta
Activity points
1,469
do you have any designs of the serial port connected to the 8051, and the hex file used. any linkss?:!:
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top