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

    在Xavier-NX定制载板上使用sc132

    Scheduled Pinned Locked Moved CS MIPI camera
    4 Posts 2 Posters 1.2k 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.
    • J Offline
      jianping
      last edited by

      您好,
      我在NX的定制载板上使用sc132。之前已经在改载板上配置了RPI Camera V2 相机,可以正常使用。我根据sc132的配置信息,修改了dts文件,但是没有识别sc132相机。以下是log信息。帮我看看是哪里有问题。
      nvidia@nvidia-desktop:~$ dmesg | grep cssc132
      [ 2.030830] cssc132 1-0010: probing v4l2 sensor
      [ 2.031136] cssc132 1-0010: tegracam sensor driver:cssc132_v2.0.6
      [ 2.031649] cssc132 1-0010: cs_sc132_board_setup: error during i2c read probe (-121)
      [ 2.031653] cssc132 1-0010: board setup failed
      [ 2.031733] cssc132: probe of 1-0010 failed with error -121
      [ 3.348546] cssc132 8-0010: probing v4l2 sensor
      [ 3.348763] cssc132 8-0010: tegracam sensor driver:cssc132_v2.0.6
      [ 3.348991] cssc132 8-0010: cs_sc132_board_setup: error during i2c read probe (-121)
      [ 3.348994] cssc132 8-0010: board setup failed
      [ 3.349084] cssc132: probe of 8-0010 failed with error -121

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

        @jianping
        还是i2c不通。
        按照log,您修改的dts文件,应该是按照

        1. i2c总线1和8访问摄像头,这个需要您确认跟硬件的设计一致。
        2. 摄像头的device address,您配置为0x10,这个跟我们模组不一致。我们模组的i2c地址是0x3b。

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

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jianping @veye_xumm
          last edited by

          @veye_xumm
          安装您说的,我修改成0x3b,现在正常了。用什么命令打开相机呢,是用nvgstcapture1.0打开相机吗?
          nvidia@nvidia-desktop:~$ dmesg | grep cssc132
          [ 1.958535] cssc132 1-003b: probing v4l2 sensor
          [ 1.958895] cssc132 1-003b: tegracam sensor driver:cssc132_v2.0.6
          [ 1.960410] cssc132 1-003b: read sensor id 0132
          [ 1.960415] cssc132 1-003b: camera id is cs-mipi-sc132
          [ 1.960455] cssc132 1-003b: Detected CS_MIPI_SC132 camera
          [ 3.246782] cssc132 8-003b: probing v4l2 sensor
          [ 3.247026] cssc132 8-003b: tegracam sensor driver:cssc132_v2.0.6
          [ 3.247278] cssc132 8-003b: cs_sc132_board_setup: error during i2c read probe (-121)
          [ 3.247280] cssc132 8-003b: board setup failed
          [ 3.247341] cssc132: probe of 8-003b failed with error -121
          [ 3.263053] tegra194-vi5 15c10000.vi: subdev cssc132 1-003b bound

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

            @jianping
            http://wiki.veye.cc/index.php/VEYE_CS_Camera_for_Jetson_TX2#Gstreamer_Usage
            可以先试试这个。其他的参考上面的这个链接。

            gst-launch-1.0 v4l2src ! "video/x-raw,format=(string)UYVY, width=(int)1280, height=(int)1080, framerate=(fraction)45/1" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvoverlaysink sync=false
            

            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

            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