I am having some difficulties reading data from my gps (http://www.adafruit.com/products/746
) at 57600 baud. Reading at 9600 baud works ok'ish (sometimes a character is dropped, but not often), but when reading at 57600 baud using SoftwareSerial characters are consistently dropped. It seems that it is mostly the \r\n characters.
I have made the following very short sketch that shows the problem:
// setup gps serial
int gpsTxPin = 8;
int gpsRxPin = 9;
//SoftwareSerial gpsSerial(gpsTxPin, gpsRxPin);
char c = gpsSerial.read();
Running the above with AltSoftwareSerial, or hardware serial, works perfectly and I can see a string of correct nmea sentences printed on the serial monitor. When I use SoftwareSerial, the nmea sentences are not separated correctly with \r\n.
Any ideas on why?
ps. when I did the test, I had the GPS configured for 57600 baud, 5hz output and GPRMC and GGA nmea sentences.