TS-5620

From embeddedTS Manuals
Revision as of 17:01, 17 January 2022 by Lionel (talk | contribs) (Links auto-updated for 2022 re-branding ( https://cdn.embeddedarm.com/resource-attachments/ts-5620-mechanical.pdf →‎ https://cdn.embeddedTS.com/resource-attachments/ts-5620-mechanical.pdf https://cdn.embeddedarm.com/resource-attachments/ts-5620-schematic.pdf →‎ https://cdn.embeddedTS.com/resource-attachments/ts-5620-schematic.pdf https://files.embeddedarm.com/archive/images/boards/medium/ts-5620-onboard.gif →‎ https://files.embeddedTS.com/archive/images/boards/medium/ts-5620-onboard.gif))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
TS-5620
ts-5620-onboard.gif
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