Internal clock

From SpinetiX Support Wiki

Jump to: navigation, search

This page is about the internal clock of the HMP and DiVA players. For details about clock / watch animations, see Clock widgets page.

Description

The HMP and DiVA players have an internal real-time clock (RTC) for keeping the date & time information even when the player is not powered on. The internal clock is based on a quartz crystal and powered by a supercap (40 days of autonomy) in the case of DiVA, HMP300, and HMP350 devices, respectively, a regular battery in the case of HMP200, HMP130, and HMP100 devices.

The date & time information can be retrieved by the player from an NTP server (recommended) or provided manually. To configure this, open Control Center and go to:

The internal clock must be calibrated (is not calibrated when shipped from factory) for an accurate time keeping.

Time drifting

Any quartz-crystal based clock is subject to time drifting, but this is compensated on the player by using an NTP server.

  • By default, SpinetiX players are set to use NTP servers from the NTP pool, which are good for getting time updates for regular usage (but not for advanced usage), as long as access to the Internet is permitted.
  • If the player doesn't have regular access to an NTP server, then it will slowly drift away from the actual time; for a calibrated clock, the time drift is less than 2s per day (or 1 min per month) under ideal operating environment conditions, however different environmental factors can affect the time drift, which can go up to 4-5 sec per day.
  • Note that a non-calibrated player might behave very differently comparing to other players that have been calibrated.

Calibration

Internal clock calibration is necessary for normal operation of NTP and consists in finding the offset in frequency between the internal clock and an NTP reference.

The calibration process is started automatically when at least one NTP server is available and it will take approximately 70 minutes. Once the calibration data is set, the player needs to be manually rebooted to save the data - the player must not be unplugged before this reboot, otherwise the procedure needs to be restarted. Afterwards, the calibration data is reused whenever the device is rebooted or powered off.

Calibration of DiVA

To manually calibrate the DiVA internal clock, follow these steps:

  1. Start the device and access the DiVA Control Center interface.
  2. Make sure that DiVA have access to the Internet.
  3. Open System > Date & Time page.
  4. Make sure that "Automatic time from Internet (NTP)" is checked.
  5. Leave the device running for at least 70 minutes without rebooting it.
  6. Check that the local clock is calibrated - if it is not, then leave the device running for more time and redo the check later.
  7. After the local clock is calibrated, restart DiVA.


Note Note: The player must not be unplugged during this time and before the reboot, otherwise the procedure needs to be restarted.

Calibration on HMP

To manually calibrate the HMP internal clock, follow these steps:

  1. Start the device and access the HMP Control Center interface.
  2. On HMP300, and HMP350 players, open System > Date & Time page and make sure that "Automatic time from Internet (NTP)" is checked.
  3. The default NTP time servers (e.g., pool.ntp.org ones) require Internet access for the HMP. If this is not possible, then use a local NTP server.
  4. Check the NTP statistics for the local clock calibration information. If it says that the internal clock is calibrated, no other operations are required, otherwise continue to the next step.
  5. Check that at least one NTP server, other than loopback, is reachable and selected as peer. Otherwise wait until one of the reachable NTP servers become peer.
    • If no NTP server is reachable, check that the NTP servers are correctly entered and that the network configuration is good; if necessary, modify the settings and restart the procedure.
  6. After a peer (other than loopback) is selected, leave the device running for at least 70 minutes without rebooting it.
  7. After 70 minutes check that the local clock is calibrated - if it is not, then leave the device running for more time and redo the check later.
  8. After the local clock is calibrated, restart the HMP.


Note Note: The player must not be unplugged during this time and before the reboot, otherwise the procedure needs to be restarted.

This page was last modified on 19 May 2016, at 16:14.