MAX-M5Q Receiver Description

49
MAX-M5Q Receiver Description Including Protocol Specification Abstract www.u-blox.com

Transcript of MAX-M5Q Receiver Description

Page 1: MAX-M5Q Receiver Description

MAX-M5Q Receiver Description Including Protocol Specification

Abstract

www.u-blox.com

Page 2: MAX-M5Q Receiver Description

Page 2 of 49

Document Information

Title

Subtitle

Document type

Document number

Document status

Document status information

This document applies to the following products:

Name Type number ROM/FLASH version PCN reference

Page 3: MAX-M5Q Receiver Description

Page 3 of 49

Preface How to use this Manual

Receiver Description including Protocol Specification

Receiver Description

NMEA Protocol

A warning symbol indicates actions that could negatively influence or damage the module.

Questions

Technical Support Worldwide Web

By E-mail

Helpful Information when Contacting Technical Support

Page 4: MAX-M5Q Receiver Description

Page 4 of 49

Contents

Preface ................................................................................................................................ 3

Contents .............................................................................................................................. 4

1 Receiver Description ..................................................................................................... 7

2 NMEA Protocol ........................................................................................................... 14

Page 5: MAX-M5Q Receiver Description

Page 5 of 49

Appendix .......................................................................................................................... 43

Abbreviations ................................................................................................................... 47

Page 6: MAX-M5Q Receiver Description

Page 6 of 49

Related documents........................................................................................................... 48

Revision history ................................................................................................................ 48

Contact .............................................................................................................................. 49

Page 7: MAX-M5Q Receiver Description

Page 7 of 49

1 Receiver Description

1.1 Overview

This document provides general information on u-blox MAX-M5Q GNSS receivers. Refer to the

MAX-M5Q Data Sheet [1] and/or the MAX-M5Q Hardware Integration Manual [2] for possible restrictions or limitations.

1.2 GNSS Configuration

1.2.1 GLONASS

Page 8: MAX-M5Q Receiver Description

Page 8 of 49

1.2.2 QZSS

1.3 SBAS (Satellite Based Augmentation Systems)

Figure 1: SBAS Principle

Page 9: MAX-M5Q Receiver Description

Page 9 of 49

1.4 Clocks and Time

1.4.1 Oscillators

1.4.2 Real-Time Clock (RTC)

Real-Time Clock

1.5 Serial Communication Ports Description

1.5.1 UART

Figure 2 UART timing

Page 10: MAX-M5Q Receiver Description

Page 10 of 49

1.6 Receiver Configuration

1.6.1 Configuration Concept

1.6.2 Receiver Default Configuration

Features / Function Default Configuration

Table 1: Default Configuration for MAX-M5Q

1.7 Power management

o

o

o

1.7.1 Continuous mode

Page 11: MAX-M5Q Receiver Description

Page 11 of 49

1.7.2 Power Save mode

1.7.2.1 Standby mode

1.7.2.2 Periodic mode

Figure 3: Periodic Mode

1.7.2.3 AlwaysLocate Mode

Page 12: MAX-M5Q Receiver Description

Page 12 of 49

1.7.3 Backup State

1.8 Time pulse

1.9 Jamming Remover

1.10 Aiding and Acquisition

1.10.1 Startup Strategies

Cold start

Page 13: MAX-M5Q Receiver Description

Page 13 of 49

Warm start

Hot start:

1.10.2 Aiding / Assisted GPS (A-GPS)

1.10.2.1 Autonomous Assisted GPS (A-GPS)

Self-Assistance EASY™ usage

1.11 Logger LOCUS usage

Page 14: MAX-M5Q Receiver Description

Page 14 of 49

2 NMEA Protocol

2.1 Protocol Overview

NMEA Protocol Frame

<--------------------------- Checksum range ------------------------>

$ <Address> {,<value>} *<checksum> <CR><LF>

Start char. Address field Data field(s) Checksum field End sequence

Always "$" Only digits and uppercase letters, cannot be null. This field is subdivided into two fields:

Delimited by a ",". Length can vary, even for a certain field.

Starts with a "*" and consists of two characters representing a hex number. The checksum is the exclusive OR of all characters between "$" and "*".

Always <CR><LF>

<XX> <XXX>

Talker identifier. Always GP for GPS receiver, P for proprietary messages.

Sentence Formatter. Defines the message content.

Example:

$ GP ZDA ,141644.00,22,03,2002,00,00 *67 <CR><LF>

.

Figure 4: Overview of NMEA protocol message structure

2.2 NMEA Protocol Configuration

Operation mode Talker ID

