RTC REFERENCE
1. OVERVIEW¶
RTC uses a standard LINUX framework and can be operated with a unified interface.
Fig 1-1 Kernel config
2. RTC OPERATION¶
2.1. Display System Time¶
Command: date
Fig 2-1
2.2. Set System Time¶
Command: date MMDDhhmmYYYY.ss
MM : month(01-12);
DD : day(01-31);
Hhmm : time(0000-2359);
YYYY : year[optional];
ss : seconds(00-59) [optional]
Fig 2-2
2.3. Show RTC Clock¶
Command:hwclock
Fig 2-3
2.4. Set RTC Clock to System Clock¶
Command:hwclock –w
Fig 2-4