Navigation

    全志在线开发者论坛

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

    AXP2101 IRQ唤醒功能为啥不能用

    其它全志芯片讨论区
    3
    3
    2497
    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.
    • S
      sunblackshine LV 3 last edited by

      在芯片手册上看到
      IRQ pin 拉低可以作为唤醒源
      9536c14a-1dab-487e-acb2-43552086fb66-image.png

      但是实际测试却不行,哪位大神帮忙解答下?
      我是用i2c调试工具,步骤是:

      1. 先将 REG 26H[4] 设置为1(从0x08 写为0x18)
        dd8934bc-812a-4e7f-a8bf-9034240b12c3-image.png

      2. 然后写 REG 26H[0] 为1,进入休眠模式
        d32867d5-3397-4efb-97f1-147400209cff-image.png
        969f9bd7-d444-4c8e-af31-02ea4baf5f2d-image.png

      3. 按下板子上 IRQ pin,(当然有16ms)然后检查REG 26H[0] 寄存器没有恢复到 0,依然为0x19 (0b0001 1001)
        5fda0d27-869a-44fd-8892-7124f00fefbb-image.png

      请问哪位大神知道这是为啥,这功能还得找AXP定制么,如果没有外部按键wakeup,这芯片咋做到休眠唤醒上电的?

      A 1 Reply Last reply Reply Quote Share 0
      • A
        Alb702 LV 5 @sunblackshine last edited by

        @sunblackshine 在 AXP2101 IRQ唤醒功能为啥不能用 中说:

        wakeup

        根据 AXP2101 文档,IRQ 引脚可以是输入或输出。 设置睡眠模式时,您可以 当 IRQ 电路设置为低电平一段时间时,对引脚进行编程以从睡眠模式唤醒。
        控制器可以将电平设置为低。 控制器的 NMI 输出电路包含一个集电极开路晶体管开关 为了这些目的。 该密钥通过寄存器以编程方式控制。

        1 Reply Last reply Reply Quote Share 0
        • M
          Mr.Tomato LV 1 last edited by

          您好,请问你解决这个问题了吗,我也有遇到了,就是IRQ引脚不能唤醒

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

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

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