[SOLVED] Erraneous transmission at high baud rate for serial communications

yw5aj:
Actually - it might be the high baud rate! With more careful search, I found these posts:

USB Serial Baud Rates? ... or other faster USB communication methods? - Arduino Due - Arduino Forum

People mention that at high baud rates, errors occur.

More interestingly!!

If I just send sine wave data generated, the 500,000 baud rate works OK. But, if I read from the analog pin, using analogRead(A0), then errors suddenly start to occur!

Obviously, it is analogRead(A0) that is messing with the serial communication. Any ideas?

Shawn

I just realized that this is indeed a different issue than the OP. I'll open a new thread then!

Here it is: http://forum.arduino.cc/index.php?topic=316446.0