AnsweredAssumed Answered

ADV212 custom-specific mode problem

Question asked by DZL on Jun 2, 2015
Latest reply on Jul 29, 2015 by DaveD

Hello,


This is custom-specific mode application

 

Initial order and data is


ADDR == 0xE    HDATA == 0x00000008     //PLL_HI

ADDR == 0xF    HDATA == 0x00000084     //PLL_LO


wait 20us


ADDR == 0xD    HDATA == 0x 0000008A     //BOOT

ADDR == 0x8     HDATA == 0x 0000000A     //BUSMODE

ADDR == 0x9     HDATA == 0x0000000A     //MMODE

 

LOAD FIRMWARE

IADDR == 0x00050000H

IDATA == firmware ………

 

ADDR == 0xD    HDATA == 0x0000008D   //BOOT

ADDR == 0x8     HDATA == 0x0000000A  //BUSMODE

ADDR == 0x9     HDATA == 0x0000000A  //MMODE

 

//encode parameters

IADDR == 0x00057f00 

IDATA == 0x40000503 

IDATA == 0x01000000

IDATA == 0x02000600

IDATA == 0x00410001

 

//indirect registers

IADDR == 0xffff0400

IDATA == 0x00000004

IADDR == 0xffff040c

IDATA == 0x00000258  //XTOT 600

IADDR == 0xffff0410

IDATA == 0x000002ad  //YTOT 685

IADDR == 0xffff0414

IDATA == 0x00000001

IADDR == 0xffff0418

IDATA == 0x00000000

IADDR == 0xffff041c

IDATA == 0x0000002e

IADDR == 0xffff0420

IDATA == 0x00000000

IADDR == 0xffff0424

IDATA == 0x000002ad

IADDR == 0xffff0428

IDATA == 0x00000000

IADDR == 0xffff042c

IDATA == 0x00000001

IADDR == 0xffff0430

IDATA == 0x000001e0

IADDR == 0xffff0448

IDATA == 0x0000000f

IADDR == 0xffff044c

IDATA == 0x00000086

//

IADDR == 0xffff141c

IDATA == 0x00000002   //FFTHRC

 

IADDR == 0xffff1408

IDATA == 0x00000002   //EDMOD0

 

ADDR == 0x5    HDATA == 0x00000400  //EIRQIE

 

IRQ/ pin asserted

 

IADDR == 0xffff1408

IDATA == 0x00000003  //EDMOD0

 

//check firmware correctly loaded

ADDR == 0x7  //READ SWFLAG is 0xFF82 or not

 

ADDR == 0x6    HDATA == 0xffffffff   //CLEAR flags

 

READ CODE FIFO while DREQ0/ is asserted

 

vedio data format see the figure in the pdf file. my vedio is 480*640 50hz,pixel data is 8-bit.VCLK is 21MHz,MCLK is 75MHz.


1. Is there any mistakes in my initial flow? why the dreq0 signal is always high and never goes low?(I can get the 0xFF82)



Attachments

Outcomes