Other Parts Discussed in Thread: SYSBIOS
Hello!
I'm trying to store raw Bayer video data coming from AR0330 videosensor to parallel port of DM385
So I'm using CAMERA_LINK_CAPMODE_DDR mode when data are stored to SDRAM fom ISIF
Resolution is 1920x1080
Here are IPIPIF/ISIF setings^
[m3vpss ] ISS_CLKSTAT REG f0000013
[m3vpss ] Capt addr b841c480
[m3vpss ] IPIPEIF ENABLE 0, CFG1 0
[m3vpss ] IPIPEIF RSZ 10, GAIN 200
[m3vpss ] IPIPEIF DPCM 0, CFG2 6
[m3vpss ] IPIPEIF INIRSZ 0, OCLIP fff
[m3vpss ] ISIF SYNCEN 3, CGAMMAWD 0
[m3vpss ] ISIF HSIZE 78, CADU 5c2
[m3vpss ] ISIF MODESET c CCOLP 1b1b
[m3vpss ] ISIF SPH e, LNH 77f
[m3vpss ] ISIF LNV 437, VDINT0 433
[m3vpss ] ISIF FMTCFG 0 FMTPLEN 0
[m3vpss ] ISIF FMTSPH 0 FMTLNH 0
[m3vpss ] ISIF FMTRLEN 0 FMTHCNT 0
But in my SDRAM data, every valid 1920 pixel video line is followed by
another line with 480 pixels of zero data and 1440 pixels of garbage (0x8080).
It looks to me like ISIF after storing 1920 pixels in line doesn't stop and continues
till the end of HSYNC pulse (which makes 480 more zero pixels) and then upon reception of new sync front starts new
line and offsets to its beginning, leaving the rest of memory (1440 pix) to be filled with 0x8080 pattern
Isn't ISIF supposed to store in RAM just amount of pixels programmed in LNH register and wait till beginning of new line?
Do I have to format data with input formatter?
Thanks a lot
German Baranov