38
3.3.3.
RTC & Watchdog (Not Ready)
RTC & Watchdog Information
A real-time clock (RTC) keeps track of the current time, and NexCore Q116 will
synchronize hardware clock to system clock when boot.
Watchdog timer, during normal operation, the computer regularly resets the watchdog
timer to prevent it from elapsing, or "timing out". If, due to a hardware fault or program
error, the computer fails to reset the watchdog, the timer will elapse and generate a
timeout signal.
RTC & Watchdog Specification
Name
Value
RTC Frequency Tolerance
5
±
23 ppm
Watchdog
0.5 ~ 128 seconds (unit: 0.5s)
* Equivalent to 1 minute of monthly deviation.
RTC & Watchdog Device Node
Device
Device node
RTC
/dev/rtc0
Watchdog
/dev/watchdog
RTC & Watchdog Example
Example Code:
https://github.com/embux/Example/tree/master/watchdog(TBD)
Example Commands:
#1: show RTC time.
root@rk3399:~# hwclock
Tue Aug 7 03:47:34 2018 0.000000 seconds
#2: Set the System Time from the Hardware Clock.
root@rk3399:~# hwclock -s
#3: Set the Hardware Clock to the current System Time.
root@rk3399:~# hwclock -w
Summary of Contents for NexCore Q116
Page 8: ...8 Chapter 1 Product Overview This chapter provides background information of NEXCORE Q116...
Page 12: ...12 1 3 Block Diagram...
Page 14: ...14 2 Hardware User Guide 2 1 DIP Switch Setting and Connector Locations Top side...
Page 28: ...28 2 3 Mechanical Drawing...
Page 29: ...29 Chapter 3 Software User Guide This chapter details the operation system on NEXCORE Q116...
Page 34: ...34...