Cypress技术william hill官网
直播中

蒲泛粟

7年用户 909经验值
私信 关注
[问答]

请问RTC在PSOC4BLE中处于深夜模式下运行吗?

大家好,我用RTC为我的PSoC4BLE项目。我使用了深度睡眠模式。现在我面临一个问题。在深度睡眠模式之后,RTC只能在设备进入深度睡眠模式之前保存时间信息。RTC在PSOC4BLE中处于深夜模式下运行吗?

以上来自于百度翻译


     以下为原文
  Hi all, I used RTC for my PSoC4 BLE project. And I used deepsleep mode. Now I faced an issue. After deepsleep mode the RTC can only hold the time information before the device goes into deepsleep mode. Does RTC run in DeepSleep mode in PSoC4 BLE?

回帖(3)

王琳

2019-1-2 16:50:47
RTC不会在深度睡眠中运行。你应该设法每秒醒来,增加RTC并再次入睡。
鲍勃

以上来自于百度翻译


     以下为原文
  RTC does not run in deep sleep. You should manage to wake up every second, increase the RTC and go to sleep again.
 
Bob
举报

蒲泛粟

2019-1-2 17:03:39
引用: ncmza 发表于 2019-1-2 13:47
RTC不会在深度睡眠中运行。你应该设法每秒醒来,增加RTC并再次入睡。
鲍勃

嗨,鲍伯,
非常感谢你的回复。所以我需要从WDT中断中醒来,然后需要更新RTC。对吗?

以上来自于百度翻译


     以下为原文
  Hi Bob,
Really thanks for your reply. So I need to wake up from WDT interrupt and then need to update the RTC. Is that right?
举报

黎歆俭

2019-1-2 17:16:14
引用: flowerddd 发表于 2019-1-2 13:59
嗨,鲍伯,
非常感谢你的回复。所以我需要从WDT中断中醒来,然后需要更新RTC。对吗?

是的;如果你把你的深度睡眠WDT设置为1秒,醒来时要增加RTC,每秒应该修复RTC,而不是在睡眠时运行。

以上来自于百度翻译


     以下为原文
  Yes; If you set your deep-sleep WDT to 1 second, and wakeup to increment the RTC each second that should fix the RTC not running while asleep.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分