TS-5620: Difference between revisions
From embeddedTS Manuals
No edit summary |
m (FTP links auto-updated (http://www.embeddedarm.com/documentation/ → https://cdn.embeddedarm.com/resource-attachments/)) |
||
Line 7: | Line 7: | ||
|datastyle = | |datastyle = | ||
|header1 = Documents | |header1 = Documents | ||
|data2 = [ | |data2 = [https://cdn.embeddedarm.com/resource-attachments/ts-5620-schematic.pdf Schematic] | ||
|data3 = [ | |data3 = [https://cdn.embeddedarm.com/resource-attachments/ts-5620-mechanical.pdf Mechanical Drawing] | ||
}} | }} | ||
Revision as of 20:17, 14 January 2021
Documents | |
---|---|
Schematic | |
Mechanical Drawing |
Overview
This option uses an ST Micro M48T86PC1 module for the real-time clock function. This module contains the lithium battery, 32.768 kHz crystal, and a RTC chip with 114 bytes of battery-backed CMOS RAM. It will maintain clock operation for a minimum of 10 years in the absence of power. The 114 bytes of non-volatile RAM, physically located in the RTC chip, are available to the user. The TS-Kernel shipped with the boards includes support for the TS-5620 peripheral board including the TS-72XX series and the TS-5XXX series.
Usage
As the boards implement a kernel driver, you can simply use the hwclock command to communicate with the RTC.
hwclock -r or hwclock --show hwclock -w or hwclock --systohc hwclock -s or hwclock --hctosys hwclock -a or hwclock --adjust hwclock -v or hwclock --version hwclock --set --date=newdate hwclock --getepoch hwclock --setepoch --epoch=year