Navigation

    全志在线开发者论坛

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

    IIC通信问题异常,该怎么解决呢

    Wireless & Analog Series
    4
    4
    1841
    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
      funfulzhao LV 3 last edited by

      XR806在用IIC1(TWI1 /PB14/PB15)通信的时候,初始化函数IoTI2cInit完,一直打印这个错误信息,而且过一段时间还会重启,这个是怎么回事呢

      d6aca154-d7c0-4dda-8f3e-9eb9131466a0-image.png

      I L 2 Replies Last reply Reply Quote Share 0
      • I
        何镜勇 LV 4 @funfulzhao last edited by

        @funfulzhao 首先这个问题的源码在device/xradio/xr806/xr_skylark/src/rom/rom_bin/src/driver/chip/hal_i2c.c,这个错误是指没有接收到应答.如果是初始化就出现了这个问题,有可能是因为没有上拉电阻,导致数据乱跳导致的.

        1 Reply Last reply Reply Quote Share 0
        • H
          HU_710774265 LV 4 last edited by

          😧 买模块的时候要注意
          啥也不懂可以多找几个一样的去看评论

          1 Reply Last reply Reply Quote Share 0
          • L
            ljfly LV 2 @funfulzhao last edited by

            @funfulzhao 量量波形,sda,scl是不是都有,如果都有的话,写一个程序,扫一下地址,看看实际地址是哪一个,我买了一个iic的屏,地址就跟标的不一致。。。。

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

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

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