RoyalTek REV-2000 Quick start guide

REV-2000 Operational Manual
RoyalTek Evaluation Kit
REV-2000 Operational Manual
Version 1.1
2001/7/4
This document contains information highly confidential to RoyalTek Company LTD (RoyalTek). It
is provided for the sole purpose of the business discussions between supplier and RoyalTek and
is covered under the terms of the applicable Non-Disclosure Agreements. Disclosure of this
information to other parties is prohibited without the written consent of RoyalTek.
Prepared by
RoyalTek Company LTD.
1071, Chung Cheng Rd., Suite 9F-1
Tao Yuan City, Taiwan, R.O.C.
TEL: 886-3-3569666
FAX: 886-3-3580050
E-Mail: sales@royaltek.com
http://www.royaltek.com

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
i
RoyalTek Evaluation Kit REV-2000 Operational Manual
INTRODUCTION .........................................................................................................................................1
Packing list .........................................................................................................................................1
GETTING STARTED ....................................................................................................................................3
To Setup REV-2000 ...........................................................................................................................3
Setup procedure.................................................................................................................................4
TO OPERATE REV-2000 ...........................................................................................................................5
Install the SiRFDemo.exe...................................................................................................................5
To use Sirfdemo.exe ..........................................................................................................................5
To switch from NMEA to SiRF protocol ..............................................................................................7
To switch from SiRF protocol to NMEA protocol.................................................................................9
To Synchronize Protocol...................................................................................................................10
To Switch Trickle Power Parameters from SiRFDemo.exe...............................................................10
To change TricklePower parameters of REB-2100 from 12 pins interface. ......................................12
To upgrade GPS engine board program ..........................................................................................12
PRODUCT FEATURES...............................................................................................................................13
PRODUCT APPLICATIONS..........................................................................................................................14
TECHNIQUE DESCRIPTION ........................................................................................................................14
REB-2100 System Block Diagram......................................................................................................2
REB-12R Block diagram ....................................................................................................................3
Technique specifications ....................................................................................................................3
ORDERING INFORMATION ...........................................................................................................................7
ABSOLUTE MAXIMUM RATINGS ..................................................................................................................10
SOFTWARE INTERFACE ............................................................................................................................10
NMEA V2.2 Protocol ........................................................................................................................10
GGA-Global Positioning System Fixed Data....................................................................................10
GLL-Geographic Position – Latitude/Longitude................................................................................11
GSA-GNSS DOP and Active Satellites ............................................................................................11
GSV-GNSS Satellites in View ..........................................................................................................12
RMC-Recommended Minimum Specific GNSS Data.......................................................................12
VTG-Course Over Ground and Ground Speed ................................................................................13
SIRF PROPRIETARY NMEA INPUT MESSAGES ..........................................................................................13
SIRF NMEA INPUT MESSAGES...............................................................................................................14
Set Serial Port ..................................................................................................................................14
LLA Navigation Initialization .............................................................................................................14
Set DGPS Port .................................................................................................................................15
Query/Rate Control ..........................................................................................................................15

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
ii
LLA Navigation Initialization .............................................................................................................16
Development Data On/Off................................................................................................................16
Calculating Checksums for NMEA Input ..........................................................................................17
SIRF BINARY PROTOCOL ........................................................................................................................17
INPUT MESSAGES FOR SIRF BINARY PROTOCOL .......................................................................................18
Initialize Data Source-Message I.D. 128 ..........................................................................................18
Switch To NMEA Protocol – Message I.D. 129 ................................................................................19
Set Almanac- Message I.D. 130.......................................................................................................20
Software Version – Message I.D. 132 ..............................................................................................20
Mode control – Message I.D .136.....................................................................................................21
DOP Mask Control – Message I.D. 137 ...........................................................................................21
DGPS Control – Message I.D.138....................................................................................................22
Elevation Mask – Message I.D.139..................................................................................................22
Power Mask – Message I.D.140 ......................................................................................................23
Steady State Detection – Message I.D.142......................................................................................23
Static Navigation – Message I.D.144 ...............................................................................................23
Set DGPS Serial Port – Message I.D 145 ........................................................................................24
Almanac – Message I.D.146 ............................................................................................................24
Ephemeris Message I.D.147 ............................................................................................................24
Switch To SiRF Protocol...................................................................................................................25
Switch Operating Modes - Message I.D. 150 ...................................................................................25
Set Trickle Power Parameters - Message I.D. 151...........................................................................25
Computation of Duty Cycle and On Time. ........................................................................................26
Push-to-Fix.......................................................................................................................................26
Poll Navigation Parameters - Message I.D. 152...............................................................................27
OUTPUT MESSAGES FOR SIRF BINARY PROTOCOL....................................................................................27
Measure Navigation Data Out – Message I.D.2 ...............................................................................27
Measured Tracker Data Out – Message I.D.4 ..................................................................................29
Raw Tracker Data Out – Message I.D.5...........................................................................................30
Calculation of Pseudo-Range Measurements ..................................................................................31
Response :Software Version String – Message I.D.6 ....................................................................32
Response :Clock Status Data – Message I.D.7.............................................................................32
50BPS Data – Message I.D.8 ..........................................................................................................33
CPU Throughput – Message I.D.9 ...................................................................................................33
Command Acknowledgment – Message I.D.11................................................................................34
Command N Acknowledgment – Message I.D. 12...........................................................................34
Visible List – Message I.D.13 ...........................................................................................................34
Almanac Data – Message I.D.14......................................................................................................35

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
iii
Set Ephemeris – Message I.D.254...................................................................................................35
Development Data – Message I.D.255.............................................................................................35

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
1
Introduction
REV-2000 is an evaluation kit for RoyalTek GPS engine board series, REB-12R2/R6/ REB-2000/
REB-2001.It is convenient to test the GPS performance,cold start / warm start / hot start,position
update and so on by using the REV-2000. REV-2000 helps you understand the operation and
performance of Royaltek’s GPS engine boards in a couple of minutes. It can also provide you design
the OEM products that use RoyalTek’s GPS engine boards.
Packing list
The evaluation kit contains follows:

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
2
No. Items Specification Quantity Description
1 REV-2000
Evaluation Board 68*88mm 1
PROVIDE POWER FOR GPS
ENGINE BOARD AND CONVERT
THE SIGNAL FROM TTL TO
RS-232 CONNECTING TO PC.
2 Power Core AC 110V or 220V
7.5V/1.0A/2.5mm/1.8M 1
AC/DC ADAPTOR. THERE ARE
TWO TYPES OF ADPATOR, 110V
AND 220V.
3 RS232 Cable 9pin/1.5M 1
RS-232 CABLE CONNECTING
EVALUATION BOARD WITH PC.
4 RF Extension Cable
(Optional) 150mm 1
RF EXTENSION CABLE FOR MCX
TO BNC. IF YOU ORDER THE
MMCX ANTENNA FOR REB-2000,
YOU DON’T NEED TO ORDER
THIS EXTENSION CABLE. PLEASE
CONTACT
SALES@ROYALTEK.COM FOR
FURTHER INFORMATION.
5 GPS active antenna 5M 1 GPS ACTIVE ATENNA.
6 GPS receiver
(Optional) REB-12R or REB-2000
THERE ARE TWO KINDS OF GPS,
REB-12R AND REB-2000 SERIES.
PLEASE SELECT THE DESIRED
ON.
1.
2.
3.
4.
5.
REV-2000
Evaluation
Power Core BNC to MCX
Cable
RS232 Cable
GPS active
antenna

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
3
Getting started
To Setup REV-2000
The interface of REV-2000 is shown as follows:
Power mode jumper J1
The power core of REV-2000 is 110V AC/ 7.5V
DC adaptor. It converts the 110 AC to DC.
RoyalTek can also provide you 220V AC power
core. Beware of the AC power of your office
and tell RoyalTek’s sales person for preparing
the correct power code for you.
REV-2000 provides 3 power modes on borad,
3.3V and 5V. JP1: Open for +5V, Short for 3.3V.
The 3.3V is for REB-2000/ REB-2100. The 5V
is for REB-12R2.
BOOT jumper
The BOOT jumper is for program upgrade. It
shall be kept open for normal operation. When
the BOOT is short, the GPS engine board is
waiting for program upgrade and output
nothing when running SiRF demo program.
Please refer the program upgrade session for
program update.
DC input
The power input can be DC input instead of
using AC power core. The input range of the
DC input is from 6.5V ~ 12V. We suggest
you use +7.5V as the DC input.
Reset
It is used for external reset.
VBT
This is for RAM backup power of
REB-2000/REB-2100 and REB-12R2. The
VBT
Backup battery input 2.5V ~ 3.1V
BOOT jumper
Open: Normal operation
Short: Program upgrade
Power mode
jumper J1
Open: +5V
Short: +3.3V
DC input
+6.5V ~
Power RESET switch
CON20 REB-12R2 connector
CON12 REB-2000/REB-2100
P1 NMEA / SiRF protocol
port
Connecting to PC/Laptop
P2 DGPS RTCM-104 port

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
4
input range is from 2.5V ~ 3.1V DC.
P1
This is NMEA/SiRF protocol output/input port.
Please connect it to PC or Laptop RS-232
port.
P2
This is DGPS input port.
CON12
This is the socket for REB-2000/REB-2100.
Please refer the hardware interface section
for the pin assignment.
CON20
This is the socket for REB-12R2. Please
refer the hardware interface section for the
pin assignment.
Setup procedure
(1) Plug the REB-12R2 on the CON20
(2) Plug the active antenna into the external
antenna connector. The suitable view
angle of the active antenna is necessary.
Caution: Please do not put any metal
stuff on the antenna.
(3) Connecting the RS-232 cable between
REV-2000 P1 and PC.
(4) Plug the power core. (or connecting the
DC power input, 6.5V ~ 12V)
After you finish setup, it is like as follows:
Active
GPS antenna
AC
PC COM1 or COM2

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
5
To operate REV-2000
Install the SiRFDemo.exe
Copy the SiRFDemo.exe from the CD-ROM
\Toolkit\SiRFDemo.exe to the destination path,
e.g. “c:\RoyakTek\REV-2000\Demo.exe”. Add
a shortcut of SiRFdemo.exe on the desktop of
Windows 98.
To use Sirfdemo.exe
(1) Double click the SiRFdemo.exe.
(2) Choose the “Supplied Data” radio button.
Click the “Instrument(Measured Data)”
check box.
(3) Select the serial port, e.g. COM1. The
default baud rate of REB-2100 and
Reb-12R2 is 9600bps. Click the OK.
(4) There are 6 menus on the menu bar:
Setup, View, Action, Navigation, Poll and
Window.
PC COM1

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
6
(5) Click the “Signal level”, “Tracking”, “Map”
buttons of the tool bar to enable the
“Signal level view”, “Tracking view” and
“Map view”.
(6) Check the View / Messages /
Development to enable the development
view.
Signal Level
Tracking
Map
Data
source
Connect/
Disconnect
Toggle button
Signal Level
view
Development view Map
Tracking view

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
7
(7) Click the to start testing.
(8) The other buttons of tool bar are explained
as follows:
: Pause the data reception.
:Log the data as a *.log file.
: Initialize Data Source
(9) After you click the , you can see the
NMEA output on the development view.
To switch from NMEA to SiRF protocol
Check Action / Switch to SiRF Protocol.

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
8
You could see the following screen after you switch to SiRF protocol.
12-Channel Signal Level Data:
Information Displayed Description
Satellite Number (SV) GPS satellite PRN number
Status (St) Satellite status
Azimuth (Az) Satellite azimuth (in degrees)
Elevation (EI) Satellite elevation (in degrees)
C/No Signal level (in dB-Hz)
Signal Level (-5 sec) 5-second history
Tracking view:
Green: Satellite is tracked and used to
calculate the navigation solution.
Blue: Satellite is tracked but is not
used to calculate the navigation
solution.
Red: Satellite is lost tracked.
Development data view: It is for

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
9
development purpose not for user.
Map View: Demonstrate the GPS time,
Latitude, Longitude, Altitude and
Navigation mode etc.
Initialize Data Source
Click the button to initialize data
source. It provides the cold start, warm
start and hot start test functions. The
receiver initialization view is like follows:
The definition of cold start, warm start and hot start is described as following table:
Option Description
Hot Start The Evaluation Unit restarts by using values stored in the internal of the GPS
receiver.
Warm Start (No init) This option has the same functionality as Hot Start except that Ephemeris data
and retains all other data.
Warm Start (init) This option clears all initialization data in the GPS receiver and subsequently
reloads the data that is currently displayed in the GPS receiver initialization is
cleared.
Cold Start This option clears all data that is currently stored in the internal memory of the
GPS receiver including position, almanac, ephemeris, time, and clock drift.
To switch from SiRF protocol to NMEA protocol
(1)Select the “Action/Switch to NMEA Protocol” like follows.

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
10
(2) After you select the “Switch to NMEA Protocol”, it will show up a “Select NMEA Messages” dialog.
Select the NMEA Messages that you want to use.
(3) Determine the update rate for each NMEA
message
(4) Select the baud rate that you want to use
from the Baud Rate pull down menu.
(5) Click the OK button to save or Cancel
button to exit
(6) It will switch to NMEA protocol.
To Synchronize Protocol
When you don’t know what the
protocol/baud rate is set in REB-2100 or
REB-12R2, you can use this option to
synchronize protocol. Select the
Action/Synchronize Protocol and Baud Rate.
It will synchronize the protocol and Baud
Rate.
To Switch Trickle Power Parameters
from SiRFDemo.exe
There are two modes of low power operation:

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
11
(1) Trickle power: In TricklePower mode, the
power to is cycled periodically, so that it
operates only a fraction of the time.
REB-2100 has the default trickle power
parameters: OnPeriod: 300ms, Update
rate: 1 second. REB-12R2 does not
provide the trickle power feature.
(2) Push to fix: In Push-to-Fix mode, the
receiver is generally off, but turns on
frequently enough to collect ephemeris.
So that, upon user request, a position fix
can be provided quickly after power-up.
REB-2100 provides push to fix function
but it is disabled default. REB-12R2 does
not provide this function.
It provides the trickle power operation in
REB-2100 default. REB-12R2 doesn’t support
the trickle power now. To enable trickle power
mode from SiRFdemo.exe, please select the
“Action/Set TricklePower Parameters” like
following picture.
Then, it will show a “TricklePower parameters”
dialog for parameters setting. There are two
parameters of Trickle power that needs to be
set, “Update Rate and On Time”. The “Update
Rate” means the navigation update frequency.
For example, “1 sec” means output once per
second and “2 sec” means output once per 2
seconds. The “On time” means running time in
the output period. For example, “200 ms”
means the running time is 200 ms per
navigation update. The duty cycle of trickle
power is determined by setting of “Update Rate”
and “On Time”. For example, if the “Update
Rate” is 1 sec and “On time” is 200ms, the duty

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
12
cycle is 200ms/1000ms = 20%. If the “Update
Rate” is 2 sec and “On Time” is 300 ms, the
duty cycle is 300ms/2000ms = 15%. The duty
cycle is limited to 5% ~ 50%. Since it will do
some estimation in trickle power, please tune
the proper duty cycle that can compromise the
power consumption and acceptable navigation
performance. The “ricklePower Prameters”
dialog is shown as following picture.
To change TricklePower parameters
of REB-2100 from 12 pins interface.
Since it is NMEA output default, it needs to
change to SiRF protocol before change
TricklePower parameters. The procedure is
described as follows:
(1) Use “Set Serial Port” command of SiRF
NMEA input messages.
$PSRF100,0,9600,8,1,0*0C<CR><LF>
It will switch from NMEA to SiRF protocol.
(2) Use “Set Trickle Power Parameters -
Message I.D. 151” to set the trickle power
parameters.
(3) Use “Switch To NMEA Protocol –
Message I.D. 129” to switch back to
NMEA protocol.
To upgrade GPS engine board
program
(1) Turn off the power.
(2) Keep the
BOOT jumper short.
(3) Turn on the power.
(4) Run the SiRFProg.exe.
(5) Select the Target Loader File. Select
dltarget.s for REB-12R2/R1. Select
dlgsp2.bin for REB-2100.
(6) Select the Target file that need to be
programmed into flash memory.

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
13
(7) Select the COM port. Keep the Baud rate
at 19200 for REB-2100 and 9600 for
REB-12R2/R1.
(8) If you want to upload program to
Reb-2100, please assert the GPS2 check
box. But leave it unasserted for
Reb-12R2/R1.
(9) Click Upload to begin programming flash
memory.
(10) When you finish upload, turn off the power.
Keep the BOOT jumper open and turn on
power. It will run the new program that
uploaded into flash memory.
Product Features
REB-2100
OEM product development is fully
supported through applications
engineering and WEB technique
forum.
Small and compact footprints
measuring “ ”.
12 parallel channels
0.1 second re-acquisition time.
Trickled power enabled for power
saving.
Enhanced algorithm for navigation
stability.
NMEA-0183 compliant
protocol/custom protocol.
WAAS demodulator

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
14
Excellent sensitive for urban canyon
and foliage environments.
Single satellite positioning.
Dual multi path rejection.
REB-12R
OEM product development is fully
supported through applications
engineering and WEB technique
forum.
12 parallel channels
0.1 second re-acquisition time.
Enhanced algorithm for navigation
stability.
NMEA-0183 compliant
protocol/custom protocol.
Excellent sensitive for urban canyon
and foliage environments.
Single satellite positioning.
Dual multi path rejection.
Product applications
REB-2100
Portable IA device for personal
navigation/ position commerce
(P-Commerce)
Automotive applications
Personal positioning and navigation
Marine navigation
Timing application
REB-12R
Automotive applications
Personal positioning and navigation
Marine navigation
Timing application
Technique description
REB-2100
General information. The REB-2100 is a
stamp size GPS receiver. It requires +3.3V DC
power input. It can operate with an active
antenna through a MMCX connector. It
provides the antenna power through RF cable.
The default DC input of active antenna is 3.3V
+/- 10%. Since it needs 4 satellites or more to
do the first position fix. The suitable view angle
of the active antenna is necessary. It will
determine the first time position update after a
good satellites geometry (PDOP <= 10). If the
satellites are blocked, it may take time to
determine the position. Caution: Please do
not put any metal stuff on the antenna. It
results in GPS receiver getting nothing. In
urban canyon, the fast 0.1 s re-acquisition
capability can make it determine the position
right away through the cross-intersection.

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
2
Pictures
REB-2100 System Block Diagram
LNA
SIRF GRF2I
SAW Filter
SiRF
GSP2e
12 pins
Flash Memory
Active antenna
Pin 1
MMCX
Pin

RoyalTek GPS Receiver REB-2000/REB-12R REV-2000 Operational Manual
3
REB-12R
REB-12R Block diagram
Technique specifications
REB-2100.
Operational Characteristics.
12 Channels
L1, 1575.42MHz.
C / A code, 1.023MHz chip rate.
Snap start:2second, average
Hot start 8second, average
Warm start45second, average
Cold start60second, average
Reacquisition:0.1 second, average
Navigation update rate Once per
second.
LNA
SIRF
GRF1/LX
Ceramic
Filter
SiRF
GSP2e
20 pins
Hitachi
SH1
SRAM
Flash
memory
Active antenna
Pin MCX
Other manuals for REV-2000
1
Table of contents
Other RoyalTek Motherboard manuals