GPS + GLONASS hybrid (defualt)

GPS only

GLONASS only

Table 2: Talker ID for different constellation modes

Page 15: MAX-M5Q Receiver Description

Page 15 of 49

2.3 NMEA Messages Overview

Page Message Description

GGA

GLL

GSA

GSV

RMC

VTG

ZDA

Table 3: Standard NMEA messages of MAX-M5Q receiver

2.3.1 NMEA default output messages

2.3.2 NMEA standard messages

2.3.2.1 GGA - global positioning system fix data

Message Description Type Comment

Example:

Message structure:

Field No Format Example Description

Page 16: MAX-M5Q Receiver Description

Page 16 of 49

Field No Format Example Description

2.3.2.2 GLL – Geographic position (Latitude/Longitude)

Message Description Type Comment

Example:

Message structure:

Field No Format Example Description

Page 17: MAX-M5Q Receiver Description

Page 17 of 49

2.3.2.3 GSA – GNSS DOP and active satellites

Message Description Type Comment

Example:

Example MAX-M5Q parallel mode:

Message structure:

Field No Format Example Description

Page 18: MAX-M5Q Receiver Description

Page 18 of 49

2.3.2.4 GSV – GNSS satellites in view

Message Description Type Comment

Example:

Message structure:

Field No Format Example Description

2.3.2.5 RMC - recommended minimum specific GNSS data

Message Description Type Comment

Example:

Example MAX-M5Q parallel mode:

Message structure:

Field No Format Example Description

Page 19: MAX-M5Q Receiver Description

Page 19 of 49

Field No Format Example Description

2.3.2.6 VTG – Course over ground and ground speed

Message Description Type Comment

Example:

Message structure:

Field No Format Example Description

Page 20: MAX-M5Q Receiver Description

Page 20 of 49

2.3.2.7 ZDA – Time and date

Message Description Type Comment

Example:

Message structure:

Field No Format Example Description

Page 21: MAX-M5Q Receiver Description

Page 21 of 49

2.4 PMTK commands

Command length:

Sample Command:

Contents Example Description

Table 4: Contents of proprietary PMTK commands

2.4.1 PMTK000 TEST

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.2 PMTK001 ACK

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 22: MAX-M5Q Receiver Description

Page 22 of 49

Field No Format Example Description

2.4.3 PMTK010 SYS MSG

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.4 PMTK011 TXT MSG

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 23: MAX-M5Q Receiver Description

Page 23 of 49

2.4.5 PMTK101 CMD HOT START

Message Type Description

Example:

DataField structure:

Field No Format Example Description

2.4.6 PMTK102 CMD WARM START

Message Type Description

Example:

DataField structure:

Field No Format Example Description

2.4.7 PMTK103 CMD COLD START

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 24: MAX-M5Q Receiver Description

Page 24 of 49

2.4.8 PMTK104 CMD FULL COLD START

Message Type Description

Example:

DataField structure:

Field No Format Example Description

2.4.9 PMTK120 CLEAR FLASH AID

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.10 PMTK161 CMD STANDBY MODE

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

Page 25: MAX-M5Q Receiver Description

Page 25 of 49

2.4.11 PMTK183 LOCUS QUERY LOGGING STATUS

Message Type Description

Example:

Output message structure:

Field No Format Example Description

Return message:

2.4.12 PMTK184 LOCUS ERASE FLASH

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

Page 26: MAX-M5Q Receiver Description

Page 26 of 49

2.4.13 PMTK185 LOCUS START/STOP LOGGER

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.14 PMTK186 LOCUS LOG NOW

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.15 PMTK187 LOCUS CONFIG

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 27: MAX-M5Q Receiver Description

Page 27 of 49

Field No Format Example Description

Return message:

2.4.16 PMTK622 LOCUS QUERY DATA

Message Type Description

Input example:

DataField structure:

Field No Format Example Description

Output example:

Output message structure:

Page 28: MAX-M5Q Receiver Description

Page 28 of 49

Field No Format Example Description

Return message:

2.4.17 PMTK869 ENABLE EASY

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 29: MAX-M5Q Receiver Description

Page 29 of 49

2.4.18 PMTK220 SET POS FIX

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.19 PMTK223 SET AlwaysLocate DEE CFG

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

Page 30: MAX-M5Q Receiver Description

Page 30 of 49

2.4.20 PMTK225 SET PERIODIC MODE

Message Type Description

DataField structure:

Field No Format Example Description

Retrun message:

Example: How to enter Periodic modes

Page 31: MAX-M5Q Receiver Description

Page 31 of 49

Example: How to enter AlwaysLocate modes

