Navigation

    全志在线开发者论坛

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

    (芒果派D1s)外部32.768K晶振不能用问题

    MR Series
    2
    3
    1694
    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
      fengshulin LV 3 last edited by

      调式RTC时,发现系统的默认时钟源是16M RC。修改寄存器LOSC_CTRL_REG(0x07090000)的BIT0位,将其设置成1,切换时钟源到外部32.768K晶振。重新读取该寄存器的值,修改未生效。怀疑外部32.768K晶振失效。于是读寄存器LOSC_AUTO_SWT_STA_REG(0x07090004),其值为:0x00000004。该寄存器的定义如下:屏幕截图 2022-06-24 100913.png

      可以看到,外部32.768K晶振工作异常。
      大家帮忙看下,你们板子上的RTC是否工作正常。可以通用这条指令看下:

      root@TinaLinux:/# echo 0x07090000,0x07090004 > /sys/class/sunxi_dump/dump
      root@TinaLinux:/# cat /sys/class/sunxi_dump/dump
      
      0x0000000007090000: 0x00004010 0x00000004
      
      
      1 Reply Last reply Reply Quote Share 0
      • F
        fengshulin LV 3 last edited by

        自己先顶一下,大家能帮忙看一下吗?

        1 Reply Last reply Reply Quote Share 0
        • G
          grantho LV 5 last edited by

          请问这个bug有解决办法吗?

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

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

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