Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

89C52 Parallel to UART Converter

Status
Not open for further replies.

fdediw

New Member
Is there any idea for me to develop 89C52 with the parallel to serial UART converter, for these reasons:

1. The data speed must be up 115 Kbps or higher.
2. The quartz using 24 Mhz.
3. Incoming and outgoing data are data streaming for the realtime application.

Thanks.
 
Yes thats possible.

To transmit 1 byte at 115kbps, it will take 75uS. So you got nearly 75uS between 2 bytes sent. You can utilize that time to do the processing like detect change on your parallel port, get the port value in variable and put it to transmit buffer.

Once you have initialized the serial port at 115kbps, even though you dont send bytes continuously, every byte sent will be transmitted at same data rate, but the total throughput will be less.

Go for higher frequency crystal. 89c52 supports upto 40MHz.
 
first you should use a crystal compatible with serial baudrate
second your speed should be very high other wise you can't reach to that baudrate .
third in that speed your system become too noisy and it is too dificault to handle it.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top