2002 National Semiconductor Corporation www.national.com
October 2002
LM9702 Real Time Digi tal Image Processor
General Description
Th e LM 97 02 co ntains all fun ction s nee de d t o buil d a VG A di gita l
s till and/or video camera. I t incorporates a 16 bit RI SC micropro-
cessor, a flexible image processing pipeline, hardware JPEG
compression, and the required periphery modules in a single IC.
This architecture allows a very fast click-to-click time and full res-
olution video without sacrificing image quality or cost; because
th e c o mp utatio n ex t e ns iv e op er a ti ons are p roc es s ed by c i r cu itry
dedicated to image processing. The highly optimized memory
management provided by the LM9702 keeps the memory cost of
the complete camera to a minimum.
A chi p set comprising of the LM9702 and a National VGA CMOS
image sensor complemented by a lens, battery, compact flash,
power management for the battery, and LCD (optional) yields a
c omplete high performance cost effect ive digit al still and/or video
camera.
Features
!Embedded 16 bit RISC processor system
- Up to 16M-bytes of external memory addressing space
- 16K-bytes Internal RAM
- 6 ch an ne l D MA
- 8 channel versatile timer
- Interrupt controller
- 16 input wake up module
- Fu ll du pl ex USA RT
-µwire/SPI seri al port
- 16 general purpose IOs (GPIO)
- SD Memory Card Interface (SPI Mode)
!Gl ueless CMOS image sensor interface
!ACCESS.bus serial interface for imager sensor control
!Integrated USB v1.1 for connection to PC
!Raw Image Data Processor
- Defective pixel correction
- Digital gain and br ightness adjustme nt
- Raw data statistics measurement engine
!Color Image processing
- Bayer to RGB Interpolation
- Fully programmable color correcti on
- Image sharpening
- Programmable gamma correction
- T h um bn ai l gene ration
- RGB to YCrCb Conversion
- Digital Gain
!Ha r dware JPE G Compress io n for bo t h vide o an d snaps ho t
!System management
- Internal Clock generation from 12MHz Crystal
- Power management
- Reset generation
!JTAG ba sed serial on-chip debug interface
Applications
!PC Came ras
!Dual Mode Cameras
!Digital Still Cameras
!Clip-on Cameras for PDAs, Cell Phones, etc.
!Embedd ed Cameras for PDA’s, C ell Phones, etc.
!Indu s tria l Cam er as
Key Specifications
Array Formats C IF,VGA, SXGA (B/W)
Inpu t Col or Form a t Bayer Pattern
Di gi ta l Im ag e Pr oc es s or 10 bit (12 bit internal)
Compression
-Format
-Ratio B ase Li ne JPE G
Programmable
Video In Frame Rate up to 15MHz pixel clock
Vide o Outputs
-USART
-USB up to 921.6K-bits per second
960K-byte /s
External CR16C Memory
- Mem ory Type
- Address Space
- Speed
SRAM, Flash, Compact Flash,
EEPROM
up to 16 Mbyte
up to 36MHz
Serial Interf aces
- ACCESS.bus
-µwire/SPI up to 400KHz
up to 6.0 MHz
16 bit RISC Proc essor
-MIPS
- Internal Memory up to 36
16K-bytes
Cl oc k Spee d up 60Mhz from 12MHz Cryst al
Power Supply
-Core
-IO 2.25 to 2.75 Volt
2.7 to 3.6 Volt
Average Power Dissip ati on 90mW
Package 128 Laminated CSP
Op er a tin g t e mp er a tu r e -10oC to +85oC
Syst em Block Diagr am
LM9702
CMOS Sensor
Module
Flash
or
RAM
USART
USB
SD CARD
LM9702 Real Time Digital Image Processor
2 www.national.com
Overall Chip Block Diagram
Figure 1. Chip Block Diagram
Ordering Information
Item Description Par t Number
LM9702 LM9702 Digital Image Processor with Integrated Pipeline LM9702SL
Color
Interpolation
Edge
Enhancement
Color
Correction
Gamma
Correction
Scaling
Digit al Color Processor
Bus Interface
Unit
RGB to YCrCb
Conversion
ACCESS.bus APB
Config
µwire/SPI
Master
GPIO
CR16C
16K-Bytes
6 Channel
Core Bus
Controller
Interrupt
Controller
CR16C-Mi croprocessor System
Core Bus
Clk Gen
Syst em Mg mt
AMBA Per iphe ral Bus
ac b
mwire
SDI+
Debug I/F
usb
sys
DMA
16 Pin
16 Input
Wake Up
usart
gpio
int
jtag
USB
V1.1
Image PreProcessor
Sensor I/F
Offset
Config & Raw Statistics
Bad P ixel
Correction
Color Gain
sen
Bridge
USART
Versatile
Timer
timer Bus Interf ac e
Unit
Pwr Mgt
POR
Frame
Skipping
mem
Measurement Engine
Compression
RAM
Config
Config
JPEG
Encoder
Bus Interface Unit
SD
(SPI Mode)
sd
Gain
3 www.national.com
Re lated Products
Item Description Par t Number
Development
Kit
LM9702 digital image processor camera development kit. This kit includes
the above ment ioned camera base board, a power supply board, status
LCD board, power adapter, win dows applic ation software SNAPS DEV. LM9702DEV-KIT
Camera
Board LM9702/04 digital image processor camera base board. LM9702CAMBOARD
LM9704CAMBOARD
Software
Devlopment
Kit
This kit incl udes CR16C software development too ls, National’s Camera
Operating System (NCOS) & a n iTAG emulator. CR16-IM02-00
Compact-
Flash A daptor
This is a sm all 16 bit Compac tFlash adap tor board tha t can be attached to
the LM9702CamBoard/LM9704CamBoard allowin g Compact Fla sh cards t o
be conn ected to the main system me mory bus LM97COMPACFLASH
SD/MMC
Adaptor
This is a small S D/MMC adaptor board that can be attached to t he
LM9702CamBoard/LM9704CamBoard allowing SD and MMC cards to be
connected to the LM9702/LM9704 digital image processor LM97SDCARD
Head Boards
VGA co lor s ensor LM9627
VGA monochrome sensor LM96 17
VGA co lor s ensor LM9628
VGA monochrome sensor LM96 18
128x10 0 mo no c hr o m e se ns or LM 96 30
VGA monochrome sensor LM96 37
VGA co lor s ensor LM9647
SXGA monochrome sensor LM9638
SXGA color sensor LM964 8
LM9627HEADBOARD
LM9617HEADBOARD
LM9628HEADBOARD
LM9618HEADBOARD
LM9630HEADBOARD
LM9637HEADBOARD
LM9647HEADBOARD
LM9638HEADBOARD
LM9648HEADBOARD
Lens Kits
1/3” lens kit for the LM9627, LM9617, LM96 28 or LM9618
1/5” lens kit for the LM9630
1/4” lens kit for the LM9647, LM9637
1/2” lens kit for the LM9648, LM9638
LM96-1/3LENSKIT
LM96-1/5LENSKIT
LM96-1/4LENSKIT
LM96-1/2LENSKIT
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.
www.national.com
LM9702 Real Time Digital Image Processor
LIFE SUPPORT POLICY
NATIONAL'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS W ITHOUT THE EXPRESS WRITTEN APPROVAL O F THE PRESIDENT AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or systems
which, (a) are intended for surgical implant into the body, or
(b) support or sustain life , and whose failure to pe rform when
properly used in accordance with instructions for use pro-
vided in the labeling, can be r easona bly expected to result in
a significant injury to the user.
2. A critical component is any component of a life support
device or system who se failure to perform can be reasonably
expected to cause the failure of the life support device or
system, or to affect its safety or effectiveness.
National Semiconductor
Corporation
Americas
Tel: 1-800-272-9959
Fax: 1-800-737-7018
Email: support @ nsc.com
National Semiconductor Europe
Fax: +49 (0) 1 80-530 85 86
Email: europe.support @ nsc.com
Deutsch Tel: +49 (0) 69 9508 6208
English Tel: +44 (0) 870 24 0 2171
Francais Tel: +33 (0) 1 41 91 8790
National Semiconductor
Asia Pacific Customer
Response Group
Tel: 65-2544466
Fax: 65-2504466
Email: ap.support@nsc.com
National Semiconductor
Japan Ltd.
Tel: 81-3-5639-7560
Fax: 81-3-5639-7507
Package Information