Real-Time Clock

RTC Board

Assembling notes

  • The RTC plugs into the 14-pin LTC header on the DE10-Nano and does not require an I/O board.
  • An RTC board having a metal battery holder is the safest and easiest to fit if you’re using an I/O board.
  • Please do not use an RTC that might cause a short circuit on the DE10-Nano or MiSTer I/O board.

Usage notes

To activate and update your RTC connect the MiSTer to the internet and let it run for around 15 minutes. or from the console:

By default the time zone is UTC(GMT). If you want to get the time of your zone, you need to do following:

  • Connect to your MiSTer by FTP/SFTP
  • Navigate to /usr/share/zoneinfo/posix folder and find there the name of your place or time zone.
  • Copy that file to your computer under the name ‘timezone’
  • Copy it back to your MiSTer to folder /media/fat/linux with the name ‘timezone’

From the console you can also force the hardware clock to update and read the time from it.

  • store datetime to RTC : hwclock -wu
  • read RTC : hwclock -u

photo

Author: Admin