11
5.2 Configuration Commands
The following sections introduce the commands used for controlling the behavior of PCM3292.
5.2.1 NMEA – NMEA Serial Communication
Sets the NMEA message mask and NMEA serial port communication speed. This message
mask defines which of the NMEA messages are being outputted.
$PFST,NMEA,<mask>,<speed>
<mask>
NMEA messaging mask bitmap in hexadecimal notation. If
it’s desired to change only the speed while keeping the
old message mask, this parameter may be omitted and
use “,,” instead.
Mask bits for message are defined as follows:
Message
bit
GSV 0x0001
GSA 0x0002
ZDA 0x0004
PPS 0x0010
FOM 0x0020
Reserved* 0x0040
GLL 0x1000
GGA 0x2000
VTG 0x4000
RMC 0x8000
I.e. to allow GLL and RMC messages one would set mask as
0x8000 = 0x9000. See examples below.
Note that hexadecimal digits A, B, C, D, E and F must be
in
capital
letters.
* Enables a message used for special purposes.
<speed>
Communication speed. Either 1200, 2400, 4800, 9600,19200, 57600 or
115200.
NOTE 1:
Using message mask FFFF (command $PFST,NMEA,FFFF)is not recommended. Although
it may be used to turn on all messages, the side effect of this would be that all new messages
in future PCM3292 versions will also
be turned on. The following messages are enabled by
default: GGA, RMC, GSA, GSV.
NOTE 2:
NMEA Serial port settings other than speed cannot be changed. The settings for the port are:
- Default speed 4800 bps
- No parity (cannot be changed)
- 8 data bits (cannot be changed)
- 1 stop bit (cannot be changed)
NOTE 3:
In order to preserve this setting after reset or power-up, the new setting has to be stored in
flash memory by using the $PFST,STORE command.
Содержание PCM-3292
Страница 1: ...PCM 3292 PC 104 GPS Module Users Manual...