ZR36057 ZORAN [Zoran Corporation], ZR36057 Datasheet - Page 45

no-image

ZR36057

Manufacturer Part Number
ZR36057
Description
ENHANCED PCI BUS MULTIMEDIA CONTROLLER
Manufacturer
ZORAN [Zoran Corporation]
Datasheet
Appendix B: MD207/MD208 - ZR36057 Interface
This appendix suggests the basic interconnection between the
ZR36057 and the MD207/208 video encoder. Naturally, when
these two devices are connected together there must be a third
device, mastering the YUV bus. Figure describes a basic inter-
connection between the ZR36057 and the MD207/208, with an
arbitrary YUV source. This minimum example does not use the
graphics overlay capability of the MD207/208
MD207/208 Reset
Software controlled usage of the RESET input of the MD207/208
is optional. Generally, it is more efficient to connect it to the
power-up reset of the circuit, and control the device through the
software reset register bit of the MD207/208. If a hardware reset
is needed in the design, any of the software controlled GPI/O
pins (configured as output) of the ZR36057 may be used as a
RESET signal. The software then directly manipulates the
RESET signal through the corresponding register bit of the
ZR36057. Since the default configuration of the GPI/O pins after
reset is input, a pull down resistor should be applied to the
MD207/208 RESET input.
Figure 16. ZR36057 - MD207/208 Basic Interconnection
MD207A/208
Test/Fldintr
HSYNC
VSYNC
CD[7:0]
RESET
YD[7:0]
BLANK
D[7:0]
VCLK
WR
CS
RS
RD
(Optional)
V
DD
YUV 4:2:2 Source
(Optional)
(Optional)
Other Guests
GCSn
GADR[0]
GRD
GWR
GDAT[7:0]
GPI/On
GPI/On
VCLKx2
VCLK
HSYNC
VSYNC
Y[7:0]
U/V[7:0]
ZR36057
Enhanced PCI Bus Multimedia Controller
45
Mapping the MD207/208 on the ZR36057 ’s
GuestBus
The software driver must map the MD207/208 on the GuestBus.
The proper timing parameters (t
208 must be loaded to the GuestBus control register.
Reading/writing one byte from/to the MD207/208 requires two
GuestBus cycles: in the first cycle the address (index) of the
internal MD207/208 register is written, in the second one the
data byte is read/written. The RS (register select) input of the
MD207/208 is used to distinguish between the two types of
cycles. Connecting this pin to the ZR36057’s GADR0 virtually
creates two MD207/208 registers at the level of the GuestBus:
when GADR0 is low (even registers), the MD207/208 expects
address to be transferred on its D7:0 bus, when GADR0 is high
(odd registers) data is output or input on these lines. Another
way is to connect GADR2 to RS.
Sync Polarity
Since, unlike the ZR36057, the sync polarity of the MD207/208
is not programmable, then, depending on the YUV 4:2:2 source,
it might be necessary to invert the HSYNC and VSYNC of the
MD207/208.
Vertical Interpolation with the MD208
Pin 8 is the only one that is different between the MD207A and
the MD208. While in the MD207A it is a test pin, normally con-
nected to ground, the MD208 uses this input to switch its internal
vertical interpolation mechanism on and off. When this mecha-
nism is on, one field out of every pair is vertically interpolated
and the interpolated lines are the ones sent out. Since this oper-
ation is not always desired (e.g., in high resolution still pictures
of VideoCD 2.0) it must be controlled by the software. The
natural way to obtain this control is using one of the GPI/Os. It is
better to pull this pin down in order for the same layout to support
both the MD207A and the MD208.
dur
= 12, t
rec
= 15) of the MD207/

Related parts for ZR36057