beautypg.com

A.3 commands intended for debug/lab use only, Udc-3g-xmux4+ rev. c – Nevion UDC-3G-XMUX4+ User Manual

Page 53

background image

UDC-3G-XMUX4+

Rev. C


nevion.com | 53


(y | cb | cr)

vprc 0 y 1.0000 0
vprc 0 cb 1.0000
0
vprc 0 cr 1.0000
0

fixed point numbers. Gain is in
2.13-format, while offset for Y and
the chroma channels are given in
10.2 and 9.2 respectively.
Gain range is 0 – 3.9999, Gain

=0x

= 0, Gain

=1x

= 1.0, Gain

~4x

=

3.9999
Luma Offset range is -511.75 –
511.75, Offset

=0

= 0

Chroma Offset range is -255.75 –
255.75, Offset

=0

= 0

A.3 Commands intended for debug/lab use only

Block Blk#

Commands

example

Response

Control

spi

-

on | off

spi on
spi off

spi off used to isolate the uC from the
SPI lines during programming of the
flash by external programmer. spi on
must be issued in order to re-enable
normal card operation with the uC as
the SPI master.

spir

-

spir 0x0004

Read a single word (or byte) from SPI
registers. Addressing is 16b and most
significant nibble determines which
chip. These are the address ranges:
0x0000 – 0x0fff : iChip
0x1000 – 0x1fff : de-serializer
0x2000 – 0x2fff : FPGA
0x3000 – 0x3fff : flash
0x4000 – 0x4fff : serializer
0x5000 – 0x5fff : F-RAM

spiw

-

spiw 0x0004 0x2c

With the same address ranges as for
spir above, this command allows the
user to modify SPI registers.

thebug -

-

thebug

A collection of debug information that
is presented in a Multicon GYDA
block-like format. First line tells
which image is currently loaded.
Second line contains the filename and
version of the uC software, including
the AVR controller it was compiled
for. The third line contains the SW
flags in uC, the number of times the
watchdog timer has kicked in, readout
of dip-switches, input select for
deserializer, SDOn on/off, slew rates,
and status for the video changeovers.
The next two lines contain raster
information from the deserializer and
serializer respectively, while the next
two lines contain sample values for
mlines and VCXO.