kalma

ADV212 Raw mode problem

Discussion created by kalma on Feb 10, 2011
Latest reply on Mar 23, 2011 by DaveD

Hello,

 

We are trying to use ADV212 in raw mode controlled by FPGA. We input data by VDATA interface and expect compressed data on HDATA. The problem is that after asserting VSTRB ADV212 does not assert VRDY. What could be the problem?.

After loading the firmware we check the SWFLAG -  it is OK.

We also checked SCOMM[3..0] and it seems to stop at 7.

Below are given the registers we set.

 

Best regards

Konrad and Maciej

 

 

PLL_HI       <- 0x0008

wait4 20us

PPL_LO       <- 0x0004

wait4 20us

BOOT         <- 0x008a

wait4 20us

BMODE        <- 0x0005

MMODE        <- 0x0005

 

\\LOAD FIRMWARE

STAGE        <- 0x0005

IADDR        <- 0x0000

IDATA        <- 0xe59f

IDATA        <- 0xf018

.

.

.

IDATA        <- 0x0000

 

 

BOOT         <- 0x008d

wait4 20us

BMODE        <- 0x0025

MMODE        <- 0x0005

 

\\ENCODE PARAMETERS

STAGE        <- 0x0005

IADDR        <- 0x7f00

IDATA        <- 0x0400

IDATA        <- 0x0503

IDATA        <- 0x0100  

IDATA        <- 0x0000

IDATA        <- 0x0200  

IDATA        <- 0x0600  

IDATA        <- 0x000f

IDATA        <- 0x0001  

 

\\INDIRECT REGISTERS

MMODE        <- 0x0009

STAGE        <- 0xffff

IADDR        <- 0x0400

IDATA        <- 0x0004

 

STAGE        <- 0xffff

IADDR        <- 0x040c

IDATA        <- 0x0280

IDATA        <- 0x01e0

IDATA        <- 0x0000

IDATA        <- 0x0000

IDATA        <- 0x0001

IDATA        <- 0x0000

IDATA        <- 0x01e0

IDATA        <- 0x0000

IDATA        <- 0x0001

IDATA        <- 0x0280

 

STAGE        <- 0xffff

IADDR        <- 0x0448

IDATA        <- 0x003f

IDATA        <- 0x0022

 

 

STAGE        <- 0xffff

IADDR        <- 0x141c

IDATA        <- 0x0062    FFTHRC

 

STAGE        <- 0xffff

IADDR        <- 0x1408

IDATA        <- 0x0002    EDMOD0

 

EIRQIE       <- 0x0400  

wait for IRQ (low)

EIRQFLG[10]  -> 1

SWFLAG       -> 0xff82 (OK)

 

BMODE        <- 0x0025

STAGE        <- 0xffff

IADDR        <- 0x1408

IDATA        <- 0x0003    EDMOD0

 

EIRQFLG      <- 0xffff

 

VSTRB        <- '1'

Outcomes