go away spammer

Author Topic: Asynchronous Double Speed Mode for UART  (Read 3291 times)

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Asynchronous Double Speed Mode for UART
« on: December 15, 2009, 08:18:56 AM »
Hello All,
I was playing with my ATmega325P and using internal 8MHz clock, and needed 115200 baud communication. To my dismay this was impossible because 115200 baud on normal UART yields 8.5% error.
A friend recommended to use Asynchronous Double Speed Mode, which always yields a lower error of -3.5%. All I had to do was set the register (U2Xn = 1)

Are there any disadvantages to using this mode?
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

 


Get Your Ad Here