AnthonyVillacorta / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Serial Communication Problems with 0017 #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm reading from a GPS serial data with 57600 baud (HW serial) using a 
Duemilanove ATmega 
328.

With 0016 everything works fine, with 0017 I only get gibberish data.
Works better (not perfect though) with lower speeds but unusable at higher 
speeds.
Seem to be able to mostly read short char sequences ok (for example when 
entering data 
manually through a keyboard for debugging purposes) but does not work when 
trying to read a 
continuous data stream (Arduino does nothing else that read!).

I wonder if that has something to do with this change introduced with 0017:

* Improving the accuracy of the baud rate calculations for serial
communication

Tried on Mac OS X and Windows, same problem on both. Fine with 0016, not 
working with 0017.

Original issue reported on code.google.com by pwy...@gmail.com on 31 Aug 2009 at 9:58

GoogleCodeExporter commented 9 years ago
In 0022, we'll change the calculations again.  I hope this will fix the 
problem.  Otherwise, you can always cheat and specify a slightly different baud 
rate (e.g. 57200 or something).

Original comment by dmel...@gmail.com on 25 Nov 2010 at 5:23