DLP-RF2 DLP Design Inc, DLP-RF2 Datasheet - Page 7
![Zigbee / 802.15.4 Modules & Development Tools USE 626-DLP-RF2-Z](/photos/15/99/159950/rf2_sml.jpg)
DLP-RF2
Manufacturer Part Number
DLP-RF2
Description
Zigbee / 802.15.4 Modules & Development Tools USE 626-DLP-RF2-Z
Manufacturer
DLP Design Inc
Datasheet
1.DLP-RF2-Z-G.pdf
(12 pages)
Specifications of DLP-RF2
Wireless Frequency
2.4 GHz
Interface Type
2 Wire Serial
Output Power
1 mW
For Use With/related Products
MC13193, MC9S08GT60
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example: Below is a simple C program illustrating the Ping (0xA0) Command. This assumes
the presence of a transceiver with an ID of 1 issuing the Ping command and a second
transceiver with an ID of 0x13 (19 decimal) to receive and respond to the Ping command:
2.4 Antenna Switch Control
The antenna switch used on the DLP-RF2-Z is of single-pole, double-throw configuration and is
controlled by microcontroller port pins. The following truth table shows the port pin states
required to enable the transmit and receive functions.
If using the SIPP firmware as shipped from DLP Design, the DLP-RF2-Z will set the correct
mode automatically. This information is only made available in the event that the user wishes to
reprogram the microcontroller with custom firmware.
Rev 1.8 (November 2005)
0xCD
0xCF
0xD0
0xD1
int m_DestID = 0x0013;
int m_SourceID = 0x0001;
unsigned char rx[126], tx[126];
int pos=1;//init packet index
tx[pos++] = (unsigned char)((m_DestID&0xff00)>>8); //Destination ID MSB
tx[pos++] = (unsigned char)(m_DestID&0x00ff);
tx[pos++] = (unsigned char)((m_SourceID&0xff00)>>8); //Source ID MSB
tx[pos++] = (unsigned char)(m_SourceID&0x00ff);
tx[pos++] = 0xA0;//Command byte: Ping
tx[0] = pos-1;//assign number of bytes in packet to position zero
PutBuffer(tx, pos);//send tx out serial port
GetBuffer(rx, 6, TIMEOUTWAIT); //wait up to timeout for 6 bytes to return
if(rx[5] != 0xC0)//if Buffer Position 5 is not the expected reply (0XC0)
{
}
Serial / USB
Serial / USB
Serial / USB
Serial / USB
//No reply to the Ping command
//either retry the command or process the error
TX Mode
RX Mode
Return board type--uC ROM and RF IC
versions, 3 Data Bytes: Module Mode:
100:RF1, 101:RF2-Z, ROM Version: divide
by 10 for version, RF IC Version byte
Return ID, 2 Data Bytes: Board ID MSByte,
LSByte
Generic packet send
Generic packet reply
Port Pin PTA7
0
1
7
Port Pin PTD4
//Destination ID LSB
//Source ID LSB
1
0
DLP-RF2-Z DLP Design, Inc.