English
Language : 

GP2021 Datasheet, PDF (12/62 Pages) Mitel Networks Corporation – GPS 12 channel Correlator Advance Information
GP2021
Reset
It is possible for the software to reset either UART
independently via the RESET_CHx registers. A hardware
reset affects both UARTs. During a UART reset, the contents
of all Control, and Status registers will be cleared. In addition
the Transmit and Receive FIFO’s will be emptied and the TX
outputs will be held Low.
Channel Loopback
For system test purposes, a loopback facility is provided
for each channel, controlled by the Configuration registers. In
loopback, the TX output is set High.
Real Time Clock (RTC) and Watchdog
This block consists of a 32.768kHz crystal oscillator, a
fixed divider, a 24 bit counter, a Watchdog function and three
8 bit data registers. XIN and XOUT are the crystal in and
crystal out connections to the oscillator circuit. A recom-
mended crystal oscillator circuit is shown in Fig. 7. When the
Real Time ClockVSSis not being used, XIN must be tied Low.
The first divider is a fixed divide by 32768 giving a 1 Hz
output. The counter then counts seconds, giving a maximum
time of 194 days. The time is output in three 8 bit registers with
the data being latched when a read is performed to the LS
register (The register holding the least significant byte of the
clock data). On reaching its maximum count, the count is
frozen (i.e. all 1’s), until being reset.
In Power Down mode the Real Time Clock continues to
run, but access to the data registers is not allowed. When
normal power is restored, the software can determine the
elapsed time whilst in Power Down mode, thereby assisting in
estimating the current position of GPS satellites and so
reducingTime–To–First–Fix.
The Watchdog generates a System Reset (see Power And
Reset Control) if the Watchdog Reset address has not been
written to for a period of approximately 2s. The watchdog
function is inhibited whilst in Power Down mode and can be
disabled via a bit in the System Configuration register.The
software is able to reset the Real Time Clock and Watchdog
via the Clock Reset and Watchdog Reset registers
respectively. In addition the watchdog is reset during a System
Reset.
For further information on the registers refer to the section
Detailed Description of Registers.
XIN
10M
XOUT
680k
32.768kHz
22pF CRYSTAL
VSS
22pF
VSS
Fig. 7 Recommended Crystal Oscillator Circuit
Power and Reset Control
This block performs 2 functions: Power Control and
System
Reset Generation
Power Down Mode
In order to allow power conservation within a battery
backup system, the GP2021 provides a Power Down mode,
in which the supply voltage may drop to a minimum of 2.2V,
thereby minimising the supply current. In this mode all
functions within the GP2021 are disabled except for the Real
Time Clock.
The GP2021 is placed in Power Down mode by taking the
POWER_GOOD pin Low. In ARM System mode with the
NBRAM pin held Low, the initiation of Power Down mode is
delayed until just after a falling edge of MICRO_CLK so as not
to corrupt battery backed RAM. Fig. 8 shows a suggested
circuit implementation. Table 4 shows output logic levels in
Power Down mode.
In Power Down mode all inputs and I/Os except
POWER_GOOD and XIN are internally switched to known
logic levels to prevent extraneous switching from causing
excessive power consumption, and may therefore be left
floating. All the I/O pins (D<15:0>, MULTI_FN_IO and
DISCIO) have their output drivers driven to the High
Impedance state.
BATTERY
D1
SUPPLY
+5V SUPPLY
T1
VDD
C1
VSS
VOLTAGE
SENSOR
R1
T2
R2
C2
GP2021
POWER_GOOD
VSS
Fig. 8 : Suggested Battery Backup Configuration
12