– Two Dedicated Peripheral Data Controller (PDC) Channels per USART
•
Master/Slave SPI Interface
– Two Dedicated Peripheral Data Controller (PDC) Channels
– 8- to 16-bit Programmable Data Length
– Four External Slave Chip Selects
•
Programmable Watchdog Timer
•
Power Management Controller (PMC)
– CPU and Peripherals Can Be Deactivated Individually
•
Clock Manager (CLM)
– Geared Master Clock to Reduce Power Consumption
– Sleep State with Disabled Master Clock
•
PWM Controller
– Two PWM Signals
•
Real Time Clock (RTC)
– Time in GPS Format and 15-bit Fractional Part of a Second
– Programmable Interrupt
– Timer with a 8-bit Fractional Part of a Second and Parallel Load
•
2.3V to 3.6V or 1.8V Supply Voltage
•
Includes Power Supervisor
•
Battery Backup Memory
•
9 mm × 9 mm 100-pin BGA Package
GPS Baseband
Processor
ATR0620
Summary
Preliminary
Rev. 4574CS–GPS–05/05
1.Description
The GPS baseband processor ATR0620 includes a 16-channel GPS correlator and is based on
the ARM7TDMI processor core.
This processor has a high-performance 32-bit RISC architecture with a high-density 16-bit
instruction set and very low power consumption. In addition, a large number of internally banked
registers result in very fast exception handling, making the device ideal for real-time control
applications.
The ATR0620 has a direct connection to off-chip memory, including flash, through the External
Bus Interface (EBI).
The ATR0620 is manufactured using Atmel’s high-density CMOS technology. By combining the
ARM7TDMI microcontroller core with on-chip SRAM, 16-channel GPS correlator and a wide
range of peripheral functions on a monolithic chip, the ATR0620 provides a highly flexible and
cost-effective solution for GPS applications.
EM_A0 – 23Address bus Output–All valid after reset
EM_DA0 – 31Data bus I/O––
NCS0 – NCS3 Chip select I/OLow–
NWR0 Lower byte 0 write signalI/O LowUsed in byte write option
NWR1 Lower byte 0 write signalI/O LowUsed in byte write option
NRDRead signalI/O Low Used in byte write option
EBI
NWE Write enable I/O Low Used in byte select option
NOE Output enable I/O Low Used in byte select option
NUB Upper byte select (16-bit SRAM)I/O Low Used in byte select option
NLB Lower byte select (16-bit SRAM)Output Low Used in byte write option
NWAITWait signalI/OLow –
BOOT_MODE0Boot mode input I/O–PIO-controlled after reset, pull up
BOOT_MODE1Boot mode input I/O–PIO-controlled after reset, pull down
TXD0-2Transmit data outputI/O–PIO-controlled after reset
USART
RXD0-2Receive data input I/O–PIO-controlled after reset
SCK0-2External serial clock I/O–PIO-controlled after reset
AICEXTINT0-2External interrupt requestI/OHigh/LowPIO-controlled after reset
PWMAGCOUT0-1Automatic gain controlOutput–PIO-controlled after reset
PMCRF_ON–––ATR0600
nSleepClear sleep output (AF-LDO) OutputLowPIO-controlled after reset
RTC
nSHDNClear sleep output (1.8LDO) I/OLowPIO-controlled after reset
XT_INOscillator inputInput–OSC
XT_OUTOscillator outputOutput–OSC
SCKSPI clockI/O–PIO-controlled after reset
SPI
MOSIMaster out slave in I/O–PIO-controlled after reset
MISOMaster in slave outI/O–PIO-controlled after reset
NPCS0-3Slave select I/OLowPIO-controlled after reset
WD NWD_OVFWatchdog timer overflow I/O–PIO-controlled after reset
PIO PDSR0-31Programmable I/O port I/O–Input after reset
TypeActive LevelComment
PIO Bank APIO Bank B
IOIO
4574CS–GPS–05/05
7
Table 1-2.Pin Description (Continued)
Module Name
GPSMODE0-12GPS mode I/O–PIO-controlled after reset
SIGHI–Input––
SIGLO–Input––
GPS
JTAG/
ICE
CLOCK
RESETnResetReset inputInputLow–
POWER
LDOBAT
LDO
TEST
SIGHI2–Input––
SIGLO2–Input––
1PPS–Output––
MSOUT–Output––
GPS_MON0-11GPS monitorI/O––
TMSTest mode select Input–Pull down
TDITest data inInput–Pull down
TDOTest data outOutput––
TCKTest clockInput–Pull down
NTRSTTest reset inputInputLowPull down
DBG_ENDebug enable Input–Pull down
CLK23Clock inputInput–Schmitt trigger
MCLK_OUTMaster clock outputOutput––
VDD18–Power––
GND–Power––
VBAT18_I–IN Power –Backup power In
LDOBAT_IN –Power––
VBAT–Power––
VBAT18_O–Out–Backup power out
LDO_IN LDO inPower––
LDO_OUT LDO outPower––
LDO_ENLDO enable Input––
TEST_MODETest mode select Input–Production test
POR_VEXTTest inputInput–For POR18 test
TMON0-26Test monitor outputOutput–Debug package
TOUT1/APB_Select Test outputOutput––
Function
TypeActive LevelComment
8
ATR0620 [Preliminary]
4574CS–GPS–05/05
2.Architecture Overview
The ATR0620 architecture consists of two main buses, the Advanced System Bus (ASB) and
the Advanced Peripheral Bus (APB). The ASB is designed for maximum performance. It interfaces the processor with the on-chip 32-bit memories and the external memories and devices by
means of the External Bus Interface (EBI). The APB is designed for accesses to on-chip peripherals and is optimized for low power consumption. The AMBA bridge provides an interface
between the ASB and the APB.
An on-chip Peripheral Data Controller (PDC2) transfers data between the on-chip USARTs/SPI
and the on- and off-chip memories without processor intervention. Most importantly, the PDC2
removes the processor interrupt handling overhead and significantly reduces the number of
clock cycles required for a data transfer. It can transfer up to 64 K continuous bytes without
reprogramming the starting address. As a result, the performance of the microcontroller is
increased and the power consumption reduced.
The ATR0620 peripherals are designed to be easily programmable with a minimum number of
instructions. Each peripheral has a 16-Kbyte address space allocated in the upper 3 M bytes of
the 4-GB address space. Except for the interrupt controller, the peripheral base address is the
lowest address of its memory space. The peripheral register set is composed of control, mode,
data, status and interrupt registers.
To maximize the efficiency of bit manipulation, frequently-written registers are mapped into three
memory locations. The first address is used to set the individual register bits, the second resets
the bits and the third address reads the value stored in the register. A bit can be set or reset by
writing a one to the corresponding position at the appropriate address. Writing a zero has no
effect. Individual bits can thus be modified without having to use costly read-modify-write and
complex bit-manipulation instructions.
ATR0620 [Preliminary]
3.PDC2
All of the external signals of the on-chip peripherals are under the control of the parallel I/O controller. The PIO2 controller can be programmed to insert an input filter on each pin or generate
an interrupt on a signal change. After reset, the user must carefully program the PIO2 controller
in order to define which peripheral signals are connected with off-chip logic.
The ARM7TDMI processor operates in little-endian mode in the ATR0620 GPS baseband. The
processor’s internal architecture and the ARM and Thumb instruction sets are described in the
ARM7TDMI data sheet. The memory map and the on-chip peripherals are described in detail in
the ATR0620 data sheet. The electrical and mechanical characteristics are also documented in
the ATR0620 data sheet.
The ARM standard In-Circuit Emulation (ICE) debug interface is supported via the ICE port of
the ATR0620.
The ATR0620 has an 8-channel PDC2 dedicated to the three on-chip USARTs and to the SPI.
One PDC2 channel is connected to the receiving channel and one to the transmitting channel of
each peripheral.
The user interface of a PDC2 channel is integrated in the memory space of each USART channel and in the memory space of the SPI. It contains a 32-bit address pointer register and a 16-bit
count register. When the programmed data is transferred, an end-of-transfer interrupt is generated by the corresponding peripheral. See the USART section and the SPI section for more
details on PDC2 operation and programming.
4574CS–GPS–05/05
9
4.EBI: External Bus Interface
The EBI generates the signals that control the access to the external memory or peripheral
devices. The EBI is fully programmable and can address up to 64 bytes. It has four chip selects
and a 20-bit address bus.
The 16-bit data bus can be configured to interface with 8- or 16-bit external devices. Separate
read and write control signals allow for direct memory and peripheral interfacing. The EBI supports different access protocols, allowing single clock cycle memory accesses.
The main features are:
• External memory mapping
• 4 active low chip select lines
• 8- or 16-bit data bus
• Byte write or byte select lines
• User interface for remap function of boot memory
• Two different read protocols
• Programmable wait state generation
• Programmable data float time
• Programmable write protection for each memory bank
5.AIC: Advanced Interrupt Controller
The ATR0620 has an 8-level priority, individually maskable, vectored interrupt controller. This
feature substantially reduces the software and real time overhead in handling internal and external interrupts.
The interrupt controller is connected to the NFIQ (fast interrupt request) and the NIRQ (standard
interrupt request) inputs of the ARM7TDMI processor. The processor’s NFIQ line can only be
asserted by the external fast interrupt request input: FIQ. The NIRQ line can be asserted by the
interrupts generated by the on-chip peripherals and the external interrupt request lines: IRQ0 to
IRQ3.
An 8-level priority encoder allows the customer to define the priority between the different NIRQ
interrupt sources. Internal sources are programmed to be level sensitive or edge triggered.
External sources can be programmed to be positive or negative edge triggered or high- or lowlevel sensitive.
6.PIO2: Parallel I/O Controller
The ATR0620 features 32 programmable I/O lines. The I/O lines are multiplexed with on-chip
peripheral I/O signals in order to optimize the use of available package pins. The PIO2 controller
provides an internal interrupt signal to the Advanced Interrupt Controller (AIC).
The ATR0620 provides three identical, full-duplex, universal synchronous/asynchronous
receiver/transmitters that interface to the APB and are connected to the peripheral data
controller.
The main features are:
• Programmable baud rate generator
• Parity, framing and overrun error detection
• Line break generation and the detection
• Automatic echo, local loopback and remote loopback channel modes
• Multi-drop mode: address detection and generation
• Interrupt generation
• Two dedicated peripheral data controller channels
• 5-, 6-, 7-, 8-, and 9-bit character length
• Protocol ISO 7816 T = 0 and T = 1
8.SPI: Serial Peripheral Interface
The ATR0620 features an SPI, which provides communication with external devices in master or
slave mode. The SPI has four external chip selects that can be connected to up to 15 devices.
The data length is programmable from 8- to 16-bit. The PDC is used to move data directly
between memory and SPI without CPU intervention for maximum real-time processing
throughput.
9.WD: Watchdog Timer
The ATR0620 features an internal watchdog timer, which can be used to guard against system
lock-up if the software becomes trapped in a deadlock. The watchdog timer can be programmed
to generate an interrupt or an internal reset.
10. PMC: Power Manager Controller
The power management controller allows optimization of power consumption. The PMC
enables/disables the clock inputs to most of the peripherals as well as to the ARM processor.
When the ARM clock is disabled, the current instruction is processed before the clock is
stopped. The clock can be re-enabled by any enabled interrupt or by a hardware reset. When a
peripheral clock is disabled, the clock is immediately stopped. When the clock is re-enabled the
peripheral resumes action where it left off.
Due to the static nature of the design, the contents of the on-chip RAM and registers for which
the clocks are disabled remain unchanged.
11. CLM: Clock Manager
In addition to the Power Management Controller (PMC) the Clock Manager (CLM) is another
possibility to reduce power consumption. The clock manager provides fixed divided clocks for
the USARTs, SPI and watchdog timer and generates the master clock which can be divided.
The master clock is programmable for frequencies between 175 kHz and 23.1 MHz.
4574CS–GPS–05/05
11
12. SF: Special Function
The ATR0620 provides registers that implement the following special functions:
• Chip identification
• RESET status
13. PWM
The PWM includes two PWM channels. They can be programmed separately. It is possible to
generate an output voltage range from 0 to (255/256) × VDD18.
14. RTC
The RTC provides the time in GPS format. The structure of the GPS system time: zero point is
midnight Universal Time (UT) 5
and the 15-bit fractional part of a second are counted. Each week has 604800 seconds (GPS
system time does not count leap seconds. Therefore, compared to UT, the GPS time is shifted
some seconds).
Additional the RTC provides a programmable interrupt (maximum period: one week).
15. GPS Correlator
The GPS correlator incorporates 16 GPS channels and provides all the functionality required for
sampling, down-converting and correlating GPS signals.
th/6th
of January 1980. From the zero point weeks, time of week
The GPS correlator processes GPS signal data to acquire the GPS satellite signals using a
model of the satellite codes and multiply/accumulate circuits (correlators) to spread the signal to
a bandwidth low enough to detect it above thermal noise.
16. GPS Accelerator
The ATR0620 features an accelerator which reduces the time to identify the correct GPS signal.
12
ATR0620 [Preliminary]
4574CS–GPS–05/05
ATR0620 [Preliminary]
17. Ordering Information
Extended Type NumberPackageRemarks
ATR0620-100CTBGA1009 mm × 9 mm, 0.80 mm pitch
ATR0620-144CPGA144Debug package
18. Package Outline CTBGA100
TOP VIEWSIDE VIEW
1.10 ± 0.10
9.00 ± 0.05
9.00 ± 0.05
0.30 ± 0.05
0.40 Dia. TYP
0.60 ± 0.05
0.80 ± 0.050.90 ± 0.05
10
BOTTOM VIEW
A1 BALL PAD CORNER
0.90 ± 0.05
231564897
A
B
C
D
E
F
G
H
J
K
0.80 ± 0.05
4574CS–GPS–05/05
13
19. Package CPGA144
TOP VIEW
1.575 ± 0.16
1.575 ± 0.16
BOTTOM VIEW
1.400 ± 0.012
0.100 TYP
SIDE VIEW
0.090 ± 0.009
0.018 ± 0.002
A
B
C
D
E
F
G
H
J
K
L
M
N
P
R
123456789101112131415
14
ATR0620 [Preliminary]
4574CS–GPS–05/05
Atmel CorporationAtmel Operations
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Regional Headquarters
Europe
Atmel Sarl
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
Tel: (41) 26-426-5555
Fax: (41) 26-426-5500
Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369
Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
Memory
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
Microcontrollers
2325 Orchard Parkway
San Jose, CA 95131, USA
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
La Chantrerie
BP 70602
44306 Nantes Cedex 3, France
Tel: (33) 2-40-18-18-18
Fax: (33) 2-40-18-19-60
ASIC/ASSP/Smart Cards
Zone Industrielle
13106 Rousset Cedex, France
Tel: (33) 4-42-53-60-00
Fax: (33) 4-42-53-60-01
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Scottish Enterprise Technology Park
Maxwell Building
East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
Tel: (33) 4-76-58-30-00
Fax: (33) 4-76-58-34-80
Literature Requests
www.atmel.com/literature
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-
TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT
OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications
and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Atmel’s products are not
intended, authorized, or warranted for use as components in applications intended to support or sustain life.