AnsweredAssumed Answered

adv212 HIPI mode problem

Question asked by llc on Jan 12, 2015
Latest reply on Feb 9, 2015 by llc


Hi:

     I am using adv212 in HIPI mode.There are some questions to ask.

     I use adv212 in HIPI mode for encode.Below are some value I gave to the registes.

 

   

 

     PLL_HI=0x00000008

     PLL_LO=0x00000084

     .......

     IADDR=0x00057F00 //firmware parameters

     IDATA=0x04000503

     IDATA=0x03000000

     IDATA=0x00000000

     IDATA=0x00000003

     ......

     PMODE1=0x00140000

     XTOT=0x02580000  //600

     YTOT=0x03200000     //800

     F0_START=0x00010000

     F1_START=0x00000000

     V0_START=0x00000000

     V1_START=0x00000000

     V0_END=0x00000000

     V1_END=0x00000000

     PIXEL_START=0x00000000

     PIXEL_END=0x00000000

     PMODE2=0x00010000

     VMODE=0x00120000

     ......

     EIRQIE=0x00000400 //then I get SWFLG=0x0000FF82

     EDMOD0=0x00500000//burst length =16

     EDMOD0=0x00510000

     EDMOD1=0x00520000

     EDMOD1=0x00530000

     EIRQFLG=0x0000FFFF//after this step I wait for DREQX to write or read

 

     I read the SWFLG.The value is FF82.MCLK = 70MHZ.The pixel data on HDATA[31:0] I always give 0x33333333.After I write 0x0000FFFF to EIRQFLG I found DREQ0 asserted.Then I write pixel 0x33333333 to pixel fifo.At the beginning,there are less than 6 DREQ0.After about 10ms,I received continuous DREQ0.And I give pixel to adv212.After I give some pixel data to adv212(about one frame pixel data) I can not find DREQ0 or DREQ1 asserted.I think adv212 receive one frame pixel data,but I do not know why there is not compress data in code fifo.

     Any advise is appreciated.

     Thank you!

Outcomes