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

    相机驱动

    Scheduled Pinned Locked Moved VEYE MIPI camera
    38 Posts 3 Posters 18.8k 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 @lin
      last edited by

      @lin video22不支持GREY格式,怎么获取经过isp处理后的相机图像呢?该节点的分辨率是多少,直接用v4l2-ctl -d /dev/video22 --set-fmt-video=width=1920,height=1200,pixelformat=NV12 --stream-mmap --stream-count=1 --stream-to=y8.raw无法获取到图像,阻塞住了

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

        @lin 相机是什么,主板是什么

        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 主板roc-3588s-pc,相机是AR0234M

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

            @lin 这个现在不支持isp_mainpath.

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

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

              那无法获取到经过isp处理后的图像吗?

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

                @lin ar0234是黑白的sensor,你可以直接使用sensor输出的图像做算法计算即可。

                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好的

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

                    5e02f1ec-9b2f-48b6-a6c4-a64680a91dd2-image.png
                    af23b8cc-024a-4319-9a88-6f9adc49d132-image.png 请问,这种情况是因为设备树有问题,还是驱动需要更改呢?

                    &i2c7 {
                    status = "okay";
                    clock-frequency = <400000>;//?

                    cam3_ar0234m_3b: cam3_ar0234m@3b {
                        compatible = "veye1,mvcam1";
                        status = "okay";
                        reg = <0x3b>;
                    
                        clocks = <&ext_cam_clk>;//?
                        clock-names = "xclk";
                        clock-frequency = <24000000>;//?
                    
                        enable-gpios = <&extio EXTIO_GPIO_P05 GPIO_ACTIVE_HIGH>;
                        reset-gpios = <&extio EXTIO_GPIO_P04 GPIO_ACTIVE_LOW>;
                        rockchip,camera-module-index = <0>;
                        rockchip,camera-module-facing = "back";
                        rockchip,camera-module-name = "NC";
                        rockchip,camera-module-lens-name = "NC";
                        port {
                            cam3_ar0234m_3b_out: endpoint {
                                remote-endpoint = <&mipi_in_ucam3_3b>;
                                data-lanes = <1 2>;
                            };
                        };
                    };
                    
                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      lin @lin
                      last edited by

                      @lin fa17f74b-04e8-4ebb-9b58-e903ff8a3cb5-image.png 这个函数报错cfda272c-806a-409c-a6a7-089b58d467f0-image.png

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

                        @lin 如果i2c用的总线没有配置错误,需要检查一下硬件连接是否正确,比如供电、fpc排线方向、poweron那个pin的配置。

                        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 09cab23d-b212-4d88-9720-5044a9e191fe-6bc9afde4424ec08acfc689902c206d5.jpg [图片]没有用到power on引脚

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

                            @lin 0a4117cc-8f57-4c69-a2cb-98a7eb47faba-image.png 开发板csi接口,上面是我们自己画的一个转接板

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

                              @lin 我们相机的i2c是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 enable线外接的底板是1.8v能触发工作吗

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

                                  @lin i2c 、vcc都做了电平转换为3.3v。enable端不做电平转换直接由底板(1.8V)引出连接给相机,会导致无法正常工作吗?最低要求电压是多少?用i2cdetect -y 7检测不到设备
                                  93a5a509-e3b1-4b64-a51a-f524f7a66c5e-image.png

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

                                    @lin
                                    334fbe86-1034-41ae-9437-0f41f32c8ba3-image.png
                                    我们的SYS_RSTn对应的是你的17,现在是NC的,我们内部有上拉,这样i2c应该直接就是通的。你是接到i2c-7上了吗?另外,你的fpc线方向有没有插反了?

                                    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 !是i2c7

                                      e8f962cc-2cc4-48f2-9008-1621852c68f3-image.png

                                      @lin said in 相机驱动:

                                      @lin 0a4117cc-8f57-4c69-a2cb-98a7eb47faba-image.png 开发板csi接口,上面是我们自己画的一个转接板

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

                                        @lin poweron这个引脚在哪里,相机给出的22个引脚中没有

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

                                          @lin

                                          @lin said in 相机驱动:

                                          poweron这个引脚在哪里,相机给出的22个引脚中没有
                                          不好意思,我之前说的就是SYS_RSTn引脚的意思。

                                          拍一下你硬件连接的照片我看看。

                                          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复位端未与底板连接,由于相机上上拉的原因应该是属于持续工作的状态吧? 驱动没加载上的话,i2cdetect 能检测到挂载设备吗?868fc94a-ccc9-477f-ba64-a417a027d43f-image.png

                                            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