Toybrick

3399PROD的开发板如何使用RTC守时

YML001

中级会员

积分
300
楼主
发表于 2024-8-21 16:19:14    查看: 438|回复: 4 | [复制链接]    打印 | 只看该作者
各位大佬,购买的官方3399PROD的开发板,请问如何开启RTC守时,或者怎么手动飞线改造一下开发板,可以让其具备RTC守时?
回复

使用道具 举报

jefferyzhang

版主

积分
13364
沙发
发表于 2024-8-21 16:30:46 | 只看该作者
3399PROD 没有带 RTC电池,3399PROX才有,有需要RTC需要购买PROX
回复

使用道具 举报

YML001

中级会员

积分
300
板凳
 楼主| 发表于 2024-8-21 16:50:30 | 只看该作者
jefferyzhang 发表于 2024-8-21 16:30
3399PROD 没有带 RTC电池,3399PROX才有,有需要RTC需要购买PROX

您好,我看到PROD电源芯片,RK809手册里是具备守时功能,这个可以直接用吗,我们给RK809的VCC_RTC_S5外加电池改造一下,在系统电源掉电后,RK809能否保持时间,我们这个已经购买了一批,重新换成本很大。
查阅RK809相关的资料,描述如下:
4.6 REAL TIME CLOCK (RTC)
The RK809 integrates a crystal oscillator buffer and a real time clock (RTC). The buffer
RK809 Datasheet Rev 1.01
Copyright ©2018 Fuzhou Rockchip Electronics Co., Ltd. 22
works with an external 32.768kHz crystal oscillator. With the RTC function, the PMIC provides second/minute/hour/day/month/year information, alarm wake up as well as time calibration. The RK817 provides one channel of 32.768kHz clocks with open drain outputs, where it is default on and is controlled through I2C interface.
4.7 RC OSCILLATOR
The RK809 integrates an RC oscillator. If the external crystal oscillator is not connected, the chip will be driven by the internal RC oscillator. Without external crystal oscillator , the system costs can be saved, but the RTC and the fuel gauge will be inaccurate.
回复

使用道具 举报

凡人修仙

中级会员

积分
200
地板
发表于 2024-8-21 17:41:55 | 只看该作者
可以改造,外接电池加个二极管隔离下给到这里(但建议电池是5v的,如果是3.3V有不确定风险,可以验证下),同时可以参考prox底板设计,https://meta.box.lenovo.com/v/li ... cb28f85a4eac811f330
回复

使用道具 举报

YML001

中级会员

积分
300
5#
 楼主| 发表于 2024-8-21 17:52:40 | 只看该作者
凡人修仙 发表于 2024-8-21 17:41
可以改造,外接电池加个二极管隔离下给到这里(但建议电池是5v的,如果是3.3V有不确定风险,可以验证下), ...

好的,改造完软件或者驱动需要设置什么吗,还是直接可以用。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表