Home arrow Support arrow Forums

Luminary Micro Forums

bayjames

Fresh Boarder
Click here to see the profile of this user

2008/07/22 22:14

UART comm w/ hardware flow control code?

Hi All,

Does anyone know where I can find some sample UART (RS232) comm code that uses hardware flow control? There doesn't seem to be anthing about it in the forums - or did I just miss it?

I've tweeked the uart_echo.c code to run via interrupts, but I haven't got flow control yet.

My project is to collect "real time" telemetry more or less constantly, and remotely control a R/C - vehicle. For now I'm using a pair of XBee Pro's running RS232 at 9600 N81. But since the transmission range is variable, and XBee's are radio, I'm figuring I'll need some kind of CRC (ECC?) which might tax the processor. Hence, flow control.

I'm leaning towards hardware flow control because Xon/Xoff seems like such an inelegant waste of bandwidth.

Any thoughts? Advice?

Thanks,
Jim

login or register to reply

      Topics Author Date
    thread link
UART comm w/ hardware flow control code?
bayjames 2008/07/22 22:14
    thread link
thread linkthread link Re:UART comm w/ hardware flow control code?
cb1 2008/07/23 09:51
    thread link
thread linkthread linkthread link Re:UART comm w/ hardware flow control code?
bayjames 2008/07/25 01:29
    thread link
thread linkthread linkthread linkthread link Re:UART comm w/ hardware flow control code?
rocksoft 2008/07/25 02:15
    thread link
thread linkthread linkthread linkthread linkthread link Re:UART comm w/ hardware flow control code?
dereksoftstuff 2008/07/25 05:19
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:UART comm w/ hardware flow control code?
cb1 2008/07/25 08:12
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:UART comm w/ hardware flow control code?
dereksoftstuff 2008/07/25 10:21