
Quantum SBC User Manual Rev A
www.diamondsystems.com
Page 54
13.12
RTC Read
Command:
Byte
Length
Value and Description
0
2
MESSAGE_SIG: Message signature
2
1
COMMAND_RTC_READ
3
1
0: Indicating no data is sent
Response:
Byte
Length
Value and Description
0
2
MESSAGE_SIG: Message signature
2
1
COMMAND_RECEIVER_RTC_DATA:
Indicating the command to process
3
1
7: Specifying 7 bytes following
4
1
0
– 99 specifying the year’s last two digits
5
1
1
– 12 specifying Month: 1 for January, 3 for March, 11 for November, and so on
6
1
1
– 31 Date
7
1
1
– 7 Day of week. 1 for Sunday, 3 for Tuesday, 7 for Saturday, and so on
8
1
0
– 23 Hours
9
1
0
– 59 Minutes
10
1
0
– 59 Seconds
Comments:
This command reads the RTC timer on the microcontroller. Before reading the data, the RTC must be configured
with some starting time or else it will give incorrect data. The command structure and description is similar to the
watch dog read command or the MTBF power data retrieval command. The command looks like [3232] [19] [00].