UART Baud speeds

New to XMOS and XCore? Get started here.
rbarreiros
Member
Posts: 13
Joined: Thu Dec 26, 2013 9:43 pm

UART Baud speeds

Post by rbarreiros »

Hi there,

I tried to search the forum but had no success.

I'm trying to achieve 250k baud speed on uarts but, the documents say that the max is 115.2k.

Is there any way I can have multiple rx/tx uart ports that can get to 250k baud ?


User avatar
Lefty4000
Active Member
Posts: 32
Joined: Mon Nov 11, 2013 6:17 pm

Post by Lefty4000 »

Oh man, this is about to get abstract.

I guess you could technically use three UARTs to achieve a simulated baud rate of 250K.
If the documentation says it, then its true, 115.2K max. You would need to have three UARTs all running at 115.2K each offset by 1/3 of a second.

If you can achieve that then kudos, now you need to put all the data together in software to combine the signals to achieve w/e you are trying to achieve.

Limitations?
Yea, if your receiver can handle 3 UART lines, cool. The receiving device is going to have to be fast enough to be able to manage the data received on all lines as well as combine them to a simulated 250k.

Man I've never ever ever had to think about attempting this so...I could be totally wrong.

GOOD LUCK
User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am

Post by segher »

Assuming you use sc_uart -- the "fast" variant is documented
as 10Mbaud max.