ADV212
Rev. B | Page 27 of 44
CONTROL ACCESS REGISTERS
With the exception of the indirect address and data registers
(IADDR and IDATA), all control/status registers in the
ADV212 are 16 bits wide and are half-word (16-bit) addressable
only. When 32-bit host mode is enabled, the upper 16 bits of the
HDATA bus are ignored on writes and return all zeros on reads
of 16-bit registers.
PIN CONFIGURATION AND BUS SIZES/MODES
The ADV212 provides a wide variety of control and data
configurations, which allows it to be used in many applications
with little or no glue logic. The modes described in this section
are configured using the BUSMODE register. In this section,
host refers to normal addressed accesses (
CS
/
RD
/
WE
/ADDR)
and data refers to external DMA accesses (
DREQ
/
DACK
).
32-Bit Host/32-Bit Data
In this mode, the HDATA[31:0] pins provide full 32-bit wide
data access to the pixel channel, code channel, and ATTR
channel FIFOs.
16-Bit Host/32-Bit Data
This mode allows a 16-bit host to configure and communicate
with the ADV212 while allowing 32-bit accesses to the pixel,
xode, and ATTR FIFOs using the external DMA capability.
All addressed host accesses are 16 bits and, therefore, use only
the HDATA[15:0] pins. The HDATA[31:16] pins provide the
additional 16 bits necessary to support the 32-bit external DMA
transfers to and from the FIFOs only.
16-Bit Host/16-Bit Data
This mode uses 16-bit transfers if used for host or external
DMA data transfers.
16-Bit Host/8-Bit Data (JDATA Bus Mode)
This mode provides separate data input/output and host
control interface pins. Host control accesses are 16 bits and use
HDATA[15:0], whereas the dedicated data bus uses JDATA[7:0].
JDATA uses a valid/hold synchronous transfer protocol. The
direction of the JDATA bus is determined by the mode of the
ADV212. If the ADV212 is encoding (compression), JDATA[7:0]
is an output. If the ADV212 is decoding (decompression),
JDATA[7:0] is an input. Host control accesses remain asynchro-
nous. See also the JDATA Mode section.
STAGE REGISTER
Because the ADV212 contains both 16-bit and 32-bit registers
and its internal memory is mapped as 32-bit data, a mechanism
has been provided to allow 16-bit hosts to access these registers
and memory locations using the stage register, which is accessed
as a 16-bit register using HDATA[15:0]. Before writing to the
desired register, the stage register must be written with the
upper (most significant) half-word.
When the host subsequently writes the lower half-word to the
desired control register, HDATA is combined with the prev-
iously staged value to create the required 32-bit value that is
written. When a register is read, the upper (most significant)
half-word is returned immediately on HDATA, and the lower
half-word can be retrieved by reading the stage register on a
subsequent access.
Note that the stage register does not apply to the three data
channels (pixel, code, and ATTR). These channels are always
accessed at the specified data width and do not require the use
of the stage register.
JDATA MODE
JDATA mode is typically used only when the dedicated video
interface (VDATA) is also enabled. This mode allows code
stream data (compressed data compliant with JPEG2000) to be
input or output on a single dedicated 8-bit bus (JDATA[7:0]).
The bus is always an output during compression operations and
an input during decompression.
A 2-pin handshake is used to transfer data over this synchron-
ous interface. VALID is used to indicate that the ADV212 is
ready to provide or accept data and is always an output. HOLD
is always an input and is asserted by the host if it cannot accept/
provide data. For example, JDATA mode allows real-time appli-
cations, in which pixel data is input over the VDATA bus while
the compressed data stream is output over the JDATA bus.
EXTERNAL DMA ENGINE
The external DMA interface is provided to enable high
bandwidth data input/output between an external DMA
controller and the ADV212 data FIFOs. Two independent DMA
channels can each be assigned to any one of the three data
stream FIFOs (pixel, code, and ATTR).
The controller supports asynchronous DMA using a data-
request/data-acknowledge (
DREQ
/
DACK
) protocol in either
single or burst access mode. Additional functionality is
provided for single address compatibility (fly-by) mode and
dedicated chip select (DCS) mode.
ADV212
Rev. B | Page 28 of 44
INTERNAL REGISTERS
This section describes the internal registers of the ADV212.
DIRECT REGISTERS
The ADV212 has 16 direct registers, as listed in Table 18.
The direct registers are accessed over the ADDR[3:0],
HDATA[31:0],
CS
,
RD
,
WE
, and
ACK
pins.
The host must first initialize the direct registers before
any application-specific operation can be implemented.
Table 18. Direct Registers
Address Name Description
0x00 Pixel Pixel FIFO access register
0x01 Code Compressed code stream access register
0x02 AT TR Attribute FIFO access register
0x03 Reserved Reserved
0x04 CMDSTA Command stack
0x05 EIRQIE External interrupt enabled
0x06 EIRQFLG External interrupt flags
0x07 SWFLAG Software flag register
0x08 BUSMODE Bus mode configuration register
0x09 MMODE Miscellaneous mode register
0x0A Stage Staging register
0x0B IADDR Indirect address register
0x0C IDATA Indirect data register
0x0D Boot Boot mode register
0x0E PLL_HI PLL control register, high byte
0x0F PLL_LO PLL control register, low byte
ADV212
Rev. B | Page 29 of 44
INDIRECT REGISTERS
In certain modes, such as custom-specific input format or HIPI
mode, indirect registers must be accessed by the user through
the IADDR and IDATA registers. The indirect register address
space starts at Internal Address 0xFFFF0000.
Both 32-bit and 16-bit hosts can access the indirect registers:
32-bit hosts use the IADDR and IDATA registers, and 16-bit
hosts use the IADDR, IDATA, and stage registers.
Table 19. Indirect Registers
Address Name Description
0xFFFF0400 PMODE1 Pixel/video format
0xFFFF0404 COMP_CNT_STATUS Horizontal count
0xFFFF0408 LINE_CNT_STATUS Vertical count
0xFFFF040C XTOT Total samples per line
0xFFFF0410 YTOT Total lines per frame
0xFFFF0414 F0_START Start line of Field 0 [F0]
0xFFFF0418 F1_START Start line of Field 1 [F1]
0xFFFF041C V0_START Start of active video Field 0 [F0]
0xFFFF0420 V1_START Start of active video Field 1 [F1]
0xFFFF0424 V0_END End of active video Field 0 [F0]
0xFFFF0428 V1_END End of active video Field 1 [F1]
0xFFFF042C PIXEL_START Horizontal start of active video
0xFFFF0430 PIXEL_END Horizontal end of active video
0xFFFF0440 MS_CNT_DEL Master/slave delay
0xFFFF0444 Reserved Reserved
0xFFFF0448 PMODE2 Pixel Mode 2
0xFFFF044C VMODE Video mode
0xFFFF1408 EDMOD0 External DMA Mode Register 0
0xFFFF140C EDMOD1 External DMA Mode Register 1
0xFFFF1410 FFTHRP FIFO threshold for pixel FIFO
0xFFFF1414 Reserved Reserved
0xFFFF1418 Reserved Reserved
0xFFFF141C FFTHRC FIFO threshold for code FIFO
0xFFFF1420 FFTHRA FIFO threshold for ATTR FIFO
0xFFFF1424 to 0xFFFF14FC Reserved Reserved

ADV212BBCZRL-150

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Interface - CODECs \JPEG 2000 CODEC w/Integrated Controller
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union