VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    Problem with GXC-MIPI-IMX662

    Scheduled Pinned Locked Moved VEYE MIPI camera
    17 Posts 2 Posters 563 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • veye_xummV Offline
      veye_xumm @alex_ai
      last edited by veye_xumm

      @alex_ai
      Good news — I've found a solution to the issue. The camera's MIPI signal needs to be switched to continuous clock (non-discontinuous) mode. You can do this by running the following command: https://wiki.veye.cc/index.php/Gx_mipi_i2c.sh_user_guide#nondiscontinuousmode — or alternatively by setting register 0x44c in veye_viewer.
      After making the change, please use the paramsave command to save the settings to the camera.

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        alex_ai @veye_xumm
        last edited by

        Hi @veye_xumm
        I tried to set value to 1

        rms@raspberrypi10:~/source/raspberrypi_v4l2/gx_i2c_tools $ ./gx_mipi_i2c.sh -r nondiscontinuousmode -b 6
        Read Nondiscontinuous_mode is 1
        

        But when click "Start Show" - no video in veye_viewer (same as in python) just nothing happened (it works when back value to 0)

        Maybe need also change some another parameter?

        veye_xummV 2 Replies Last reply Reply Quote 0
        • veye_xummV Offline
          veye_xumm @alex_ai
          last edited by

          @alex_ai

          @alex_ai said:

          ./gx_mipi_i2c.sh -r nondiscontinuousmode -b 6

          use -w, not -r.
          -w means write.

          A 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @alex_ai
            last edited by

            @alex_ai
            No need to set it up manually anymore! We've updated the driver, so just grab the latest code, compile it, and install it.
            https://github.com/veyeimaging/raspberrypi_v4l2

            1 Reply Last reply Reply Quote 0
            • A Offline
              alex_ai @veye_xumm
              last edited by

              @veye_xumm said:

              use -w, not -r.

              Yes, I know, I just wanted to confirm that nondiscontinuousmode is set to 1 :

              Read Nondiscontinuous_mode is 1
              

              I installed new driver and no differences - no video for value 1

              My PiOs : 6.18.39+rpt-rpi-2712
              dmesg log:

              [    2.624024] gxcam 10-003b: veye gx series camera driver version: 01.00.04
              [    2.624247] gxcam 10-003b: no reset gpio provided
              [    2.685103] gxcam 10-003b: camera is: GXC-MIPI-IMX662
              [    2.688265] gxcam 10-003b: VideoModeCap: 0x2
              [    2.706466] gxcam 10-003b: gxcam_enum_controls success
              

              example of veye_viewer and no video
              veye_viewer1.png

              veye_xummV 1 Reply Last reply Reply Quote 0
              • veye_xummV Offline
                veye_xumm @alex_ai
                last edited by

                @alex_ai
                Register 0x44c should indeed be configured to 1.
                This is quite strange, as the image preview works perfectly on our end with the exact same configuration.

                1. Are you viewing the image via remote desktop?
                2. Under the same conditions, does setting register 0x44c to 0 produce an image (with jitter), while setting it to 1 results in no image at all?
                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  alex_ai @veye_xumm
                  last edited by

                  @veye_xumm said:

                  Are you viewing the image via remote desktop?

                  yes, also just tried with hdmi - same

                  @veye_xumm said:

                  Under the same conditions, does setting register 0x44c to 0 produce an image (with jitter), while setting it to 1 results in no image at all?

                  yes, it works if set 0 with jitter and no image with value 1, I recorded video to demo

                  test_3x264.mp4.txt

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    alex_ai @alex_ai
                    last edited by

                    Just tried to run it on Rpi4 (bookworm 6.12)
                    It is same: no image for setting 1 but for 0 - no jitter!

                    Probably this issue only for Rpi5 (trixie 6.18).

                    Not sure how it works for you with value 1, I tested on 2 devices and it same no image for value 1

                    veye_xummV 2 Replies Last reply Reply Quote 0
                    • veye_xummV Offline
                      veye_xumm @alex_ai
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • veye_xummV Offline
                        veye_xumm @alex_ai
                        last edited by

                        @alex_ai

                        1. Roll back yesterday's driver update. For Raspberry Pi, keep using the MIPI clock discontinuous mode.
                        2. Upgrade the camera firmware. Please refer to this link: https://wiki.veye.cc/index.php/GX_camera_firmware_update_manual and update the camera to version GXC-MIPI-IMX662_C1.34_L2.19_20261014_upgrade.bin.

                        This should resolve your issue.

                        It appears that the piOS update changed the MIPI signal timing requirements on the Raspberry Pi 5 (which uses the RP1 chip to receive the MIPI signal).

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          alex_ai @veye_xumm
                          last edited by

                          @veye_xumm said:

                          This should resolve your issue.

                          The issue finally fixed, thank you for support!

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post