2.4.21 PMTK251 SET NMEA BAUD RATE

Message Type Description

Example:

DataField structure:

Field No Format Example Description

2.4.21.1 Setting 5 Hz navigation

2.4.21.2 Setting 10 Hz navigation

Page 32: MAX-M5Q Receiver Description

Page 32 of 49

2.4.22 PMTK286 SET AIC CMD

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.23 PMTK300 API SET FIX CTL

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.24 PMTK301 API SET DGPS MODE

Message Type Description

Example:

DataField structure:

Page 33: MAX-M5Q Receiver Description

Page 33 of 49

Field No Format Example Description

Return message:

2.4.25 PMTK313 API SET SBAS ENABLED

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.26 PMTK314 API SET NMEA OUTPUT

Message Type Description

Example:

DataField structure:

MAX-M5Q Supported NMEA Sentences

Page 34: MAX-M5Q Receiver Description

Page 34 of 49

Field No Format Example Description

2.4.27 PMTK330 API SET DATUM

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Appendix ( )

Return message:

2.4.28 PMTK331 API SET DATUM ADVANCE

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 35: MAX-M5Q Receiver Description

Page 35 of 49

Field No Format Example Description

2.4.29 PMTK335 API SET RTC TIME

Message Type Description

Example:

DataField structure:

Field No Format Example Description

2.4.30 PMTK351 API SET SUPPORT QZSS NMEA

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 36: MAX-M5Q Receiver Description

Page 36 of 49

2.4.31 PMTK352 API SET STOP QZSS

Message Type Description

Example:

DataField structure:

Field No Format Example Description

2.4.32 PMTK353 API SET GNSS SEARCH MODE

Message Type Description

Example:

DataField structure:

Field No Format Example Description

2.4.33 PMTK386 API SET STATIC NAV THD

Message Type Description

Example:

DataField structure:

Page 37: MAX-M5Q Receiver Description

Page 37 of 49

Field No Format Example Description

Return message:

2.4.34 PMTK400 API Q FIX CTL

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.35 PMTK401 API Q DGPS MODE

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

Page 38: MAX-M5Q Receiver Description

Page 38 of 49

2.4.36 PMTK413 API Q SBAS ENABLED

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.37 PMTK414 API Q NMEA OUTPUT

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.38 PMTK430 API Q DATUM

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

Page 39: MAX-M5Q Receiver Description

Page 39 of 49

2.4.39 PMTK431 API Q DATUM ADVANCE

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.40 PMTK490 API GET USER OPTION

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.41 PMTK605 Q RELEASE

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return Message:

Page 40: MAX-M5Q Receiver Description

Page 40 of 49

2.4.42 PMTK607 Q EPO INFO

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

2.4.43 PMTK660 Q AVAILABLE GPS SV EPH

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Return message:

Page 41: MAX-M5Q Receiver Description

Page 41 of 49

2.4.44 PMTK661 Q AVAILABLE GPS SV ALM

Message Type Description

Example:

DataField structure:

Return message:

2.4.45 PMTK740 DT UTC

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Field No Format Example Description

Page 42: MAX-M5Q Receiver Description

Page 42 of 49

2.4.46 PMTK741 DT POS

Message Type Description

Example:

DataField structure:

Field No Format Example Description

Page 43: MAX-M5Q Receiver Description

Page 43 of 49

Appendix

Map Datum

No Datum Region

Page 44: MAX-M5Q Receiver Description

Page 44 of 49

Page 45: MAX-M5Q Receiver Description

Page 45 of 49

Page 46: MAX-M5Q Receiver Description

Page 46 of 49

Page 47: MAX-M5Q Receiver Description

Page 47 of 49

Table 5: Map datums

Abbreviations Abbreviation Definition

AIC

EASY

EGNOS

GAGAN

GLONASS

GNSS

GPS

MSAS

RTC

SBAS

QZSS

UART

WASS

Table 6: Explanation of abbreviations used

Page 48: MAX-M5Q Receiver Description

Page 48 of 49

Related documents

Revision history

Revision Date Name Status / Comments

Page 49: MAX-M5Q Receiver Description

Page 49 of 49

Contact

u-blox Offices

North, Central and South America

u-blox America, Inc.

Regional Office West Coast:

Technical Support:

Headquarters Europe, Middle East, Africa

u-blox AG

Asia, Australia, Pacific

u-blox Singapore Pte. Ltd.

Regional Office China (Beijing):

Regional Office China (Shenzhen):

Regional Office India:

Regional Office Japan:

Regional Office Korea:

Regional Office Taiwan: