Atmel Apps Journal 6
Atmel Apps Journal 6
Atmel Apps Journal 6
R
Everywhere You Are
In This Issue:
Using ARM Core- based Flash
MCUs as a Platform for Custom
Systems- on- Chip
The Explosive World of Serial Flash
Networked Networks and
Embedded Microcontroller
Architectures
Polybot Board: A Robot
Controller Board Using the Atmel
ATMega32
Integration and Low Current
Consumption: A Reality Today for
License- free Wireless Applications
SiGe BiCMOS or RF CMOS for
Your Next Wireless Application?
Lighting: Ballast Controller
Combined with RISC Processor
Yields an Efficient Lamp
Automotive Bus Systems
Atmels Complete Chipset for
DAB Reception in Automotive
Environments
Areascan Cameras: How to
Choose Between Global and
Rolling Shutter
Simple VGA/ Video Adapter Using
the Atmel AVR
A 10- bit 2.2 Gsps ADC Operating
Over First and Second Nyquist Zones
Graham Turner, Vi ce Presi dent
and General Manager,
Mi crocont rol l ers Busi ness Uni t ,
At mel
www. at mel. com
page 1
Int roduct ion
Welcome to Atmel Applications Journal Volume 6.
I would like to thank all of you for your dedication to the AVR microcontroller family. 2005 has been anoth-
er great year for us and the AVR product family has enjoyed high double- digit growth, both in revenue and
units shipped. Design wins continue to go from strength to strength and we are all very excited about our
prospects for 2006.
In 2006 we will celebrate the 10th anniversary of the AVR. It all started in 1996 in Norway and with the
continuous efforts of everyone who has joined the team, we have grown the AVR to be the most exciting
8- bit microcontroller family in the market place.
In 2005 we increased the family of products by 24 to over 50. We entered the automotive market with the
AVR and already have received great customer acceptance for these products. We have also introduced
products for motor control applications and are able to offer solutions for the PC fan market below 50
cents. The TinyAVR family has been expanded with several new parts including 14- pin devices, and final-
ly, we have introduced many parts with increased pin counts and larger memories.
Looking forward to 2006, we have many exciting new products to announce. The first of which is as a result
of our considerable R&D efforts to set new standards in the power consumption of our microcontrollers.
We will launch a new range of ultra low power products which will significantly extend the lifetime of the
battery in the system. This new development combined with the efficiency of our AVR core will allow us to
continue as the leader in the 8- bit microcontroller market.
Along with our great products we have continued our advances in software tools and hardware develop-
ment systems. There are hundreds of thousands of AVR Studio users out there who will continue to bene-
fit from our high quality, low- cost tools. The latest AVR Studio version has enabled third party suppliers to
plug their software directly into it for complete integration, which will allow for increases in functionality in
debug software and hardware designs. Our continued focus on the AVR Studio, combined with our low-
cost starter kits and emulators will ensure that we have the best offering in the market.
In 2006 we will further develop our plan to reduce our lead- times for these popular products so that our
customers can get their hands on the AVR quicker than before.
I would like to thank you all for your continued support of the AVR products. We will continue to bring you
the products that you need to develop your own exciting and world- beating products.
www. at mel. com
page 2
A T M E L A P P L I C A T I O N S Number 6 Winter 2006
T A B L E O F C O N T E N T S
Introduction Graham Turner, At mel
Automotive Bus Systems
by Markus Schmid, At mel
The Explosive World of
Serial Flash
by Richard De Caro, At mel
Using ARMCore-based Flash
MCUs as a Platformfor Custom
Systems-on-Chip
by Pet er Bishop, At mel
Atmel News New Product Releases
page 37
R
page 10
Integration and LowCurrent
Consumption: A Reality Today for
License-free Wireless Applications
by Eric Mercier, At mel
Networked Networks and
Embedded Microcontroller
Architectures
by Jacko Wilbrink, Dany Nat ivel and
Tim Morin, At mel
Lighting: Ballast Controller
Combined with RISCProcessor
Yields an Efficient Lamp
by Jean-Florent Helie, Elect ronique Magazine
SiGe BiCMOSor RF CMOSfor
Your Next Wireless Application?
by David Hess, At mel
1
3
8
13
16
20
22
25
27
29
33
37
40
46
Areascan Cameras: Howto
Choose Between Global and
Rolling Shutter
by Jacques Lecont e, At mel
A 10-bit 2.2 Gsps ADCOperating
Over First and Second Nyquist Zones
by Francois Bore, Sandrine Bruel and Marc Wingender
Everywhere You Are
page 32
page 41
Polybot Board: A Robot
Controller Board Using the Atmel
ATMega32
by Dr. John Seng, Cal Poly St at e Universit y
Simple VGA/ Video Adapter
Using the Atmel AVR
by Ibragimov Maksim, Developer, Russia
page 20
Atmels Complete Chipset for
DABReception in Automotive
Environments
by Dr. Mart in Alles, At mel
www. at mel. com
page 3
BCDMOS Fail-saf e Syst em I C, ATA6814,
Designed f or Saf et y-crit ical
Aut omot ive Applicat ions
Atmel has released a new monolithically integrated
fail- safe system IC, the ATA6814, manufactured
using Atmel' s state- of- the- art 0.8- m BCDMOS
technology. With its built- in driver functions and
complete monitoring system, the ATA6814 is a
unique solution beneficial for all safety- relevant
automotive electronics, such as DC motor controls
that can be found in electric parking brake systems,
power steering, chassis and powertrains. The
ATA6814 combines various functions into one sin-
gle IC, an improvement over competing solutions
requiring the addition of several standard compo-
nents such as stand- alone voltage regulators and
watchdogs. This leads to significant board space
reduction and smaller, more cost- efficient designs.
The ATA6814 is ideally suited to safety- critical auto-
motive applications, since the watchdog is com-
pletely separate from the system microcontroller
and operates with its own dedicated oscillator,
which in turn is monitored by a second oscillator.
The fail- safe system IC ATA6814 is highly integrat-
ed, including voltage regulators, driver stages, an
SPI interface, as well as watchdog and monitoring
functional blocks. Two separate voltage regulators
and band gaps enable high flexibility, while still
maintaining a high safety level, thanks to the mutu-
al monitoring. Power consumption reduction down
At mel News: More informat ion on t he product s and services in t hese art icles can be found at www.at mel.com
to 80 uA in standby mode is achieved since one of
the voltage regulators can be switched off. The fully
integrated, 250 mA low- side relay drivers do not
need any additional external circuitry and thus help
to further save cost and space on the PC board.
The independent watchdog circuitry the heart of
the fail- safe concept monitors the microcon-
troller' s operation. In addition, the monitoring func-
tion covers the battery voltage, all internally gener-
ated voltages, and the chip temperature in two
stages, and it can disable the different IC blocks.
Samples of the new fail- safe system IC ATA6814 in
RoHS- compatible QFN48 (7 mm x 7 mm) packages
are available now. Pricing starts at US $2.70 (10 k)
Product information on Atmel' s new BCDMOS Fail-
safe System IC ATA6814 may be retrieved at:
http:/ / www.atmel.com/ dyn/ products/ product_card.
asp?part_id= 3770
BCDMOS = Mixed- signal technology with Bipolar, CMOS and
DMOS components
DC = Direct Current
PC board = Printed Circuit board
SPI = Serial Peripheral Interface
RoHS = Restriction of the Use of Certain Hazardous Substances
I ndust rys First Mult iple
Smart Card Reader
I nt erf ace I C f or POS
and Healt h Card Reader
The AT83C26 is the industrys first multiple analog
smart card interface which can physically handle up to
5 smart cards. It powers the smart cards with the
appropriate supply voltage and enables data transfer
between the host controller and the smart cards.
System designers can use a single chip to develop
readers requiring multiple cards, thus reducing system
size and cost. The AT83C26 is the ideal solution for
Point of Sales (POS) Terminals that typically involve one
user card and up to 4 SAM cards, and Health Card
Readers that require 2 user cards and 1 SAM card.
The device can interface with any host controller fea-
turing an ISO7816 UART such as Atmels ARM7, ARM9
and ARM SecurCore (AT91SO100) devices.
Featuring two DC/ DC converters and low drop out reg-
ulators to power independently each smart card, the
AT83C26 is compliant with the EMV and ISO7816
standards.
It is clear that the need to handle multiple smart cards
during various forms of secure transaction will become
the norm in the future and the AT83C26 has already
been adopted by a major POS manufacturer for its new
applications, said Manish Vadher, Marketing Director
for Microcontroller products with Atmel.
Samples are available now in VQFP48 and QFN48
packages. Full production will start in January 2006
with pricing starting at $1.95 each for 10K units.
Atmel' s AT83C26 product information may be retrieved
at: http:/ / www.atmel.com/ dyn/ products/ product_card.
asp?PN= AT83C26
www. at mel. com
page 4
Highly I nt egrat ed RoHS-compliant SiGe Front -end I C
f or Privat e Mobile Radios (PMR)
A new Silicon Germanium (SiGe) based front- end IC,
ATR0981, from Atmel, makes the new device easy to
use, highly efficient, and extremely flexible The use of
SiGe technology, the simple yet flexible application cir-
cuit, and the devices wide operating frequency range
(300 MHz to 500 MHz) make possible a broad range of
applications, from hand- held family radios (private
mobile radios, PMR) to meter readers. It is easy to
design applications with low external component
counts using this front- end device because of its high
level of integration, including a very efficient power
amplifier (PA) and a low- noise amplifier (LNA) for the
receive path.
In contrast to most competitors family- radio front- end
solutions, which are designed as discrete solutions, this
device is an integrated circuit manufactured using
Atmels innovative Silicon Germanium (SiGe) technolo-
gy, providing many advantages over discrete or non-
SiGe solutions. SiGe ensures high reliability and robust-
ness due to low temperature dependency; plus, the
cost savings of using the ATR0981 IC go beyond sim-
ply the component cost lower component count also
equals decreased design effort, failure risk and assem-
bly cost.
What is more, SiGe offers increased efficiency the
PAE value is as high as 55%, typically, helping to
ensure the low current consumption of the PA. The
overall current consumption can be reduced even fur-
ther by shutting down the PA, providing extended bat-
tery life. The output power can reach 29 dBm and the
PA has a power gain of 34 dB, controllable within a
range of 3 dB. ATR0981s LNA offers excellent noise
performance, with a noise figure of 1.5 dB and a power
gain of 19 dB. Samples of the ATR0981 are available
now in PSSO20 packages, which are both Pb- free and
green. Atmel is the one of very few suppliers offering
this type of product as an RoHS- compliant device.
Pricing for the ATR0981 starts at 1.20 US$ in quanti-
ties of 10k.
Atmels front- end IC ATR0981 product information may
be retrieved at: http:/ / www.atmel.com/ dyn/ products/
product_card.asp?part_id= 3765
LNA = Low Noise Amplifier
PA = Power Amplifier
PAE = Power Added Efficiency
PMR = Private Mobile Radio
RoHS = Restriction of the Use of Certain Hazardous Substances
SiGe = Silicon Germanium
At mel' s FingerChip Feat ured in FingerGear' s
Comput er-On-a-St ick Biomet ric Edit ion
Atmel, and FingerGear, the consumer products divi-
sion of biometrics leader Bionopoly LLC, announced
today the release of its groundbreaking Bio
Computer- On- a- Stick USB Flash Drive now with
fingerprint security. The Computer- On- a- Stick is the
world' s first bootable USB flash drive. The OS and all
Desktop Software applications come preinstalled
and occupy as little as 200Mb of flash memory. The
device also features Atmel' s FingerChip
sensor for
convenient and accurate one- swipe secure data
access, and a large font LCD display for the ultimate
user- friendly experience.
The FingerGear Computer- On- a- Stick also includes
an Office Productivity Suite, along with many of the
most commonly used home and office applications.
The Office Suite, developed by OpenOffice.org, is
compatible with Microsoft Office applications,
including Word , Excel
, PowerPoint
, and
Outlook
web browser,
now at a 25% market share*, as well as a PDF
Creator, a zip compression utility, and an Instant
Messenger which communicates with Yahoo
IM,
MSN
, among others.
The Bio Computer- On- a- Stick includes a USB 2.0
extension cable, a neck lanyard, and a mini boot CD.
The device is bootable from any PC using an x86
processor, which can be found on nearly every
Windows and Linux desktop shipped over the past 5
years. Recent PCs allow the user to configure their
system to boot directly from a USB Flash Drive with-
out the need for a CD. The Computer- On- a- Stick
Standard and Biometric Editions are currently in
stock and shipping now. The Computer- On- a- Stick
pricing starts at only $99, and the Biometric Edition
starts at $149.
The USB standard has experienced one of the
fastest adoption rates in the history of consumer
electronics, said Bionopoly C.E.O. Jon Louis, The
next wave of USB devices, led by FingerGear, now
allows you to carry not only your files, but also your
entire Desktop Software Environment as well, essen-
tially replacing your hard drive. The Computer- On- a-
Stick, and now the Biometric edition, offer the ulti-
mate combination of desktop portability and
advanced security.
For further information on Atmel' s FingerChip
, go
to: http:/ / www.atmel.com/ products/ Biometrics/ .
*According to W3Schools.com.
www. at mel. com
page 5
Cont act less Credit Card Market s Target ed
wit h SecureAVR C
Atmels secureAVR 8- / 16- bit RISC microcontroller
provides 16- bit CPU performance while offering
state of the art security features. It is now available
as a contactless only product, optimizing perform-
ance with smaller die size for price sensitive con-
tactless applications. These features include
DFA/ DPA/ SPA resistant, DES/ TDES processor, true
RNG (Random Number Generator), firewalls, and
environmental protections. The AT90SC6404RFT,
comprising of 64K ROM, 4K EEPROM and 1.2K RAM
is a derivative of the popular AT90SC12872RCFT
dual- interface chip targeted at e- Passport and ID
applications, but having only a single RF ISO- 14443
contactless interface. It is ideally suited to the
emerging USA Contactless Card Payment market
based on the standard Credit/ Debit magnetic stripe
profile offerings from American Express
(ExpressPay) , MasterCard
.
The ROM/ EEPROM mem-
ory sizes provide sufficient
capacity to allow addition-
al applications, such as
Loyalty or Mass Transit or
alternatively as a Physical
or Logical Access contact-
less card.
Ian Duthie, Atmels Smart
Card IC Marketing
Manager, commented
The success of our first
PayPass product, which
established Atmel as a
leading IC vendor in the
USA Contactless Card
Payment market, convinced us of the potential
growth and need for further product development to
serve the USA payment industry. The customer inter-
est in the AT90SC6404RFT bears this out; we are
sampling now and planning volume production
capability for 1Q 2006. Preliminary estimates from
our customers indicate that the USA Contactless
Card Payment market will grow from several million
cards this year to 25M+ next year and 40M+ by end
2007.
For further information on Atmels secureAVR
family: http:/ / www.atmel.com/ products/ Secure AVR
At mel Achieves Higher Resolut ions wit h
2.5M Pixel CMOS I ndust rial Camera
Atmel has announced the introduction of a new mem-
ber of the ATMOS area scan CMOS camera family
dedicated to industrial machine- vision applications.
The additional members ATMOS 2M30 and ATMOS
2M60 are fast CMOS area scan cameras able to work
in 8, 10 or 12 bits that offers an excellent dynamic
range. Specific CommCam software, also developed by
Atmel, renders camera configuration easy.
ATMOS 2M30 and 2M60 are composed of a 2.5 mil-
lion pixels CMOS sensor featuring high sensitivity and
high quality even at maximal speed. The region of
interest (R.O.I.) allows the end- user to implement infi-
nite resolutions and to increase frame rate such as: 48
fps full resolution at 2.5M pixels, 60 fps at 2M pixels
and 160 fps in VGA format (640X480 pixels) for the
2M60 model (half- speed for the 2M30). Furthermore,
the ATMOS 2M30 and ATMOS 2M60 cameras com-
prises an electronic shutter and Camera Link
inter-
face suitable for those wanting to upgrade from analog
to digital modes while offering cost effective solutions.
The two ATMOS cameras are delivered in a 44 mm
square section design with a C- mount adapter, among
the smallest in the market. The performance, versatili-
ty and adaptability of the compact mechanical body
give OEM and integrators an optimum solution to space
saving in systems. It also allows an implementation into
multiple configurations. The camera can be uploaded
remotely.
With these new members, ATMOS camera family
offers an exciting alternative to CCD base cameras,
said Christophe Robinet, Camera Marketing Manager
of Atmels Professional Imaging. These cameras allow
for customized solutions on request.
The ATMOS 2M30 and 2M60 cameras are at sample
stage now and will enter their production phase in April
2006. Pricing starts at $2500 and $3000 respectively
for a quantity of 100 pieces.
Atmels product ATMOS 2M30 may be retrieved at:
http:/ / atmel.com/ dyn/ products/ product_card.asp?part
_id= 3802
Atmels product ATMOS 2M60 may be retrieved at:
http:/ / atmel.com/ dyn/ products/ product_card.asp?part
_id= 3803
For further information on Atmels Camera products, go
to: http:/ / atmel.com/ products/ Cameras/
www. at mel. com
page 6
New Generat ion of Secure Microcont rollers Released f or Trust ed
Elect ronic Transact ion Terminals
The AT91SO100, a new high- end 32- bit secure
microcontroller for electronic transaction terminals
improves security and level of integration for POS,
PINPads and health card reader applications.
Based on the ARM
line of
microcontrollers. The AVR features an award winning
RISC- based processor core and is the worlds highest
performance, low power 8- bit Flash memory micro-
controller.
With help from Avnet and Atmel, we brought engi-
neering in- house and now we control our own design
destiny, says Andy Tong, Battery Tech, vice president
of research and development.
The collaborative group effort also resulted in a design
that uses fewer components, has a smaller form fac-
tor, and features improved performance. We created a
total team effort between Atmel, Avnet and Battery
Tech, says Andy Barbosa, Avnet account manager.
Rodney McCray, Atmels field application engineer,
added, All of this was done to make Battery Tech more
competitive. We looked at everything to help them
become more competitive from performance and
power consumption to cost and flexibility.
Tapping Avnets supply chain expertise, Battery Tech
was also able to speed the products time- to- market.
By using Avnets Point of Use Replenishment System
(POURS), Battery Tech is assured of the right amount of
inventory at exactly the time its needed on the pro-
duction floor. Today, Battery Tech has plans to migrate
additional products to the same microcontroller plat-
form, and it continues to rely on its relationship with
Avnet and Atmel in bringing new products to life.
STAFF BOX
Publisher:
Glenn ImObersteg
Gl enn@convergencepromoti ons.com
Technical Editor:
Markus Levy
Markus@convergencepromoti ons.com
Sales Manager:
Mike Miller
Mi ke@convergencepromoti ons.com
Production Manager:
Dave Ramos
dbyd@garl i c.com
Thi s i ssue of the Atmel Appl i cati ons Journal i s publ i shed by
Convergence Promoti ons. No porti on of thi s publ i cati on may be
reproduced i n part or i n whol e wi thout express permi ssi on, i n wri t-
i ng, from the publ i sher. The contents of thi s publ i cati on are
Copyri ght Atmel Corporati on 2006. Al l ri ghts reserved. Atmel
,
l ogo and combi nati ons thereof are regi stered trademarks, and
Everywhere You Are i s the trademark of Atmel Corporati on or i ts
subsi di ari es. Other terms and product names may be trademarks of
others. Al l product names, speci fi cati ons, pri ces and other i nforma-
ti on are subj ect to change wi thout noti ce. The publ i sher takes no
responsi bi l i ty for fal se or mi sl eadi ng i nformati on or errors or omi s-
si ons. Any comments may be addressed to the publ i sher, Gl enn
ImObersteg at gl enn@convergencepromoti ons.com,
or +1 (925) 516- 6227.
At mel' s New 200 MI PS ARM9 MCU Draws Only 2.5 A St andby, and
350 A/ MHz at Maximum Perf ormance
Atmel has announced the industrys first ultra low-
power, deterministic microcontroller, the AT91SAM
9261 Smart ARM Microcontroller (SAM), based on
the ARM926EJ- S processor.
Targeted at low power, high throughput wireless
handheld applications, such as wireless PoS devices,
the AT91SAM9261 consumes only 2.5 A
in standby mode. Operating
at 500 Hz it draws 400
A. In industrial temper-
ature range, its current
consumption at 200 MIPS
with all peripherals turned
on is just 65 mA. The
AT91SAM9261' s through-
put and its extended instruction set with DSP exten-
sions allow complex DSP functions, such as biomet-
rics, voice recognition, software modems, or encryp-
tion/ decryption algorithms like RSA, to be executed
very quickly in burst mode, so the system can be shut
down much of the time.
In a typical PoS application with a four- hour battery
life, such as a rental car- return processing module,
these new MCUs can extend battery life by as much
as a factor of 4 to 16 hours.
Packaging and Availability: The AT91SAM9261 is
available now in a 217- ball LFBGA RoHS- compliant
package and is priced at sub $10 in high volume.
Atmels AT91SAM9261 product information is avail-
able at http:/ / www.atmel.com/ products/ AT91/ or by
email from at91support@atmel.com.
At mel I nt roduces First Power Management I C
f or Handset Add-on Modules
Add- on modules are a key factor in the marketing
strategy of handset manufacturers. Mobile phones,
music players, digital still cameras, PDAs and multi-
media devices can add GSM/ GPRS, 3G, WLAN,
Bluetooth
processor
ends up becoming a dedicated encryption processor,
limiting its ability to do anything else.
Clearly, the optimal solution is to embed the encryption
engine directly on the processor itself. This solution not
only speeds up encryption. It also frees up the CPU to
do its embedded control job. For example the embed-
ded encryption engine on Atmels SAM7X executes
AES encryption at 20 Mbps, DES at 11.2 Mbps and
Embedded
ICE
ARM7TDMI
Core
Memory
Controller
32bitFlash
128K- 256KB
32bitSRAM
32K- 64KB
ASB
APB
POR/
BOD
1.8V
LDO
SPI SPI TWI Debug
UART
USART USART
USB
Device
SSC CAN Ethernet
MAC
10/100
AES
3DES
AIC
Timer
x3
PWM
x4
PIO
10-bit
ADC
x8
SAM-BA FFPI
XTAL
OSC
RC
OSC
PLL WDT
PMC
RTT
PIT
Peripheral
DMA
Controller
AT91SAM7X
AMBA Bridge
1
Refer to the NIST Special Publication 800-38A Recommendation for more complete information.
Fi gure 2: SAM7X Bl ock Di agram
that directly transfers data between the peripherals
and the chips internal and external memories. Most
SAM7X peripherals have two dedicated PDC channels,
one each for receiving and transmitting data. The user
interface of a PDC channel is integrated in the memo-
ry space of each peripheral, and contains a 32- bit
memory pointer register, a 16- bit transfer count regis-
ter, a 32- bit register for next memory pointer, and a
16- bit register for next transfer count. The peripherals
trigger PDC transfers using transmit and receive sig-
nals. When the first programmed data block is trans-
ferred, an end- of- transfer interrupt is generated by the
corresponding peripheral. The second block data
transfer is started automatically and the processing of
the first block can be
performed in parallel
by the ARM proces-
sor, thereby remov-
ing heavy real- time
interrupt constraints
to updating the DMA
memory pointers on
the processor, and
sustaining high-
speed data transfers
on any peripheral.
It is possible, at any
moment, to read the
location in memory
of the next transfer
and the number of
remaining transfers.
The PDC has dedicated status registers which indicate
if the transfer is enabled or disabled for each channel.
When the peripheral receives an external character, it
sends a Receive Ready signal to the PDC which then
requests access to the system bus. When access is
granted, the PDC starts a read of the peripheral
Receive Holding Register (RHR) and then triggers a
write in the memory. After each transfer, the relevant
PDC memory pointer is incremented and the number
of transfers left is decremented. When the memory
block size is reached, the next block transfer is auto-
matically started or a signal is sent to the
peripheral and the transfer stops. The same
procedure is followed, in reverse, for trans-
mit transfers.
If simultaneous requests of the same type
(receiver or transmitter) occur on identical
peripherals, the priority is determined by
the numbering of the peripherals. If transfer
requests are not simultaneous, they are
treated in the order they occurred.
Requests from the receivers are handled
first and then followed by transmitter
requests.
To ensure that the DMA transfers operate
continuously, at speed, the PDC is config-
www. at mel. com
page 18
triple DES at 12.8 Mbps, pretty much independently of
the CPU, while leaving 99% of the processors
resources free for other things.
Moving the Data Around.
Embedded MCU applications linked to a network must
be able to deal with both communications and control
chores and give the programmer as much control as
possible over those operations. They also must be able
to provide seamless and endless transmission between
memory and the peripheral devices with no interrup-
tions. You don t want a transmission counter to expire.
Direct the processor to do something else while it
resends and then comes back to the stack.
DMA is not native to the ARM7TDMI
processor. The
CPU itself transfers data one byte at a time. Thus, data
rates can be very slow and they consume processing
resources that are needed for the embedded control
function. This is fine, as long as the quantity of data
being transferred is relatively small. However, as data
rates exceed one million bits per second (Mbps), even
fast processors start to bog down. For example, at 50
MHz, a one Mbps data transfer uses 28% of an
ARM7TDMI processor resources. A 2 Mbps data trans-
fer uses more than half the ARM7 processor
resources, and at 4 Mbps, the processor is not avail-
able for any other activity.
When you consider that the data rate for full speed
USB 2.0 is 12 Mbps, the CAN data rate is 1 Mbps,
Ethernet at 100 Mbps and SAM7 SPI and USART
peripherals can run at 25 Mbps, it becomes quite clear
that the issue of data transfer must be dealt with in any
extensively connected embedded control system. In
applications where there is a lot of data to move
around, can the microcontroller act as both a gateway
AND a controller?
Atmel has augmented the ARM7 Family processor
architecture with a peripheral DMA controller (PDC)
Peripheral Peripheral DMA Controller
THR
RHR
Control
PDC Channel 0
PDC Channel 1
Status & Control
Control
Memory
Controller
Fi gure 3: PDC
ured so that when one counter expires, the PDC down-
loads the next counter into the current register, gener-
ates an interrupt and updates the next counter. One
counter- register set is used for the initial transfer and
the other set for the next transfer, allowing the pro-
grammer to ping pong the DMA count and simulate an
endless DMA transfer of data to the peripherals with-
out interruption.
Unlike traditional DMA structures, PDC transfers are
not measured in terms of 8- , 16- , 32- bits or bytes,
words or halfwords. The transfer counter transfers
cycles over a 32- bit bus, with the PDC defining
whether the transfer is byte, word or halfword. If the
peripheral is programmed to transfer eight bit data, the
PDC can transfer 64 kbytes of data per block transfer.
If programmed for 16- bit transfers, it moves 128
kbytes of data per block transfer. If programmed for
32- bit data, it transfers, four times as much or 256
kbytes per block transfer. This gives the programmer
considerable leeway over the DMA transfer character-
istics.
To simplify programming, the PDC programming struc-
tures are embedded into each supported peripheral
device. The register and counter locations are in the
peripheral control map so the programmer sees a list
of registers and pointers: addresses and counts for the
current and next counter and a controller register to
enable or disable it.
The PDC avoids processor intervention and removes
the processor interrupt- handling overhead, thereby
significantly reducing the number of clock cycles
required for a data transfer and freeing up the MCU to
do its embedded control job. The DMA schemes in the
SAM7X architecture enable it to simultaneously serve
as both a gateway AND a controller, even at high data
rates. When transferring just 4 Mbps, a conventional
ARM7TDMI processor effectively ties up all its pro-
cessing resources. In contrast, Atmel SAM7X proces-
sor uses only 2% of its processing capacity to transfer
4 Mbps. The device easily supports 25 Mbps SPI or
TWI transfers, and still has 96% of it resources avail-
able to execute embedded control functions.
Fi gure 4: TX Rat e Tabl e
www. at mel. com
page 19
Encryption and the Peripheral Data Controller
Any embedded control system that needs an Ethernet
connection is going to have to be able to
encrypt/ decrypt data at or near Ethernet speeds. This
means that even the relatively fast 20 Mbps AES
encryption/ decryption throughput achieved by the
SAM7X hardware encryption engine may not be suffi-
cient in some applications.
The same bandwidth increases achieved by the PDC in
data transfers can also be applied to encr yp-
tion/ decryption. Encryption requires that data be fed
continuously to the peripheral devices at the data rate
they need so they can perform control operations while
simultaneously servicing the compute- and memory-
intensive encryption blocks.
Data may be encrypted and decrypted directly through
the peripheral data controller (PDC) channels, without
out the aid of the ARM7 processor. This capability
increases encryption throughput by a factor of 300%
to 400%. And frees up the ARM7 processor for other
functions. For example, AES encryption that runs at 4
Mbps in software and 20 Mbps using a hardware
encryption engine, executes at 80 Mbps when aug-
mented by the SAM7X PDC. DES and triple DES require
too much computation and memory to be done in soft-
ware on the ARM7TDMI processor. However, the PDC
increases hardware DES encryption from 11.2 to Mbps
to 20 Mbps and triple DES from 12.8 Mbps to 32.8
Mbps.
Support for Real- time Applications
With all the glamour of 10/ 100 Ethernet MACs and
CAN and USB and advanced encryption, it is all too
easy to lose site of the fact that, even when connected
by vast arrays of networks, embedded systems are still
real time systems. Processing must be deterministic
and instructions and data must arrive in the right place
at a precisely predictable clock cycle. Unfortunately,
the vast majority of 32- bit controllers that have the
horsepower to handle a networked are ill- equipped for
real- time applications.
High- speed 25 ns flash memory on SAM7X microcon-
trollers allows single- cycle fetches of code directly
from memory, eliminating the need for code shadow-
ing and guaranteeing deterministic processing. The
SAM7X can achieve 38 MIPS of raw performance with-
out using cache running out of the Flash and 50 MIPS
when running out of the on- chip SRAM.
Real- time systems are inherently interrupt driven. The
SAM7X has a set of individually maskable, vectored
interrupt sources and an 8- level priority interrupt con-
troller, permanently stored in SRAM that resolves inter-
rupt priorities.
Read/ Modify/ Write (RMW) sequences that individually
set or clear a bit in I/ O space are all too common in real
time systems, but not well supported by 32- bit MCUs
which typically require 15 instructions to execute.
Every peripheral on the SAM7X has its own set con-
trol register and a clear control register. This allows a
six cycle load/ move/ store sequence to handle all inter-
rupt masking and bit set and reset operations, reduc-
ing the processing overhead and code required for this
operation by 60 percent.
Another weakness of 32- bit processors is their lack of
supervisory functions to anticipate and prevent unex-
pected system crashes due to power failures (brown-
out) memory and registers with old values, and
unforeseen loops The SAM7X includes a full set of
supervisory functions and on- chip RC clocks the
watchdog timer guarantees the system can be reset
using the RC to put the system into a safe state in the
event the mechanical crystal fails.
Conclusion
Todays embedded control systems are rapidly morph-
ing into embedded networks that are themselves fre-
quently networked via the Internet. This trend changes
the criteria for selecting microcontroller for many
embedded applications. Microcontrollers must offer
extensive connectivity, based on industry standards,
such as USB, CAN and Ethernet, is paramount. MCU
architectures must be capable of moving large
amounts of data, without compromising processor per-
formance. The exposure of these systems to public
networks mandates that MCUs include advanced
encryption algorithms and secure key storage.
Designers should not, however, allow high perform-
ance networking requirements to trivalize the fact that
embedded systems are still real- time systems and
need features that support real- time performance,
whether or not they are networked. When evaluating
MCUs designers should verify the level on- chip support
for real- time applications. At a minimum MCUs should
provide deterministic processing, single- supply volt-
age, an RC clock and supervisory functions, such as
power on reset, brown out detection, and watchdog
timers.
Fi gure 5: Sof t ware V. Hardware and PDC Encr ypt i on Tabl e
SAM7X@50MHz
Without
PDC
With
PDC
DES 12.8Mb/s 32.8Mb/s
TDES 11.2Mb/s 20Mb/s
AES 20Mb/s 80Mb/s
AES softemulated 4.3Mb/s n/a
By: Dr. John Seng
Computer Science Department
Cal Poly State University San Luis Obispo
Cal Poly State University, San Luis Obispo recently
introduced an undergraduate- level robotics course in
its computer engineering program. I was responsible
for designing and teaching this course. In the class, I
wanted the students to assemble their robots from the
ground up, starting with the controller board. I looked
at a number of controller boards available on the mar-
ket, but none met all of the requirements I was looking
for in a board design: availability as an unassembled
kit, sufficient number of inputs and outputs, powerful
software tools, and overall low- cost. As a result, I set
out to design a board with these requirements and
ended up with a design I called the PolyBot board.
For the design of the PolyBot board, I wanted to sup-
port a number of features. The board was going to be
assembled by students with limited soldering experi-
ence, so all the chips for the board had to be available
in a DIP package and seated in sockets on the board
itself. Chip packages are moving to smaller and small-
er sizes, but I needed one that was both available in a
DIP package and powerful enough for my application.
The board was going to be used in a classroom envi-
ronment, so input power protection was important. The
board needed to support both over- current and reverse
polarity power protection. In addition, it would be use-
ful to have the ability to use different voltages to power
the board. For example, the ability to disable and
enable a 7805 voltage regulator was desirable. If
someone wanted to power a robot with a voltage high-
er than the logic supports, then they could use the reg-
ulator; otherwise, they could disable it.
As for sensor inputs, the controller board needed to
have multiple digital inputs along with analog inputs for
the various sensors that are needed on a robot. In
terms of outputs, robots need several motor outputs. I
decided that 8 hobby servo output connectors and 4
DC motors would satisfy the requirements.
Hardware design
The microcontroller I chose was the AVR ATMega32.
This chip provides more than enough capability for our
application. It has a RISC core that allows for good per-
formance for our application (many of the instructions
execute in a single cycle). In addition, the 16 MHz
clock rate was more than adequate for the robots in our
class. This chip was the most powerful microcontroller
I could find in a DIP package, and fortunately, the chip
was also available at a low cost. This microcontroller
had all of the features I needed for my application.
The over- current and reverse- polarity power protection
is achieved by using a PPTC fuse coupled with a
1N5401 diode. A PPTC fuse greatly increases in
resistance when the fuse current rating is exceeded.
This resistance increases to the point that the fuse
effectively becomes an open connection. In the case of
the PolyBot board, I selected a PPTC fuse with a rating
of 1.85A. This is sufficient to provide over- current pro-
tection in the cases of stalled motors and accidental
shorts. For the reverse current protection, a 1N5401
diode is connected in a crow- bar configuration. When
the power is connected with reverse polarity, the
1N5401 diode conducts, and the current causes the
fuse to trip.
For the voltage regulator, I added a 3- pin male header
that uses a 2- pin jumper to enable or disable the volt-
age regulator. If 2 of the pins are shorted, then the volt-
age sent to the logic is + 5 volts. This voltage
comes from the output of the 7805 voltage
regulator. If the other set of 2 pins are short-
ed, then the voltage sent to the logic is taken
directly from the battery voltage.
For the hobby servo outputs, I used 0.1
spaced male headers as connectors. They
match the female connectors available on
hobby servos. Hobby servos require 3 pins for
operation: signal input, + 5 volts, and ground.
The 8 servo signals come from the ATMega32
microcontroller.
For the DC motor outputs, I used 2 SN754410
H- bridge chips. These chips are commonly
used to control motors in small robots. Each
chip provides 2 DC motor H- bridges. Each H-
bridge allows bi- directional control of a DC
motor with up to 1- amp of current draw. This
www. at mel. com
page 20
PolyBot Board: A Robot Cont roller Board
Using t he At mel ATMega32
Fi gure 1: Sampl e Robot
THIS ARTICLE DEALS WITH DESIGNING
A ROBOT CONTROLLER BOARD USING
THE ATMEGA32 FROM ATMEL.
boards successfully. I have found that 4 AA NiMH bat-
teries provide an excellent power source. The voltage
of fully charged batteries is sometimes a little higher
than the 5.5V maximum voltage for the ATMega32, so
I recommend using a Schottky barrier diode to drop the
voltage by approximately .3 volts.
Conclusion
The PolyBot board has worked well at Cal Poly. Using
the ATMega32 microcontroller on the PolyBot board
has provided ample computing horsepower for our
robot applications. More information about the PolyBot
board and full schematics can be found here:
www.csc.calpoly.edu/ ~ jseng/ PolyBot_Board.html
www. at mel. com
page 21
provided sufficient current for our applications, and the
outputs can be bridged to obtain 2- amps of current if
needed.
As for other features on the board, I included: an LCD
connection port, a jumper for the LCD backlight,
jumpers to allow the use of different voltages for the DC
motors and servos, a relay control port, and a software-
controlled LED. The backlight jumper was quite useful
because disabling the backlight allowed the robots to
run longer on a single charge.
Software
The ATMega32 has a number of open source tools
available that make this chip a practical choice for a
university environment. For software development, we
use the WinAVR software suite that provides a C com-
piler (based on GCC), a download utility (AVRdude), and
an editing environment (Programmer' s Notepad). The
GCC compiler and download utility are also available for
Linux and Mac OS X. In our lab environment, we used
both Windows and Linux and found the experience to be
similar on both platforms.
For the PolyBot board, I wrote a set of library routines
that allowed easy reading of the analog and digital
inputs, servo control, DC motor control, and LCD display
control.
Board design
I designed the PolyBot board using the Eagle CAD pro-
gram. This is an excellent PCB design program and is
free for limited size applications. Fortunately, the
PolyBot board design fit into the freely available version.
The board itself measures 3 x4 and required only 2
layers of routing.
In addition to the PolyBot board, I designed a compan-
ion download board that mates a parallel port download
cable with an RJ- 45 download cable. Preparing for a
download to the microcontroller becomes just a matter
of clicking the RJ- 45 cable into the PolyBot board.
Experience
The board has been well received by the students at Cal
Poly and has been successful as a controller in small
robots as well as in other student projects. All of the
students in the robot class were able to assemble their
Fi gure 2: Pol yBot board.
Fi gure 3: Downl oad board
Arium offers robust JTAG emulation
and development tools for today's
embedded software engineers using
targets with ARM7
/ ARM9
/ARM11
,
Intel XScale
,and TI OMAP
cores and
Intel
Pentium
processor families.
Full symbolic,source-level Linux kernel
debug and source-level process debug;
seamless debug between them. No
other vendor offers this powerful
feature at any price!
Real-time,integrated ETM
trace data collection at 640
MHz and a GByte of trace
memory.
Highly integrated
SourcePoint
Windows
,
Volvo, Motorola, VW
interface
able to work at 8- 10 or 12- bit.
www. at mel. com
page 39
decreasing the pixel aperture ratio and therefore
requiring micro lenses of higher efficiency. This often
means that micro lenses are less tolerant to telecen-
tricity errors of the image side of lens. These addition-
al transistors may also induce noise. In fact it is a com-
promise between shutter efficiency (increase of num-
ber of transistors) and pixel aperture (decrease of the
number of transistors)
A Solution?
The unique solution is to pulse the light. But if there is
a need for pulsing the light why not choosing the rolling
shutter with its better signal- to- noise ratio and its bet-
ter pixel aperture without micro lenses?
Conclusion
There are already many applications where a type of
rolling shutter is used. Often this parameter is not tak-
ing into consideration by end users:
Example 1:
Roller blind cameras (24 x 36 film camera, for exam-
ple) are still used without any complaint from users.
Example 2:
All the old vacuum tube cameras were using a readout
that reset the pixel.
Example 3:
All line scan cameras are also using different integra-
tion times for each line. To prevent any distortion in this
case, the object speed to the camera speed should be
adjusted.
Based on a rolling shutter sensor these cameras allow
excellent dynamic range. The Atmos 2.5M can capture
48 fps at full resolution, 60 fps at 2M, and 160 fps in
VGA format for the 2M60 thanks to the region of inter-
est function. With a 44 mm square section design, plus
a C- mount adapter, Atmos cameras are among the
smallest in the market.
The Atmos cameras features are particularly suited for
typical machine vision tasks: Inspection (glass, Flat
Panel Display, PCB) robot- guidance, metrology, as well
as various applications such as microscopy or surveil-
lance.
Stay informed!
Subscribe NOW to the
Atmel Applications Journal.
www.atmel.com/
journal/ mail.asp
By: Franois Bor, Sandrine Bruel and Marc
Wingender
1. Introduction
A high- speed ADC that offers good linearity over a
range of high frequency inputs is a key component for
tomorrows broadband RF transmitters using high
Intermediate Frequency (IF) architectures.
New architectures for ADC allow now to reach perform-
ances which were barely conceivable a few years ago.
Broadband IF Sampling ADC architectures are today
capable of directly digitizing wideband signals around
second or first IF zones while keeping excellent lineari-
ty performance, paving the way to Software Radio.
The architectural shift to broadband data conversion
leads to increased ADC sampling rate, creating new
challenges in design, package and test methodology.
A 10- bit 2.2 Gsps ADC has been developed based on a
75 GHz SiGe HBT process, including special features
for better industrial test coverage.
Key issues for design, test and circuit specification,
altogether with characterization results are presented
and analyzed.
2. Purpose of high- speed ADCs
An ADC is used to produce a quantization of a continu-
ous time varying continuous signal, therefore part of the
information included in the input signal will be lost by
this sampling and quantization process (aliasing, quan-
tization noise), and some parasitic information will be
added due to the non ideality of the ADC (aperture
uncertainty, thermal noise, non linearity).
The relevance of an ADC for a given application is its
ability to keep the ratio of useful information over para-
sitic (or undesired) information as high as possible for a
given power budget.
A good ADC must be able to code a small signal close
to a large signal (interferer). This feature is mandatory
for any broadband (multi channel) application were an
ADC is used to code all the channels and the demodu-
lation is performed through digital processing. The con-
straint on the ADC is thus on inter- modulation products
(IMD) which level must be below the smallest signal to
code.
2.1 Relevant parameter for ADC specification
Global parameters such as Effective Number Of Bits
(ENOB) are not always relevant to select the best pos-
sible ADC for a given application. This is especially true
for very high speed ADC (over 1 Gsps), because of the
very large bandwidth of integration, Signal to Noise
Ratio is dominated by thermal noise, and SNR becomes
the dominant factor in ENOB. Therefore ADC displaying
similar ENOB figures may have very different linearity
figures (Spurious Free Dynamic Range and/ or Total
Harmonic Distortion). For instance an ADC featuring
8- bit ENOB can display only 50 dB SFDR while another
would display 60 dB SFDR.
Furthermore, frequency independent and deterministic
non ideal characteristics of the ADC can be compen-
sated by digital signal processing (e.g. look- up table).
For operation at Nyquist (Fin~ Fs/ 2) and above, the
clock phase noise (also called jitter) has direct impact
on SNR. Jitter can be split in 2 components: external jit-
ter (due to the sources used, or potential board routing
issues), and internal jitter (generated in the ADC by
thermal noise on clock path, coupling with other sig-
nals, or poor power supply rejection). Therefore internal
jitter is also a very important parameter of the ADC.
Parameters to consider for a high speed ADC are there-
fore: THD, SFDR, IMD (multitone), SNR, Noise Power
Ratio (for broadband application), ADC added Jitter (for
2nd Nyquist application).
2.2 Parameters for comparison of ADCs
An SNR value is relevant only if considering also the
ADC sampling frequency altogether with the ADC full
scale, combining the three informations we can pro-
duce a relevant indicator of ADC performance, the per
Hz Normalized Noise Floor expressed in dBm/ Hz:
NNF = FS[dBm] SNR[dBFS] 10*log(Fclock/ 2)
Reachable limit of NNF for a reasonable power dissipa-
tion seems to be about - 150dBm/ Hz.
Another relevant indicator of ADC performance is the
quantization energy, that is the energy needed to deliv-
er an effective level of quantization:
EQ= P/ (Fsampling*2ENOB)
where P is the ADC power dissipation.
EQ should of course be kept as low as possible.
Normalized Useful Bandwidth can be defined as:
NUB= Finmax/ Fclock (where Finmax is maximum input
frequency leading to a 3dB degradation of SINAD).
These indicators allow for comparisons between ADC
designed for various domains of operation.
3. Design challenges
As previously discussed a pertinent 10- bit high speed
ADC should meet the following criteria:
www. at mel. com
page 43
A 10-bit 2.2 Gsps ADC Operat ing
Over First and Second Nyquist Zones
Code Pat ch Code Pat ch
THIS PAPER INTRODUCES A 10 BIT 2.2
GSPS (GIGA SAMPLE PER SECOND)
FULLY BIPOLAR ANALOG TO DIGITAL
CONVERTER, DEVELOPED ON A 75 GHZ
CUT OFF FREQUENCY HBT SIGE PROCESS,
DESIGNED FOR OPERATION OVER FIRST
AND SECOND NYQUIST ZONES.
PERFORMANCES OVER 8 EFFECTIVE
BITS HAVE BEEN DEMONSTRATED
UP TO 2 GSPS NYQUIST. THIS ADC,
DISSIPATING ONLY 4.2W, ACHIEVES
A 10- BIT EQUIVALENT LINEARITY FOR
2 GHZ INPUT.
www. at mel. com
page 44
1. Linearity over first and second Nyquist zone:
beyond 57dB SFDR.
2. Good NNF: around or below - 145dBm/ Hz
3. Stable spectral response over sampling rate,
temperature and input frequency to allows for single
look- up table processing.
4. Clock phase noise added by the ADC must be kept
as low as possible.
5. Power dissipated and EQ must be as low as
possible.
6. Bit Error Rate should be kept at a level compatible
with the application (values commonly admitted :
instrumentation 10
- 12, transmission 10- 6).
Items 1 and 2 are related to the internal front end Track
and Hold (T/ H) which is mandatory for Nyquist and
above Nyquist operations, and T/ H clock management
in the ADC, item 3 is related to settling through the
quantifier. Item 4 is related to the clock tree design
strategy. Item 5 is related to the overall design strate-
gy of the ADC, and item 6 is depending on the decod-
ing and logic part of the ADC.
When taking all these factors into consideration two
architectures are possible:
1. A single core ADC
2. A massively interleaved ADC [1]
We have discarded this second option because of clock
jitter management issues. Nevertheless our ADC fea-
tures all the tuning needed to allow for easy interleav-
ing (offset adjust, gain adjust, aperture delay fine
adjust).
3.1 Front End Track and Hold Amplifier
In a fast ADC the front end T/ H is a major design issue.
The performances of the ADC will be dominated by the
performances of the front end T/ H, granted that the
quantifier settles properly in its time slot. Depending on
the front end T/ H, the ADC will be able to operate over
first and second Nyquist zones, over first Nyquist zone
only or in base band only.
Most of the thermal noise is also generated in the T/ H
and associated preamplifiers, so special care must be
taken in the trade- off of power and noise.
The structure retained for the T/ H stage was based on
a fully differential S.E.F (Switched Emitter Follower),
since this structure is well known for its robustness. A
differential output amplifier is used to filter out the
common mode bounces at the T/ H output before driv-
ing the analog quantifier. A gain 2 differential input
amplifier, is used in front of the T/ H in order to be able
to display a constant impedance at the ADC input thus
allowing analog filtering.
The main difficulty is to keep a good linearity over the
second Nyquist zone, since in this frequency domain
closed loop structures are not relevant. We will see in
the result section that performances are quite good.
3.2 Quantifier
Quantifier structure choice is a key issue in the design
of an ADC, specially when we are looking simultane-
ously for speed, accuracy and power efficiency.
Pipeline and sub- ranging architectures are discarded,
because for this sampling range they are not relevant,
especially regarding B.E.R (Bit Error Rate) issue.
A full flash architecture is also not acceptable because
of loading effect caused at T/ H output due to too many
comparators (2
10+ 1), and also because of power
spillage that this architecture would imply.
Finally we retained a successively folded and interpo-
lated architecture which offers the best trade- off
between speed, accuracy and power dissipation.
The MSBs are generated by a coarse cycle pointer, and
are corrected in accordance with LSBs transition in the
logic part. Gain adjustment is made by controlling the
bias of the reference resistor chain.
3.3 Logic part
The function of the logic part in a fast ADC is three fold:
1. Provide a B.E.R. compatible with the specified
application (e.g: 10- 12 for instrumentation).
2. Realize the fusion between MSBs and LSBs
delivered by the quantifier, and eventually correction
of MSBs.
3. Convert the internal coding into Binary code.
3.3.1 Bit Error Rate
The purpose of regeneration latches is to convert ana-
log signals coming from the quantifier into full swing
synchronized logical signals for further processing.
When an analog level coming from the quantifier is very
close to its transition level the regeneration latch will
perform one of the following:
1. Take the good decision and produce a full swing
logical level.
2. Take the wrong decision, and produce a full swing
logical level, depending on the internal coding the
impact can be major (Binary coding, glitch energy 2
N
quantum, where N is the index of the considered bit),
or minor (Gray coding, glitch energy 1 quantum,
because only one bit can be in the danger area at a
time).
3. Take no decision (i.e. meta- stability), or produce a
logic level of reduced swing which jeopardize
subsequent logical operation.
Taking no decision causes B.E.R. In this case the latch
does not have enough time to generate a true logical
level from analog signal coming from the quantifier,
thus jamming the subsequent decoding.
With an increase in the sampling rate, B.E.R is a major
issue which cannot be neglected. To minimize B.E.R. it
is necessary to use latches which have very low diver-
gence time constant, and/ or to spread the divergence
over several half clock period.
3.3.2 Merging of MSBs and LSBs
The second function of the logic part is to combine
information coming from the MSB (coarse) and LSB
(fine) sections, in order to produce a full length word.
This function performs a correction of the coarse (inac-
curate) transitions in accordance with the fine (accu-
rate) transitions. We have been using this method suc-
cessfully for many years beginning with TS8388 [2]
(8- bit 1 Gsps ADC), released in 1997.
The NRZ function is also performed in this logic block.
This function makes sure that underflow (or overflow
respectively) will not produce codes other than the min-
imum code (or maximum code respectively).
3.3.3 Binary encoding
The code conversion from Gray code to natural Binary
code is rather straightforward: a cascaded XOR from
MSB to LSB. To avoid limitations due to propagation
ripple in this decoding, we have spread the decoding
over one and a half clock periods. This decoding circuit
includes a multiplexer, in order to be able to deliver also
Gray code at the output of the ADC.
The output of this decoder is feeding a master slave
bank of latches driving differential ECL / LVDS compat-
ible output buffers.
3.4 Clock tree
For a fast ADC operating in second Nyquist zone, the
jitter observed on the switch of the T/ H amplifier can
dramatically degrade the performances in term of SNR.
Special care has been taken in the design of:
the clock circuitry in order to minimize the jitter
induced on chip,
the package which was optimized to avoid coupling
between the clock and other unclean signals, al-
together with thermal management optimization [3].
The first idea is to use a fully differential circuitry in
order to have optimal rejection of power supply ripple,
and to induce as little as possible power supply ripples.
The second idea is to use internal clock edges as steep
as possible in order to minimize the thermal noise
effect at each stage of the clock path. For the same
reason the clock driving the T/ H switch must be kept as
sharp as possible.
There is a direct relationship between internal clock
edge sharpness, fastest transient (or maximum signal
frequency) to digitize and acceptable thermal noise
level in clock circuitry to meet a specified SNR level.
All the structures used in the clock tree have already
been proven in our former 10- bit 2Gsps ADC
TS83102G0 [4]. The measured jitter including board,
generator and ADC, based on locked histogram method,
using very good generators is about 150fsrms.
www. at mel. com
page 47
A test mode provides special clocking for output latch-
es, decimating by 32 the converted data, thus deliver-
ing a word rate compatible with industrial test.
4. ADC main features
This ADC is now introduced as a standard product ref-
erenced AT84AS008 [5], it is mechanical and electrical
compatible with TS83102G0, but offers extended per-
formances and extended functionality domain while
saving 10% of power, thus allowing seamless upgrade
of system designed with TS83102G0.
Die size: 14.7mm
2
Process: SiGe HBT 75GHz cutoff, 3 layers of metal
Max Sampling Rate: 2.2 Gsps
Full Power Input Bandwidth: 3.5 GHz
Full Scale: 500 mVpp diff (tunable + / - 10%).
Power dissipation: 4.2 W
Package: CBGA152, pitch 1.27 mm.
5. Characterization results
Test characterization has demonstrated very good
operation over first (Figures 2, 5) and second (Figure 3)
Nyquist zones up to 2.2 Gsps, ENOB at Nyquist is over
8.0 bits up to 2 Gsps.
Characterizations demonstrated also a good perform-
ance stability over a wide temperature range (Figure 4
& 5).
6. State of the art survey
Using NNF and EQ indicators, as defined in section 2.2,
we have compared our performances with other com-
mercial, or published ADCs.
For ADC operating at medium frequency the use of
large full scale input allows for a significant enhance-
ment of NNF when expressed in dBFS/ Hz. Full scale
increase is not possible at higher frequency for practi-
cal reasons (linearity and power dissipation impact).
Fi gure 1: Vi ew of t he ADC l ayout
Fi gure 2: SFDR, THD, SNR, SINAD vs Fcl ock at Nyqui st , Ai n= - 1 dBFS
Fi gure 3: SFDR, THD, SNR, SINAD vs Fi n at Fcl ock= 2 Gsps, Ai n= - 1 dBFS
Fi gure 4: SFDR, THD, SNR, SINAD vs Tj at 1.7 Gsps, Fi n= 848 MHz, Ai n= - 1 dBFS
www. at mel. com
page 48
Fi gure 5: 32k poi nt s FTT spect rum at 2 Gsps, 995 MHz, Ai n= - 1 dBFS
Ref erence Resol ut i on & E
Q
NNF FS NUB
Sampl i ng rat e [ pJ] [ dBm/ [ dBm]
Hz]
[1] 8 bit 20 Gsps 7.8 - 138 - 2 0.1
Thi s work 10 bi t 2.2 Gsps 8.2 - 144 - 2 > 1
[4] 10 bit 2 Gsps 13.6 - 143 - 2 1
[6] 8 bit 1.5 Gsps 27.2 - 140 - 2 0.8
[7] 12 bit 210 Msps 5.1 - 137 + 7.5 0.9
[8] 12 bit 185 Msps 2.4 - 137 + 10 1
[9] 14 bit 105 Msps 3.8 - 141 + 11 0.8
Tabl e 1: Publ i shed or commerci al ADC sur vey
This survey from commercial and published results
indicates that at least one of the three parameters EQ,
NNF and NUB degrades with max sampling frequency.
7. Conclusion
We have designed a fast ADC for Nyquist and above
Nyquist operation, exhibiting a unique Normalized
Noise Floor (NNF) while keeping a Quantization Energy
(EQ) among the lowest in its frequency range.
Furthermore, we have pushed the sampling rate
beyond 2 Gsps while keeping an ENOB of 8.0 bits at
Nyquist, and offering outstanding performance over
second Nyquist zone, thus paving the way to high inter-
mediate frequency (IF) digital processing.
8. Acknowledgements
The authors thank their colleagues Benoit Dervaux,
Christian Morino, Claudie Allene, and Jean- Philippe
Amblard for their contributions.
References:
[1] Ken Poulton, et al A 20GS/ s 8b ADC with 1MB
Memory in 0.18mm CMOS ISSCC Digest of Technical
Papers, Feb 2003.
[2] Datasheet of ATMELs TS8388B 8- bit 1Gsps ADC,
rev 2144C- BDC- 04/ 03.
[3] Benoit Dervaux, A Ceramic BGA 148 Package for
assembly of a 2 Gsps Analog to Digital Converter ,
European Microelectronics Packaging and
Interconnection Symposium, Cracow, Poland, 16- 18
June 2002.
[4] Datasheet of ATMELs TS83102G0B 10- bit 2 Gsps
ADC rev 2101D- BDC- 06/ 04.
[5] Summar y datasheet of ATMELs ATMELs
AT84AS008 10- bit 2.2Gsps ADC, rev 5404AS- BDC-
01/ 05.
[6] Datasheet of Maxims MAX108 8- bit 1.5 Gsps ADC.
[7] Datasheet of ADIs AD9430- 210 12- bit 210 Msps
ADC.
[8] Datasheet of Linear Technologys LTC2220- 1 12- bit
185 Msps ADC.
[9] Datasheet of ADIs AD6654- 105 14- bit 105 Msps
ADC.
Ajoint productionof Arrow, theleadingNorthAmericandistributor of ARMProcessors, andConvergencePromotions, thelead-
ingindustry sourcefor informationonARMProcessorsandtoolssupport.
The Ul t i mat e Dest i nat i on f or Devel oper s w i t h
ARM Pr ocessor - based Appl i cat i ons
Finally, developers can come to one location on-line to:
I Purchasesamplesor millionsof chipsfromvendorslikeIntel, Atmel, STMicroelectronics, FreescaleSemiconductor, Philips,
andTI directly fromArrowNorthAmerica.
I Participateina webcast, a VirtuaLabor inanon-linesimulation.
I Accessmillionsof pagesof data sheets, whitepapers, casestudiesandapplicationnotes.
I Purchasetoolsat ArrowDevToolsor Test DrivetoolsfromARROW.
Give embedded-developer. com a tr y toda y!
C
O
M
I
N
G
M
A
R
C
H
1
!