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

    树莓派64位连接CS-MIPI-IMX307问题

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    26 Posts 2 Posters 11.0k 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.
    • F Offline
      fancong @veye_xumm
      last edited by

      @veye_xumm 我看你们文档里面有说明:
      "对于只有1个MIPI CSI-2口的树莓派主板,i2c总线序号是10。如果你的piOS很老,那么有可能是0。"
      默认是10吧

      1 Reply Last reply Reply Quote 0
      • F Offline
        fancong @veye_xumm
        last edited by fancong

        @veye_xumm 我换了一个树莓派4B,按照经典方案进行验证,可以得到如下信息,但是只有video10,没有video0:
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f devid
        hardwareid is 0x 2
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f hdver
        hardware logic version is 0x33
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f firmwarever
        r firmware version is 2.35
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f productmodel
        PRODUCT MODEL is CS-MIPI-IMX307
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f camcap
        r camera capbility 0x0005
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f videofmtcap
        camera support videofmt num 3
        r videofmtcap num 1 width 1920 height 1080 framerate 30
        r videofmtcap num 2 width 1280 height 720 framerate 60
        r videofmtcap num 3 width 640 height 480 framerate 130
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f videofmt
        r old type videofmt width 1920 height 1080 framerate 30
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -w -f videofmt -p1 1920 -p2 1080 -p3 10
        w old videofmt width 1920 height 1080 framerate 10
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f ispcap
        r ispcap 0x17
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -w -f videofmt -p1 1920 -p2 1080 -p4 0.20
        w new type videofmt width 1920 height 1080 framerate 0.20
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f i2caddr -d i2caddrnow
        r i2caddr 0xff
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -w -f i2caddr -p1 newi2caddr -d oldi2caddr
        ./cs_mipi_i2c.sh: line 586: printf: newi2caddr: invalid number
        w i2caddr 0x 0 and save
        w paramsave,all param will write to flash
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -w -f paramsave
        w paramsave,all param will write to flash
        pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -w -f sysreset
        w sysreset,all param will reset
        这个能表示检测到了摄像头了吗? 但是为啥是video10呢?用的树莓派4B

        1 Reply Last reply Reply Quote 0
        • F Offline
          fancong @veye_xumm
          last edited by

          @veye_xumm 你们的文档里面关于树莓派CM4的连接写的是:
          "树莓派经典版型硬件连接所使用的为FFC异面线,如右图所示
          树莓派Computer Module硬件连接所使用的为FFC同面线,如右图所示"
          我这边需要使用同面的FFC吗?

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

            @fancong

            pi@raspberrypi:bin$ ./cs_mipi_i2c.sh -r -f productmodel

            PRODUCT MODEL is CS-MIPI-IMX307

            你现在4b上i2c已经通了,CM上面不通,由于你的底板是第三方的,我不确定需要用什么线。
            你最好直接根据你底板的接口定义,接插件接触面,线的方向,我们相机的引脚定义,确认一下。
            https://wiki.veye.cc/index.php/CS-MIPI-IMX307_STARVIS_Module/zh

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            F 2 Replies Last reply Reply Quote 0
            • F Offline
              fancong @veye_xumm
              last edited by

              @veye_xumm 相机在jetson nano上面能正常出图,所以相机硬件没啥问题,就是在cm4上面不行,微雪的cm4-io-baseA上面也不行,好奇怪

              1 Reply Last reply Reply Quote 0
              • F Offline
                fancong @veye_xumm
                last edited by

                @veye_xumm 楼主,我用的这个微雪的树莓派CM4扩展板,
                https://www.waveshare.net/wiki/CM4-IO-BASE-A
                能麻烦帮我看看么?

                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