This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to connect BT656 interlaced camera unit to DM365

 

Please tell me how to set VPFE registers for BT656 interlaced camera.

 

+Camera Unit Spec

 BT.656 interlaced YUV 8bit

 Pixel Clock 27MHz

 Width 720pixel

 Height 480pixel

 Pixel Sequence UYUV...

 Line Sequemce

  Blanking 20line

  not Blanking field#0 240line(Valid)

  not Blanking field#0   2line(Not Valid)

  Blanking 21line

  not Blanking field#1 240line(Valid)

  not Blanking field#1   2line(Not Valid)

 

 

I set  VPFE registers as the following value.

 LNH=1440

 SPH=0

 LNV=240

 SLV0=20

 SLV1=21

 HNUM=720

 VNUM=480

 

+MODESET

 INPMOD=2(YCbCr8bit)

 CCDMD=1(Interlaced)

 

+ISIF

 HSIZE=45 (45*32=1440)

 SDOFST=0x0000

 REC656IF=1 (656 ON)

 CCDCFG.Y8POS=1(odd)

 

 CCDCFG.BW656=0 (8bit)

 CCDCFG.YCINSWP=1 (because I connect Video Data to YIN0-7)

 CCDCFG.SORPACK=2 (8bit/pixel)

 

 

But I got the image as this attaced jpeg file.

 

」」

 

I fail or miss some setting of VPFE.

Please tell me about proper settings.

 

Regards,

Damien

  • HI there,

     

    I use Appro's IPNC reference board.

     

    I changed as follows:

    1.drv_isif.c

     drv_isifOpen() function

       bufsize malloc:

          before: 720 x 2 x 240 bytes

          after:    720 x 2 x 480 bytes

     

    2.ISIF setting

      SDOFST(SDRAM Line offset)

        FINV=0

        FOFST=0

        LOFST0=1

        LOFST1=1

        LOFST2=1

        LOFST3=1

     

    After changing setting as above, I saw that the image's line sequence was proper.

    (Odd field and even field were merged properly.)

     

    But movie is still strange seeing.

    If the objects move, the motion image is jumply.

     

    Please tell me how to set CSL or some register proper setting.

     

    Regards,

    Damien

  • Hi there,

     

    Damien said:

    motion image is jumply

    I can see better video image with using filters.

     

    But on MJPEG, I cannot control quality.

     

    Regards,

    Damien