![Nexcom EBC-3A1 Series User Manual Download Page 36](http://html.mh-extra.com/html/nexcom/ebc-3a1-series/ebc-3a1-series_user-manual_1681443036.webp)
36
3.3.5.
RTC & Watchdog
RTC & Watchdog Information
A real-time clock (RTC) keeps track of the current time, and ICM-3011 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
Example Commands:
#1: show RTC time.
root@ICM-3011:~# hwclock
Tue Aug 7 03:47:34 2018 0.000000 seconds
#2: Set the System Time from the Hardware Clock.
root@ICM-3011:~# hwclock -s
#3: Set the Hardware Clock to the current System Time.
root@ICM-3011:~# hwclock -w
Summary of Contents for EBC-3A1 Series
Page 9: ...9 ...
Page 10: ...10 Chapter 1 Product Overview This chapter provides background information of EBC 3A1 ...
Page 13: ...13 1 3 Block Diagram ...
Page 24: ...24 2 4 Mechanical Drawing ...
Page 25: ...25 Chapter 3 Software User Guide This chapter details the Linux operation on EBC 3A1 ...
Page 65: ...65 Chapter 5 BSP This chapter introduces how to get board BSP board support package ...