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

    RAW-MIPI-AR0234M模块没有树莓派,可不可以用单片机模拟IIC主机,如何直接配置传感器

    Scheduled Pinned Locked Moved VEYE MIPI camera
    raw-mipi-ar0234m模块mcu bypass mode
    5 Posts 2 Posters 2.1k 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
      liubo1999
      last edited by

      我有一个RAW-MIPI-AR0234M模块,没有树莓派开发板,因此也没办法用脚本来配置模块,所以想通过单片机来模拟树莓派,去配置RAW-MIPI-AR0234M模块。
      现在有几个问题:
      1 单片机模拟I2C主机是使用标准I2C协议吗?有没有相关的例程?
      2 如果我想把RAW-MIPI-AR0234M模块配置成,用户直接操作传感器的模式是不是只需要修改MCU bypass mode即可?使能值是否为“1”?
      3 更改成用户直接配置传感器的模式后,是不是参考AND9812-D(AR0234RR).PDF文档的寄存器表,对传感器进行配置?
      小白一个,刚开始学习,请前辈们指导一下

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

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

          @liubo1999

          @liubo1999 said in RAW-MIPI-AR0234M模块没有树莓派,可不可以用单片机模拟IIC主机,如何直接配置传感器:

          1 单片机模拟I2C主机是使用标准I2C协议吗?有没有相关的例程?
          是的。没有。

          @liubo1999 said in RAW-MIPI-AR0234M模块没有树莓派,可不可以用单片机模拟IIC主机,如何直接配置传感器:

          2 如果我想把RAW-MIPI-AR0234M模块配置成,用户直接操作传感器的模式是不是只需要修改MCU bypass mode即可?使能值是否为“1”?

          是的。如果你想要把这个模式保存到相机里面,可以写寄存器0x0018为1一次。

          @liubo1999 said in RAW-MIPI-AR0234M模块没有树莓派,可不可以用单片机模拟IIC主机,如何直接配置传感器:

          更改成用户直接配置传感器的模式后,是不是参考AND9812-D(AR0234RR).PDF文档的寄存器表,对传感器进行配置?

          是的。此模式下如有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
            liubo1999 @veye_xumm
            last edited by liubo1999

            @veye_xumm 你好,现在我用单片机可以读取到设备信息,比如说“Manufacturer Name”这些,但是我设置“MCU bypass mode”模式后,读取0x0424寄存器地址的数据全是0x00,请问是不是我设置的报文发送的不正确?举个例子,数据类型是bool的数据,我可以发一个字节作为设置值吗?还是说必须一次设置4个字节?还有一个问题,就是说,如果成功设置成为“MCU bypass mode”模式后,是不是仍然在当前的I2C总线上与传感器通讯?MCU只是作为透传功能是吗?

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

              @liubo1999

              读取0x0424寄存器地址的数据全是0x00,请问是不是我设置的报文发送的不正确?举个例子,数据类型是bool的数据,我可以发一个字节作为设置值吗?还是说必须一次设置4个字节?

              所有数据类型,都是必须使用4个字节的。

              还有一个问题,就是说,如果成功设置成为“MCU bypass mode”模式后,是不是仍然在当前的I2C总线上与传感器通讯?MCU只是作为透传功能是吗?

              设置之后,电路上外部与sensor的i2c通信不经过mcu,是直接联系的。i2c地址也是各自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.)

              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