phy6222芯片的设备进入休眠后,使用GPIO的按键唤醒,唤醒后有时间误差
可以看到下图,一开始是与实际时间一直的,后来设备休眠后,使用按键唤醒,每次唤醒后,都会产生数秒的偏移
请问这有可能是什么原因呢?
phy6222芯片的设备进入休眠后,唤醒后有时间偏移
-
- Posts: 18
phy6222芯片的设备进入休眠后,唤醒后有时间偏移
Tags:
-
- Posts: 18
Re: phy6222芯片的设备进入休眠后,唤醒后有时间偏移
[14:26:33.582]收←◆[1702621592 ty I][app_function_main.c:1193] KEY_CLICK
[1702621593 ty I][app_function_main.c:1196] sec=1702621593
[1702621593 ty I][app_function_main.c:1197] 2023-12-15 06:26:33
[14:26:38.528]收←◆[1702621597 ty I][app_function_main.c:206] enter sleep
[14:26:47.179]收←◆[1702621609 ty I][app_function_main.c:1193] KEY_CLICK
[1702621609 ty I][app_function_main.c:1196] sec=1702621609
[1702621609 ty I][app_function_main.c:1197] 2023-12-15 06:26:49
[14:26:52.124]收←◆[1702621614 ty I][app_function_main.c:206] enter sleep
[14:26:56.681]收←◆[1702621622 ty I][app_function_main.c:1193] KEY_CLICK
[1702621622 ty I][app_function_main.c:1196] sec=1702621622
[1702621622 ty I][app_function_main.c:1197] 2023-12-15 06:27:02
[14:27:01.627]收←◆[1702621627 ty I][app_function_main.c:206] enter sleep
[14:27:03.921]收←◆[1702621632 ty I][app_function_main.c:1193] KEY_CLICK
[1702621632 ty I][app_function_main.c:1196] sec=1702621632
[1702621632 ty I][app_function_main.c:1197] 2023-12-15 06:27:12
[14:27:08.867]收←◆[1702621637 ty I][app_function_main.c:206] enter sleep
[14:27:12.567]收←◆[1702621644 ty I][app_function_main.c:1193] KEY_CLICK
[1702621644 ty I][app_function_main.c:1196] sec=1702621644
[1702621644 ty I][app_function_main.c:1197] 2023-12-15 06:27:24
[14:27:17.500]收←◆[1702621649 ty I][app_function_m
[14:27:17.525]收←◆ain.c:206] enter sleep
[14:27:24.208]收←◆[1702621659 ty I][app_function_main.c:1193] KEY_CLICK
[1702621659 ty I][app_function_main.c:1196] sec=1702621659
[1702621659 ty I][app_function_main.c:1197] 2023-12-15 06:27:39
[14:27:29.156]收←◆[1702621664 ty I][app_function_main.c:206] enter sleep
[1702621664 ty I][tkl_bluetooth.c:607] a
[14:27:32.816]收←◆黐1702621670 ty I][app_function_m
[14:27:32.842]收←◆ain.c:1193] KEY_CLICK
[1702621671 ty I][app_function_main.c:1196] sec=1702621671
[1702621671 ty I][app_function_main.c:1197] 2023-12-15 06:27:51
[14:27:37.776]收←◆[1702621675 ty I][app_function_main.c:206] enter sleep
[1702621675 ty I][tkl_bluetooth.c:607] a
-
- Posts: 18
Re: phy6222芯片的设备进入休眠后,唤醒后有时间偏移
如果要使用本地定时功能,请将:
Code: Select all
g_clk32K_config = CLK_32K_RCOSC;
修改为:
Code: Select all
g_clk32K_config = CLK_32K_XTAL;
-
- Posts: 18