| Author |
Message |
elcielo
Joined: 13 Jun 2002 Posts: 854 Helped: 6
|
03 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
|
04 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
|
04 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
|
04 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
|
04 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
|
04 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

|
04 May 2004 13:33 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
dainis
Joined: 15 May 2001 Posts: 1451 Helped: 56
|
04 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 |
|
 |