Radio Pulse MG2475-EVK User manual

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:3/27
www.radiopulse.co.kr
CONTENTS
1. INTRODUCTION................................................................................................................................... 4
2. DEFINITIONS ........................................................................................................................................ 5
3. CP210X DRIVER INSTALLATION ....................................................................................................... 6
4. OVERVIEW OF EVB ............................................................................................................................. 8
5. CHECK COM PORT .............................................................................................................................. 9
6. FIRMWARE DOWNLOAD ................................................................................................................. 11
7. PER(PACKET ERROR RATE) .............................................................................................................. 12
7.1. DOWNLOAD SAMPLE APPLICATION’S FIRMWARE.................................................................................................. 13
7.2. INTERFACE TO TERMINAL PROGRAM ........................................................................................................................ 13
7.3. STARTUP AND PARAMETER SETUP ............................................................................................................................ 14
7.3.1.
TX-Station : Startup ..................................................................................................................................... 14
7.3.2.
RX-Station : Startup..................................................................................................................................... 15
7.3.3.
TX-Station & RX-Station : Set RF channel (Optional).................................................................. 15
7.3.4.
TX-Station & RX-Station : Set PAN Identifier.................................................................................. 16
7.3.5.
TX-Station & RX-Station : Set Data Rate (Optional) .................................................................... 16
7.3.6.
TX-Station & RX-Station : Set Transmit Power (Optional)......................................................... 16
7.3.7.
TX-Station : Set Options for Transmitting (Optional) .................................................................. 17
7.3.8.
TX-Station : Set Transmitting Parameters for PER (Optional) .................................................. 19
7.3.9.
TX-Station : Set Data Pattern Parameters for PER (Optional).................................................. 20
7.4. TRANSMISSION AND RECEPTION .............................................................................................................................. 21
7.4.1.
RX-Station : Start receiving ...................................................................................................................... 21
7.4.2.
TX-Station : Start transmitting and Result ........................................................................................ 21
7.4.3.
RX-Station : Result........................................................................................................................................ 22
7.4.4.
RX-Station : Exit From PER-RX mode.................................................................................................. 23
8. RF CHARACTERISTICS ...................................................................................................................... 24
8.1. CONTINUOUS WAVE (CW)........................................................................................................................................ 24
8.2. CONTINUOUS MODULATED SPECTRUM (CM) ....................................................................................................... 24
8.3. STOP CW OR CM....................................................................................................................................................... 24
9. ADDITIONAL FUNCTIONS ............................................................................................................... 25
9.1. HELP............................................................................................................................................................................... 25
9.2. TRANSMIT ONE PACKET ............................................................................................................................................. 25
9.3. ENERGY DETECTION(ED)............................................................................................................................................ 26
9.4. REGISTER READ &WRITE .......................................................................................................................................... 26

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:4/27
www.radiopulse.co.kr
1. INTRODUCTION
MG2475-EVK(Evaluation Kit) is the development kit based on MG2475 which is an SOC
chip including RF transceiver and 8051 micro controller, by RadioPulse.
This document explains how to start with MG2475-EVK.
Additionally, this document includes how to install CP210X driver, how to download the
firmware using RadioPulse Device Programmer and how to measure PER(Packet Error
Rate) of MG2475.
Therefore, a user can easily measure the performance and RF characteristics of MG2475.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:5/27
www.radiopulse.co.kr
2. DEFINITIONS
EVB : Evaluation Board.
LM2475-EM : Evaluation Module of MG2475.
CP210X : USB-To-UART Converter
PER : Packet Error Rate
RSSI : Received Signal Strength Indicator. It specifies the strength of the received
packet.
ED : Energy Detection. It specifies the energy level of the current RF channel.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:6/27
www.radiopulse.co.kr
3. CP210X DRIVER INSTALLATION
CP210x on EVB is USB-to-UART controller. The driver for CP210x should be installed first,
because it makes a PC to recognize the EVB.
The following is the installation steps.
(A) Execute CP210X_VCP_Win_XP_S2K3_Vista_7.exe to install CP210x VCP drivers.
(B) At the final step of installation, check “Launch the CP210x VCP Driver Installer”and
press “Finish”.
If it is not checked, it can be reinstalled later by executing
“C:\SiLabs\MCU\CP210x\Windows...Vista_7\CP210xVCPInstaller.exe”.
(C) Press “Install”. The “CP210x USB to UART Bridge Driver”is installed on the PC.
(D) If the driver is not installed, it can be installed manually when CP210x is connected to the
PC. The driver is located in “C:\Program Files\Silabs\MCU\CP210x”folder.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:8/27
www.radiopulse.co.kr
4. OVERVIEW OF EVB
Figure 1. TOP view of MG2475-EVB
The main elements of EVB are as follows;
MG2470-EVB : Evaluation Board for MG2475
LM2475-EM : Evaluation Module for MG2475
Main Power SW: Power switch
Reset SW: Reset switch
ISP SW: ISP switch
USB0-UART0 : USB port for UART0.
USB1-UART1 : USB port for UART1. The firmware should be downloaded via this
port.
LM2475-EM
(ZigBee RF Module)
MG2470-EVB
(Evaluation Board)
(J4)
MAIN POWER SW
RESET SW
ISP SW
Battery Power
SW
ON
OFF
(J7)
USB1-UART1
(Download)
USB0 –UART0

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:9/27
www.radiopulse.co.kr
5. CHECK COM PORT
Connect MG2475-EVB to PC using “USB1-UART1”port of EVB. Set the power switch to
“USB_ON”. Then, The PC recognizes EVB as COM port. The number of COM port is
checked as follows.
(A) Right-click on “My Computer”icon and select “Properties”.
(B) Select “Hardware”tab.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:10/27
www.radiopulse.co.kr
(C) Port (COM & LPT)
NOTICE
If two or more EVBs are connected to one PC and the CP210x’s IDs are same, all expected
ports are not displayed because the number of ports are same. Then, the CP210x’s ID
should be unique by using AN144SW application released by Silicon Labs, the maker of
CP210x. The application is available from www.silabs.com

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:11/27
www.radiopulse.co.kr
6. FIRMWARE DOWNLOAD
To download the firmware (*.hex) of sample application, first, set the ISP switch to “ISP”and
press “Reset”.
Then, execute “RadioPulse Device Programmer MD”.
(A) Select the device as “MG2475”and download method as “Direct-Download”.
(B) Select the file to download.
(C) Select “Program Hex Code”in Operation.
(D) Select “Not Including hardware information”in Modem Configuration Type.
(E) Select COM ports.
(F) Click the button to run.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:12/27
www.radiopulse.co.kr
7. PER(Packet Error Rate)
To measure PER(Packet Error Rate), two devices (TX-Station and RX-Station) are required.
TX-Station sends packets periodically. Many parameters - the number of transmissions, the
period, the length of a packet, etc –can be set by user.
RX-Station receives and counts the packets. PER(Packet Error Rate) can be measured by
comparing the number of transmitted packets and received packets.
The diagram of sample application is as follows;
TX-Station RX-Station
PC
(Terminal Program) PC
(Terminal Program)
UART UART

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:13/27
www.radiopulse.co.kr
7.1. Download Sample Application’s Firmware
After connecting devices to PC, download the firmware (MG2475_EVK.hex) of sample
application to two devices.
7.2. Interface to Terminal Program
Sample application requires terminal program like hyper-terminal, tera-term, etc.
It interfaces to the terminal program via UART and the port setup is as follows;
Port : Port number of connected EVB.
Baud Rate : 115200 bps
Data : 8 bit
Parity : none
Stop : 1 bit
Flow Control : none
Execute terminal programs for each device.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:14/27
www.radiopulse.co.kr
7.3. Startup and Parameter Setup
7.3.1. TX-Station : Startup
Set the ISP switch to “Normal”and press “Reset”on the TX-Station’s EVB. And, type
‘0(zero)’as a device number. Or don’t type any character. In 5 seconds, the device‘s number
automatically becomes 0(zero).

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:15/27
www.radiopulse.co.kr
7.3.2. RX-Station : Startup
Set the ISP switch to “Normal”and press “Reset”on the RX-Station’s EVB. And, type ‘1’as a
device number.
7.3.3. TX-Station & RX-Station : Set RF channel (Optional)
Press ‘c’.
Type RF channel to use and press [ENTER].
This step can be skipped if changing is not needed or using the default value(26).

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:16/27
www.radiopulse.co.kr
7.3.4. TX-Station & RX-Station : Set PAN Identifier
Press ‘i’.
Type PAN Identifier to use and press [ENTER].
This step can be skipped if changing is not needed or using the default value(0x2475).
7.3.5. TX-Station & RX-Station : Set Data Rate (Optional)
Press ‘d’.
Type the number of data rate to use and press [ENTER].
This step can be skipped if changing is not needed or using the default value(3(250Kbps)).
7.3.6. TX-Station & RX-Station : Set Transmit Power (Optional)
Press ‘p’.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:17/27
www.radiopulse.co.kr
Type the number of transmit power level to use and press [ENTER].
This step can be skipped if changing is not needed or using the default value(0(8.0 dBm,
Max)).
7.3.7. TX-Station : Set Options for Transmitting (Optional)
Press ‘1’. Then, type the value to use for each option and press [ENTER].
NoAckRetry : Defines the number of retry when ACK is not received. This step can
be skipped if changing is not needed or using ‘3’, the default value.

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:18/27
www.radiopulse.co.kr
TX-Station RX-Station
Packet with AckRequest=1
(X) ACK
1st retry(X) ACK
2nd retry
ACK
BackoffRetry : Defines the number of retry when backoff is needed because the RF
channel is busy and failed to channel access. This step can be skipped if changing
is not needed or using ‘3’, the default value.
TX-Station RX-Station
Failed Transmitting (X)
1st
Backoff Failed Transmitting (X)
Successful Transmitting
2nd
Backoff

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:19/27
www.radiopulse.co.kr
7.3.8. TX-Station : Set Transmitting Parameters for PER (Optional)
Press ‘2’. Then, type the value to use for each parameter and press [ENTER].
The number of packets to transmit. : Defines the number of packets to be
transmitted. This step can be skipped if changing is not needed or using ‘1000’, the
default value.
The interval between two packets : Defines the time from last packet’s finishing to
next packet’s starting in milli-seconds. This step can be skipped if changing is not
needed or using ‘10’, the default value.
1st transmission 2nd transmission
Interval
3rd transmission
Interval
The length of a packet : Defines the length of a transmitted packet (PSDU) in bytes.
This step can be skipped if changing is not needed or using ‘32’, the default value.
PHY Payload(PSDU, PHY Service Data Unit)
PHY
MAC MAC Header MAC Payload
(MSDU, MAC Service Data Unit) MAC Footer
(2 Bytes)
< IEEE 802.15.4 Frame Structure >
PSDU
Length
AckRequest : Defines whether ACK packet is requested or not. If AckRequest is
equal to 1, the transmission is successful when the TX-Station receives the ACK
packet. This step can be skipped if changing is not needed or using ‘1’, the default
value.
TX-Station RX-Station
Packet with AckRequest=1
< Transmission with ACK >
TX-Station RX-Station
Packet with AckRequest=0
< Transmission with NO-ACK>
ACK packet

ASW1003 [MG2475-EVK] Getting Started
V1.0 Page:20/27
www.radiopulse.co.kr
7.3.9. TX-Station : Set Data Pattern Parameters for PER (Optional)
Press ‘3’.
Type the number to use and press [ENTER].
This step can be skipped if changing is not needed or using the default value that is 1 (0-x00
0x01 0x02 ...).
Table of contents
Other Radio Pulse Computer Hardware manuals