SmartGPU2-LCD480X320Touch-CommandSet
SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 119
2.10 RTC Real Time Clock Commands
The new Smart GPU 2 includes an embedded RTC Real Time Clock to support
full Time-Date calendar functions, also Data Logger applications that require a precise
timestamp.
The real-time clock is an independent timer that counts every second and keeps
information about date(day, month, year) and time(hours, minutes, seconds). The next
RTC Timer Functions enable full possibilities with the Smart GPU 2, as it is now more
complete than ever. User can create full real time Graphic User Interfaces and
Datalogger applications with clock-calendar functions with the accuracy that only a RTC
provides.
The SmartGPU 2 has an internal and ready to run RTC, however to lower
production costs, the RTC Crystal hasn’t been mounted on the board, a 32.768 Khz
Crystal can be soldered to the OSC32 external pads to enable full SmartGPU 2 RTC
support. Also to avoid the RTC lose time and date data each time main VCC power is
removed or shut down from the chip, a Standard 3V coin backup battery can be
connected to the pads noted as VBat and GND pin on the board, this way the RTC will
continuously running even the SmartGPU 2 chip is power off and RTC time and date
data will be conserved.
Please refer to “SmartGPU2LCD320x240datasheet.pdf” file for more
detailed information about RTC recommended circuit.
Briefly Summary of Commands in this section:
*All of Those next commands always begin with the byte ‘R’-52hex, as
they are RTC commands, followed by the next parameters/bytes.
• RTC Setup – 53hex ‘S’
• RTC Set/Get Time and Date – 50hex ‘P’