MIPI Aistarvision Mezzannine Adapter board v2.4 and RZG2 interface with OV5645

Hi Team,

I am trying to Connect Ov5645 MIPI CSI2 camera using Mezannine adapter v2.4  with RZG2M  Hihope v4.0 board.

After power on i dont see any video or media instances being generated for MIPI camera.

Can i please get the hardware and software configuration for succesfully interfacing the CSI2 camera with RZG2M. Also this is to inform that am working on yocto bsp.

thanks and regards.

Parents Reply
  • Once the video device has been created using media-ctl, try this pipeline:

    gst-launch-1.0 -v v4l2src device=/dev/video1 ! 'video/x-raw,format=UYVY,width=1280,height=960,framerate=30/1' ! vspmfilter dmabuf-use=true ! 'video/x-raw,format=BGRA' ! waylandsink

    You would need to adjust video device and resolution.

Children
  • Thankyou Micbus for the command.

    We were able to interface first Mipi camera with RGZG2M board.

    Now, the second camera , is not getting detected as any I2C instance. How to resolve this.

    We have updated the dts file and adapter is getting shown up, but camera detection isnt't happening.

    Will be gratefull if you, Please guide for the issue.

  • What is the HW configuration of your MIPI mezzanine board? How did you configure J13 and J15?

    Note that the correspondance between mezzanine and RZ/G2 is respectively:

    I2C0 = I2C0 (low speed connector)

    I2C1 = I2C3 (low speed connector)

    I2C2 = I2C2 (high speed connector)

    I2C3 = I2C5 (high speed connector)

  • Please find the Connection of the J13 ,J14 and J15 connection in the Pic.

    Clock connection of J14 is 1-2 and 7-8

    this is the same connection i am trying to impelment both the cameras, of which 1st one with i2c2 got working. I have tried updating the i2c3 instead of i2c5, but then too i am facing similar problem. Cannot see any i2c slave on i2c3.

  • According to J13 jumper configuration both CAM1 and CAM2 are connected to I2C2... Do you agree?

  • CAM1 and CAM 2 are connected to 12C2 and I2C5 with respect to rzg2m Hihope board pinouts. CN1701 is the connecter at which J13 of Camera adapter board fits in.

  • I tend to disagree. CN1701 is the high-speed connector and CN1801 is the low speed connector. Mezzanine J13 is not directly fitted into CN1801, J7 is.

    According to the picture you sent, since you have jumpers on J13 15-16, 17-18, 19-20 and 21-22, it means that both CAM1 and CAM2 I2C are connected to mezzanine I2C2 that, as per correspondance table above, is connected to RZ/G2M I2C2 via the high speed connector.

    IMHO if you want to have CAM2 on RZ/G2M I2C5 then you have to wire up J13 16-18 with J15 18-20 (mezzanine I2C3), obviously disconnecting the jumpers.