Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    全志mipi cci问题求助

    其它全志芯片讨论区
    1
    2
    1121
    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
      Flork LV 4 last edited by

      请问sensor的iic接口是一定要接到mcsi或者ncsi接口上吗,能接到普通iic上吗?

      如果是下面这种共用cci的接法是否可行呢,我用这种接法配置的时候mipi那路摄像头会出现select timeout

        +---------------+             +-----------------------+
        |               |   BT1120    +--------+              |
        |               | ----------> |  NCSI  |              |
        |    SENSOR0    |             +--------+              |
        |               |             |                       |
        |           I2C | ------+     |                       |
        +---------------+       |     |                       |
                                |     |                       |
                                +---> | NCSI0_SCL(SDA)        |
                                |     |                       |
        +---------------+       |     |                       |
        |           I2C | ------+     |                       |
        |               |             |                       |
        |    SENSOR1    |             |                       |
        |               |    MIPI     +--------+              |
        |               | ----------> |  MCSI  |              |
        +---------------+             +--------+              |
                                      +-----------------------+
      
      
      1 Reply Last reply Reply Quote Share 0
      • F
        Flork LV 4 last edited by

        突然想起来之前在这里发过这个问题,现在已经解决了。

        在内核配置.config中将CONFIG_CCI关闭,CONFIG_CCI_TO_TWI打开即可使用普通IIC,之前看文档不够仔细,现在直接将sensor1的SCL和SDA接到普通IIC就可以了。

        # CONFIG_CCI is not set
        CONFIG_CCI_TO_TWI=y
        
        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策