46
Video Input/Output Daughter Card
UG235 (v1.2.1) October 31, 2007
Chapter 6:
SDI Interface
R
The code running on the PicoBlaze processor also provides an interactive debugging
capability for viewing and changing the contents of the registers in the ADV7321B encoder.
A ChipScope™ Pro VIO module is instantiated in the design to provide the user interface
to this debugging capability.
With the demo design loaded in the Virtex-II Pro FPGA on the VIODC, the debugger can
be activated by starting ChipScope Pro and loading the
adv_debugger.cpj
ChipScope
project. This project opens a VIO console as shown in
.
To read a register in the ADV7321B video encoder, simply type the register number in hex
in the Register Address field and click on the Read Strobe button. The data read from the
register is displayed in the Read Data field.
To write a register, type the register number in hex in the Register Address field and the
data to be written in hex in the Write Data field then click on the Write Strobe button. The
debugger will always do a read of the register after it is written and display the updated
value in the Read Data field.
lists the settings of the ADV7321B registers when running in HD mode. Register
10 varies depending on the video format and is listed separately in
.
lists the settings used when the running in SD NTSC mode and
for SD
PAL mode.
Figure 6-2:
ADV7321B Debugger
Click here to reset the ADV7321B register
Enter register number of ADV7321B register to
be read or written here. Value is in hex.
Enter data to be written to ADV7321B register
here. Data is in hex.
Click here to write data to ADV7321B register.
Data read from ADV7321B register is
displayed here in hex.
Click here to read data from ADV7321B register.
ug235_ch6_02_111405
Table 6-2:
ADV7321B Register Settings for HD
Register Name
Address
Value
Description
Power mode
0x00
0xFC
Enable DACs
Mode select
0x01
0x20
HD input only
HD mode 2
0x11
0x01
Pixel data valid bit set to 1
HD mode 3
0x12
0x00
Set all delays to 0
HD mode 4
0x13
0x44
Set for 4:2:2 sampling and 10-bit data input
www.BDTIC.com/XILINX