Measuring the Packet Error Rate (PER) Using ... - Texas Instruments

4 downloads 67 Views 412KB Size Report
ABSTRACT. This application note discusses the methodology to measure the packet error rate. (PER) of the data transmission of an RF link using TRF6903 with ...
Application Report SWRA050 – September 2005

Measuring the Packet Error Rate (PER) Using the TRF6903 With MSP430 Evaluation Kit Raju Karingattil, Iboun Sylla, and Rao Shreharsha ...................................... Low Power Wireless Applications

ABSTRACT This application note discusses the methodology to measure the packet error rate (PER) of the data transmission of an RF link using TRF6903 with MSP430 Evaluation Kit in the 315, 433, 868, and 915 MHz ISM Band. A separate version of firmware has been developed for this purpose and is available for download from the website at www.ti.com/ismrf.

Contents Introduction .......................................................................................... 1 Packet Error Rate (PER) Measurement Setup ................................................. 1 References .......................................................................................... 6

1 2 3

List of Figures 1 2 3 4

1

PER PER PER PER

Software Software Software Software

Setup for Setup for Setup for Setup for

315 433 868 915

MHz ................................................................ MHz ................................................................ MHz ................................................................ MHz ................................................................

3 4 5 6

Introduction This application note details the procedure for measuring packet error rate (PER) of an RF link using the TRF6903 evaluation kit with MSP430 in the 315 MHz to 915 MHz ISM band. The frequency of communication channel is automatically selected in the 315-MHz, 433-MHz, and 868-MHz bands. In the 915-MHz band, the RF frequency channel is selected using the DIP switch on the evaluation board. See the application note SWRU008 for details on the evaluation board.

2

Packet Error Rate (PER) Measurement Setup The PER can be measured using a pair of TRF6903 evaluation boards. The two boards can be configured to transmit and receive the data using antennas or directly connecting them with a cable. The PER measurement using the cable eliminates any interferences and provides the best case scenario for evaluating PER with different data packet length and modulations. Note: The TRF6903 evaluation boards are by default matched for operation at 915 MHz. In order to get accurate measurements at 315-MHz, 433-MHz, and 868-MHz bands, the matching components on the evaluation board needs to be modified as per the application notes (SWRA049 and SWRA040).

SWRA050 – September 2005

Measuring the Packet Error Rate (PER) Using the TRF6903 With MSP430 Evaluation Kit

1

www.ti.com

Packet Error Rate (PER) Measurement Setup

2.1

PER Software Setup Procedure Download the PER software from the application section of the website www.ti.com/ismrf and extract it into any directory of your choice. After loading the PER software use following steps to configure the evaluation boards: 1. Choose the port parameters; port name and baud rate. Then click the Open button. (This is to set the communication between the computer and evaluation boards). 2. Set the following transceiver parameters a. Length (number) of data bytes to 32. (This is the default setting and can not be changed). b. Baud rate (data transfer rate between boards) 3. Click the Configure button. 4. Select the frequency band: a. In the 315-MHz, 433-MHz, and 868-MHz band, the software sets the frequency of transmission. b. In the 915-MHz band, the frequency can be selected using the DIP switch. See the application note SWRU008 for details on selecting the frequency using DIP switch. 5. Click the Set Frequency button. 6. You can send either one packet or multiple packets. To send multiple packets, click on the Repeat Send button. 7. The data transmission can be stopped at any time by clicking the Stop Repeat button. The send packet window displays the number of packets transmitted and the receive packet window displays the number of acknowledgements (ACKs) received. The packet success rate window shows the packet error rate (PER) of the data communication. The software provides an easy way to modify the data packet length and observe the change in packet error rate for comparison purposes. Figure 1 thru Figure 4 show the software setup screens for the PER measurement at 315 MHz, 433 MHz, 868 MHz, and 915 MHz.

2

Measuring the Packet Error Rate (PER) Using the TRF6903 With MSP430 Evaluation Kit

SWRA050 – September 2005

www.ti.com

Packet Error Rate (PER) Measurement Setup

Figure 1. PER Software Setup for 315 MHz

SWRA050 – September 2005

Measuring the Packet Error Rate (PER) Using the TRF6903 With MSP430 Evaluation Kit

3

www.ti.com

Packet Error Rate (PER) Measurement Setup

Figure 2. PER Software Setup for 433 MHz

4

Measuring the Packet Error Rate (PER) Using the TRF6903 With MSP430 Evaluation Kit

SWRA050 – September 2005

www.ti.com

Packet Error Rate (PER) Measurement Setup

Figure 3. PER Software Setup for 868 MHz

SWRA050 – September 2005

Measuring the Packet Error Rate (PER) Using the TRF6903 With MSP430 Evaluation Kit

5

www.ti.com

References

Figure 4. PER Software Setup for 915 MHz

3

References 1. 2. 3. 4. 5. 6.

6

TRF6903 Single-Chip Multi-Band RF Transceiver Data Sheet (SWRS022) TRF6903 Design Guide (SWRU009) TRF6903 With MSP430 Demonstration and Development Evaluation Kit User’s Guide (SWRU008) Implementing a Bidirectional, Half-Duplex FSK RF Link With TRF6903 and MSP430 (SLAA121) Operating TRF6903 With MSP430 Evaluation Kit in 868 MHz European ISM Band (SWRA040) Implementing a Bidirectional Wireless UART Application w/TRF6903 and MSP430 (SWRA039)

Measuring the Packet Error Rate (PER) Using the TRF6903 With MSP430 Evaluation Kit

SWRA050 – September 2005

IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products

Applications

Amplifiers

amplifier.ti.com

Audio

www.ti.com/audio

Data Converters

dataconverter.ti.com

Automotive

www.ti.com/automotive

DSP

dsp.ti.com

Broadband

www.ti.com/broadband

Interface

interface.ti.com

Digital Control

www.ti.com/digitalcontrol

Logic

logic.ti.com

Military

www.ti.com/military

Power Mgmt

power.ti.com

Optical Networking

www.ti.com/opticalnetwork

Microcontrollers

microcontroller.ti.com

Security

www.ti.com/security

Telephony

www.ti.com/telephony

Video & Imaging

www.ti.com/video

Wireless

www.ti.com/wireless

Mailing Address:

Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright  2005, Texas Instruments Incorporated