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

    相机采集图像阻塞

    Scheduled Pinned Locked Moved VEYE MIPI camera
    37 Posts 4 Posters 17.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.
    • L Offline
      lin @veye_xumm
      last edited by

      @veye_xumm 设备树OK3588-C-Camera.txt 拓扑图已经生成了拓扑图.txt ,哪里可能会导致阻塞呀?

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

        @lin
        看你的拓扑图:

        - entity 48: m00_b_mvcam 7-003b (1 pad, 1 link)
                     type V4L2 subdev subtype Sensor flags 0
                     device node name /dev/v4l-subdev2
                pad0: Source
                        [fmt:Y8_1X8/1920x1200@100/6000 field:none]
                        -> "rockchip-csi2-dphy1":0 [ENABLED]
        

        你这边设定i2c-7接口配套的mipi硬件接口是:csi2-dphy1
        真的是这样的吗?

        我给你的我们调过的那个dts,用的可是csi2-dphy0啊!

        baf36233-e256-4ca2-b12d-b5c3fd93661a-image.png

        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.)

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          lin @veye_xumm
          last edited by

          @veye_xumm said in 相机采集图像阻塞:

          i2c-7接口配套的mipi硬件接口

          硬件接口是这样的,39bbed92-b702-4ddd-b2d1-67653a8fcf90-企业微信截图_17177212345917.png
          我将接口节点换成csi2-dphy0也还是无法采集到图像数据

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

            @lin 你是用的OK3588-C这个开发板吗?

            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.)

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              lin @veye_xumm
              last edited by

              @veye_xumm 是的

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                lin @lin
                last edited by

                @lin 能否添加您的邮箱,我们这边相机驱动调试还是有问题?

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

                  @lin said in 相机采集图像阻塞:

                  OK3588-C这个开发板,我之前贴的这个dts是调试过的。

                  没有要求,相机自己有时钟。

                  OK3588-C-Camera.dtsi中,i2c-7这一路,你可以参考一下下面这部分代码。

                  你直接用这个dts,然后配合我们官方发布的驱动。
                  在加上这个链接提示的问题点:https://wiki.veye.cc/index.php/FAQ_on_RK35xx_Platform/zh

                  应该可以直接调通i2c-7这一路才对。

                  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.)

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    lin @veye_xumm
                    last edited by

                    @veye_xumm said in 相机采集图像阻塞:
                    我已经全部按照您说的进行了修改,但是相机还是无法出图,内核打印信息2.txt ,efedde5a-872d-4ed1-92b8-39639606c76e-image.png
                    这和这个有关系吗?cab69001-dcf2-4f8b-9966-fbffc6f90b9a-image.png

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

                      @lin said in 相机采集图像阻塞:

                      我已经全部按照您说的进行了修改,但是相机

                      你用的相机型号是什么? 用哪个命令做的取图?

                      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.)

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        lin @veye_xumm
                        last edited by

                        @veye_xumm 相机型号:raw-mipi-ar0234m,使用的抓图命令是:v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1200,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8.raw

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

                          @lin said in 相机采集图像阻塞:

                          @veye_xumm said in 相机采集图像阻塞:
                          我已经全部按照您说的进行了修改,但是相机还是无法出图,内核打印信息2.txt ,efedde5a-872d-4ed1-92b8-39639606c76e-image.png
                          这和这个有关系吗?cab69001-dcf2-4f8b-9966-fbffc6f90b9a-image.png

                          应该跟这个没关系。

                          @lin said in 相机采集图像阻塞:

                          相机型号:raw-mipi-ar0234m,使用的抓图命令是:v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1200,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8.raw

                          你这个命令也没有问题。

                          很奇怪,按理说应该不会有这些mipi协议上的错误,请拍一下你的硬件系统图给我看看。

                          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.)

                          L 1 Reply Last reply Reply Quote 0
                          • L Offline
                            lin @veye_xumm
                            last edited by

                            @veye_xumm OK3588开发板mipi接口60ebcdfb-0f74-4b99-b113-13b2ca28bbac-image.png
                            自己画的转接板
                            b1f820ad-b54f-4227-be8d-880b0fcbd111-企业微信截图_17182586531576.png
                            26fdf465-6f53-4c10-b657-37a1009dabae-企业微信截图_17182586821759.png [图片]
                            9bfba84a-8616-444b-af02-36a3c1e01214-企业微信截图_17182586949890.png [图片]
                            de4890d5-2c10-470c-b19c-fd7f09635cb1-企业微信截图_17182587081125.png [图片]

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

                              @lin
                              6eb4f1ab-76ae-442c-b86a-93378244219d-818b208204b637ea6a7a35d73b28d31.png

                              确认下这个3.3V是否稳定输出(幅值>3.2V)。100mA@1.2V(或1.5V)看起来功率是不够用的。

                              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.)

                              L 1 Reply Last reply Reply Quote 0
                              • L Offline
                                lin @veye_xumm
                                last edited by

                                @veye_xumm电源测量结果: ec3401ed-fcd4-4c47-971f-7c29209314bc-676c3e3dd647716c5d7ea20b62b5caf1.jpg [图片]
                                功率不够需要怎么解决,外加电源吗?功率需达到多少可以呢?

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

                                  @lin
                                  功耗是657mW
                                  https://wiki.veye.cc/index.php/RAW-MIPI-AR0234M_Data_Sheet/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.)

                                  L 0 2 Replies Last reply Reply Quote 0
                                  • L Offline
                                    lin @veye_xumm
                                    last edited by

                                    @veye_xumm 代码:v4l2-ctl --verbose -d /dev/video0 --set-fmt-video=width=1920,height=1200,pixelformat='NV12' --stream-mmap=4
                                    电源测量结果:
                                    f5b70f8d-fbfc-44ac-bc9a-8fc16aec75a4-d8b362d55aee2dc9f2ffe536686c8063.jpg [图片]

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

                                      @lin 那就明确了问题所在。你可以先从主板上飞线一个3.3V先测着看看。

                                      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.)

                                      L 1 Reply Last reply Reply Quote 0
                                      • L Offline
                                        lin @veye_xumm
                                        last edited by

                                        @veye_xumm 现在不阻塞了,但是采集后保存的图像文件是0字节??3e5ca198-61fa-45e5-adef-e83dfd4ded92-image.png

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

                                          @lin https://wiki.veye.cc/index.php/FAQ_on_RK35xx_Platform/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.)

                                          L 1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            lin @veye_xumm
                                            last edited by

                                            @veye_xumm 可以采集了,能否请教一下两者的区别在哪里呢?

                                            veye_xummV 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