Serial speed vs performance


was wondering if serial speed (ie serial.begin(???)) has impact on overall system load?

i have 2 arduino boards talking , forth on serial interface , want happen fast possible. there reason should not run both @ max speed listed of 115200?  the boards within inches of each other.

ty
keshka

well, have impact on system load if read/write characters possible. @ 115200bps, means 1 character available transmit or receive every 86.8 microseconds. takes 10 microseconds "handle" character, means you're spending 11.5% of time dealing serial port.

at 38400 bps, 1 character 260 microseconds, still takes 10 microseconds handle character, you're spending 3.8% of time dealing serial port.

of course, if send out character once in while, , not continuously, 115200bps vs. 38400bps doesn't matter @ all.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Serial speed vs performance


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums