Toybrick

标题: 3399PROD的开发板如何使用RTC守时 [打印本页]

作者: YML001    时间: 2024-8-21 16:19
标题: 3399PROD的开发板如何使用RTC守时
各位大佬,购买的官方3399PROD的开发板,请问如何开启RTC守时,或者怎么手动飞线改造一下开发板,可以让其具备RTC守时?

作者: jefferyzhang    时间: 2024-8-21 16:30
3399PROD 没有带 RTC电池,3399PROX才有,有需要RTC需要购买PROX
作者: YML001    时间: 2024-8-21 16:50
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.
作者: 凡人修仙    时间: 2024-8-21 17:41
可以改造,外接电池加个二极管隔离下给到这里(但建议电池是5v的,如果是3.3V有不确定风险,可以验证下),同时可以参考prox底板设计,https://meta.box.lenovo.com/v/li ... cb28f85a4eac811f330
作者: YML001    时间: 2024-8-21 17:52
凡人修仙 发表于 2024-8-21 17:41
可以改造,外接电池加个二极管隔离下给到这里(但建议电池是5v的,如果是3.3V有不确定风险,可以验证下), ...

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




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3