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.
IADDR=0x00057F00 //firmware parameters
EIRQIE=0x00000400 //then I get SWFLG=0x0000FF82
EDMOD0=0x00500000//burst length =16
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.