NAME
ricohRTC - get/set time maintained by the Ricoh RTC; or interactively set its registers
SYNOPSIS
ricohRTC [-i] [-s] [-t] [-a <oscadj>] [-k <0|1>] [-m <12|24>] [-h]
DESCRIPTION OPTIONS
With no options specified (i.e. running "ricohRTC", this utility simply displays the time & date maintained by the Ricoh RTC.  The options are:
OSCILLATOR ADJUSTMENT
The Ricoh RTC chip has an oscillator adjustment register, which allows the user to trim out errors in crystal frequency up to an error of approximately +/- 192 ppm (parts per million), in steps of 3.05 ppm.  It is recommended that you perform the following calibration/adjustment steps on each Sidearm CPU.  However, please take into account that the frequency deviation is dependent on many environmental conditions, including: It seems particularly sensitive to the last (sleep vs awake), which makes it difficult to properly calibrate the oscillator.  It's best to calibrate when running the CPU in a manner as close as possible to its final deployment (e.g., SIAM app, number of instruments, sampling schedules, etc).  This is to run it as closely as possible to the intended duty cycle of sleep vs awake.

To adjust the oscillator, do the following:


BUGS

The options to set the RTC time (-a, and menu options 4 & 5 of interactive mode) should really also set the clock to 24 hour mode.  Right now, you must manually set either 24 hour mode or AM/PM mode, and the time set functions do the right things based on that.


ENVIRONMENT

This utiltity does not depend on any environment variables.

In order to set the system time using this utility, the user must have root privileges.


SEE ALSO

  • The Ricoh Rx5C348 data sheet
  • Log onto any Linux workstation and do a "man hwclock" to see how to manipulate the SA1100 RTC.