go_away

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

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
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

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
2023 Views
Last post March 12, 2008, 06:44:27 AM
by JonHylands
1 Replies
1916 Views
Last post July 05, 2008, 02:18:56 PM
by vidam
2 Replies
5040 Views
Last post August 15, 2008, 02:02:27 PM
by vidam
Uart speed problem

Started by Dothos « 1 2 » Software

32 Replies
2002 Views
Last post April 15, 2011, 04:35:47 AM
by Dothos


Get Your Ad Here