Specifications
14
AVR064
2529A–AVR–11/02
Store_Rx_data The packet is then converted from ASCII to hexadecimal. One HEX-byte can contain 1 -
3 ASCII bytes. ASCII-bytes that belong to different HEX-bytes are separated by an
ASCII-space (0x20). The converted HEX-bytes get continuously stored in the correct
place in SRAM until the Line-Feed byte appears, which is the end of the packet.
Transferring the data in ASCII allows a standard terminal to be used on the PC.
Table 1. Receive Packet from PC
Preamble “STK502” 6 byte
ASCII-space (0x20) 1 byte
HOUR 2 byte
ASCII-space (0x20) 1 byte
MINUTE 2 byte
ASCII-space (0x20) 1 byte
SECOND 2 byte
ASCII-space (0x20) 1 byte
DATE 2 byte
ASCII-space (0x20) 1 byte
MONTH 2 byte
ASCII-space (0x20) 1 byte
YEAR_HI 2 byte
ASCII-space (0x20) 1 byte
YEAR_LO 2 byte
ASCII-space (0x20) 1 byte
SET_POINT 2 byte
ASCII-carriage return (0x0D) 2 byte
ASCII-line feed (0x0A) 2 byte