DLP-RF2-Z DLP Design Inc, DLP-RF2-Z Datasheet - Page 7

Zigbee / 802.15.4 Modules & Development Tools TTL SERIAL INTERFACE MODULE

DLP-RF2-Z

Manufacturer Part Number
DLP-RF2-Z
Description
Zigbee / 802.15.4 Modules & Development Tools TTL SERIAL INTERFACE MODULE
Manufacturer
DLP Design Inc
Datasheet

Specifications of DLP-RF2-Z

Wireless Frequency
2.4 GHz
Interface Type
2 Wire Serial
Operating Voltage
3.2 V
Output Power
1 mW
Antenna
Integral to PCB Design?No External
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.

Related parts for DLP-RF2-Z