electronics forum

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

I want UART to UART baud rate converter.


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> I want UART to UART baud rate converter.
Author Message
elcielo



Joined: 13 Jun 2002
Posts: 854
Helped: 6


Post03 May 2004 12:30   

baud rate converter


baud rate converter using MCU with 2ea UART.
Back to top
Antharax



Joined: 01 Jan 1970
Posts: 227
Helped: 13


Post04 May 2004 8:10   

baud rate convertor


Just design it then. Time to send a byte might be faster but time for the complete message stays the same.
You need to buffer the incomming data from the highest baudrate.

What experience with uC's do you have? What microcontrollers are you using, what languages do you know?
Post your questions, code, ... here and you'll get there.
When you're lucky, someone here already designed something similar and is willing to post his design (or send it to you)

Antharax
Back to top
artem



Joined: 22 May 2003
Posts: 1652
Helped: 91
Location: Turan


Post04 May 2004 9:28   

I want UART to UART baud rate converter.


Make 2 ring buffers :
first for port1 Tx and port2 Rx
second for port2 Tx and prot1 Rx

and work with interrupts
Back to top
Antharax



Joined: 01 Jan 1970
Posts: 227
Helped: 13


Post04 May 2004 9:36   

Re: I want UART to UART baud rate converter.


I don't think you even need a ring buffer for the low speed to high speed conversion.
And yes, using interrupts is a good idea, although you could probably do this polling too.

Antharax
Back to top
gam



Joined: 25 Mar 2004
Posts: 117
Helped: 4


Post04 May 2004 13:22   

Re: I want UART to UART baud rate converter.


I am sorry, what is exactly the function fo this devie you want to build.
thanks,
Back to top
artem



Joined: 22 May 2003
Posts: 1652
Helped: 91
Location: Turan


Post04 May 2004 13:33   

I want UART to UART baud rate converter.


Buffer will be needed if duplex connection is used - data flow is to be in both directions . At least one buffer will be needed for sure when receiving data from high speed Rx and putting into low speed Tx side.
Back to top
Google
AdSense
Google Adsense




Post04 May 2004 13:33   

Ads




Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post04 May 2004 17:47   

Re: I want UART to UART baud rate converter.


artem wrote:
Buffer will be needed if duplex connection is used - data flow is to be in both directions . At least one buffer will be needed for sure when receiving data from high speed Rx and putting into low speed Tx side.


And maybe, hardware or software "Handshaking" for high to low speed data transfer...
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 -> I want UART to UART baud rate converter.
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
UART baud rate (6)
UART baud rate (9)
Baud Rate of Microcontroller UART (11)
Max.OSC.Freq. to communicate with PIC18 UART at 115200 baud? (5)
what r the differences between UART & ENHANCED UART (1)
UART - Can I read data coming from a uart port (2)
pc uart sampling rate (2)
UART problem.... - UART and the digital IO (1)
SPI to UART converter (11)
Looking for (UART to SPI / SPI to UART) with PIC (3)


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