We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone!
I'm using at89s52. Is it possibly to start serial communicatio with GPS which have initial parameters for communication: 8 data bits,0 stop bits and no parity. I ask that because in all serial mods we are sending more than 8 bits (10 or 11).
Little help please...
ya...It is possible with serial communication...
Are you sure that you have 0 stop bits? With zero stop bits - how would you be able to detect the next start bit?
Asynchronous serial communication is designed to allow the receiver to be able to synchronize with the transmitter. The stop bit(s) are important parts of this synchronization.
Perhaps 0 stop bits mean that stop bit is 0. Start bit is probably imply...
How about posting the manufacturer and model (and preferably a link to the documentation) for the GPS.
model of GPS is em-410 www.futurlec.com/EM-410.shtml
I saw them mention 0 or 1 stop bits. Very strange.
You can always send data to them with 1 or 2 stop bits without any problem. It is always safe to send too many stop bits.
Checking with a scope should give you an indication if these guys really do know what they are talking about with regards to number of stop bits for data sent from the module. Measure the time from the end of the last data bit (or from the end of the parity bit) until the start of the next start bit.
If the data from the module has less than a full bit of delay until the next start bit, then you will have a bit of a problem listening to the module. You can send data to the module, so it should be possible to send the $PSRF100 command to reconfigure the interface and activate one stop bit.
I will try to reconfigure GPS first... Thanks.