SUP500F Configuration issue

Hello,

I connected SUP500F GPS module to Arduino Mega as following:

GPS TX > AM RX1

GPS RX > AM TX1

GPS GND > AM GND

GPS VDD > AM +5

GPS BAT > AM +5

And uploaded the following sketch

void setup(){

Serial.begin(9600);

Serial1.begin(9600);

}

void loop(){

if (Serial1.available()){

int inByte=Serial1.read();

Serial.print(inByte,BYTE);

}

if (Serial.available()){

int inByte=Serial.read();

Serial1.print(inByte,BYTE);

}

}

It was working perfectly when I use Arduino serial port monitor and also I was able to read and write to the module perfectly using SkyTraq 0.4.603 software. Then through SkyTraq software I set “Configure Position update rate” to “10Hz “ and the module started to send fast unreadable characters and I lost control of the module.

I tried to change the sketch to use 115200 baud it did not help, I disconnected the module for more than 2 hours then reconnected it but it remains on the same settings and when I try to control it using SkyTraq software, it give error that module is not responding. Can you please help me on this?

I followed below hint from Techsupport and my issue is solved when I set the speed to 38400!! thanks to Mike.

Hello Muthanna,

When you change the position update rate above what the current baud rate can support, the SUP500F will automatically raise the baud rate to a higher rate. Since your Arduino pass-through program doesn’t know this, the resulting data will look like garbage. Try changing your Arduino code to 38400 instead of 9600 and see if that works better. You may want to use SkyTraq to tell the GPS unit to save this baud rate (38400) to SRAM+FLASH so that it is the new default rate.

If you’ve already saved a new default rate to FLASH, but don’t know what the rate is, you’ll need to try all the common rates in your Arduino code until you see valid data in the serial monitor window. The common rates are 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200.

I hope this helps, let us know if you’re still having problems.