DLP Design Inc. 000RF2 Benutzerhandbuch
Rev 1.0 (January 2005)
DLP-RF2
DLP Design, Inc.
4
PACKET STRUCTURE
Byte Description
Comments
0
Number of bytes in the packet
following byte 0: 5-125
following byte 0: 5-125
Each packet must contain (as a minimum) the
number of bytes, a destination ID, Source ID
and a command byte
number of bytes, a destination ID, Source ID
and a command byte
1
Destination ID MSByte
ID Range: 1-65535*
ID Range: 1-65535*
ID:1 default for new DLP-RF1 transceivers
ID:2 default for new DLP-RF2 transceivers
ID:0 reserved for broadcast to all transceivers
ID:2 default for new DLP-RF2 transceivers
ID:0 reserved for broadcast to all transceivers
2
Destination ID LSByte
3
Source ID MSByte
Range: 1-65535
Range: 1-65535
4
Source ID LSByte
5
Command Byte
Command Range: 0xA0-0xDF
Command Range: 0xA0-0xDF
Both Command Packets and Reply Packets.
Every packet must have a command byte.
Every packet must have a command byte.
6
Data Byte(s)
0-120 bytes of data are allowed in the packet
*Note: Each transceiver in the system must have a unique ID. ID:0 is reserved for broadcast packets
sent by DLP-RF2 transceivers coming out of Sleep Mode.
3.2 Reserved EEPROM Locations
The EEPROM memory is a feature of the SIPP firmware and, as such, is only available if using
the DLP-RF2 with its firmware as shipped from DLP Design.
The EEPROM memory used by the SIPP firmware consists of a block of 32 bytes that reside
within the Flash program memory of the MC9S08GT60. The first 10 bytes (0-9) and the last
byte (31) are reserved for storing transceiver settings and checksum. Bytes 10 through 30 (user
area) are available for use by user’s host software.
Whenever the data in any EEPROM location is changed, the checksum location (EEPROM
Location 31) is automatically updated. At power up (or reset), if ever the calculated checksum
for the first 31 bytes does not match the value at EEPROM Location 31, the Default Reset
values for the transceiver settings are restored, and the checksum is recalculated and rewritten.
The values in the user area are preserved.
Additionally, if JP1 is shorted at power up (or reset), the default values for the transceiver
settings are restored, and the checksum is recalculated and rewritten. Again, values in the user
area are preserved.
The following table outlines the usage of the reserved EEPROM locations. These values are
read at power up, reset, or via SIPP firmware: