USER MANUAL
V0.904
EnOcean GmbH
Kolpingring 18a
82041 Oberhaching
Germany
Phone +49.89.67 34 689-0
Fax +49.89.67
34
689-50
[email protected]
www.enocean.com
Subject to modifications
STM110C User Manual V0.904
February 18, 2008 2:00 PM
Page 22/40
STM110C
Serial protocol
The data rate is 9600 baud, 1 start bit ,1 stop bit, LSb first. The inter byte time out is
50ms.
The default logic value is 1(3V).
A serial command consists of 14 bytes as shown in the following.
SYNC_BYTE1 (A5 Hex)
SYNC_BYTE0 (5A Hex)
HEADER
ORG
DATA_BYTE0
DATA_BYTE1
DATA_BYTE2
DATA_BYTE3
DATA_BYTE4
DATA_BYTE5
DATA_BYTE6
DATA_BYTE7
DATA_BYTE8
CHECKSUM
SYNC_BYTE1
(8 bit) = 0xA5 (fixed)
SYNC_BYTE0
(8 bit) = 0x5A (fixed)
HEADER
(8 bit) = 0x8B telegram sent from STM
0xAB telegram sent to STM
ORG
(8 bit) = 0 .. 255
telegram type (see description of commands)
DATA_BYTE0..8
(8 bit) = 0 .. 255
information
CHECKSUM
(8 bit) = 0 .. 255
checksum (Last 8LSB from addition of all octets
except
sync
bytes
and
checksum)