Home

FreeStar Pro Kit User Guide

image

Contents

1. 8 2 2 10 Application Switches 51 1 51 4 8 8 2 2 12 Timer VO Connector 4 9 2 2 13 Supply Voltage Connector J4 4 0000 000000000000 9 2 2 14 ADC Input Channel Connector J5 8 00 00 000 000000000000 9 2 2 15 Add ON 0 271002000 000000000 00000000000 9 2 2 16 GPIO Jumpers J13 40 J14 40 J15 40 9 3 ZFSM 201 EVB 1 STANDALONE DEMONSTRATIONS 12 31 TRANSMISSION RANGE DEMONSTRATION 12 VOV MEE Menan NO OU mt 12 St THC Wrize u w il 12 3 1 3 Transmission 12 31a lesing Ihe RANGO M E 12 32 ee 12 4 FREESTAR PRO TEST TOOL SOFTWARE 13 4 1 SOFTWARE INSTALLATION AND 13 4 1 1 Prerequisites to Installation esee 13 ANON 13 4 2 GUI SCREEN DESCRIPTIONS 0 4 122222 14 EUN EE I INI
2. 0 0 0000 28 5 22 Mode B Two Two Boards Connected eese 28 5 2 3 Mode C One PC One Board Connected One Standalone 28 5 3 RANGE TEST Sese usd aS 29 5 3 1 The Transmitter Connected to the 29 5 3 2 31 5 4 PERT TAB PACKET ERROR RATE 5 32 6 USING THE GUI WITH THE SMAC 34 6 1 mimA acess TETTE 34 62 35 60 3 ENERGY n Der 35 7 DOWNLOADING TO FLASH THROUGH THE USB 36 7 1 PREREQUISITE HARDWARE AND 36 7 2 ERASING FLASH MEMORY 36 7 3 DOWNLOADING NEW FLASH 36 REVISION HISTORY 40 APPENDIX 1 USING AN EXTERNAL ANTENNA
3. Serial Enumerator Serial Printer Cancel If Power Off Event On Surprise Removal Set RTS On Close 26 in use Disable Modem Ctrl At Startup COM2 COM28 Figure 7 Screen Device Manager COM Port Setting Minimum Write Timeout m 8 Click the COM Port Number drop down menu and select a COM Port not in use between 1 and 16 as shown in Figure 7 Note If all COM Ports between 1 and 16 are shown as use and one of them is not physically being used it can be assigned 4 3 2 Establishing the Connection If the bottom status bar shows Comm Port None then the test tool was not able to find a FreeStar Pro module on any of the available PC COM ports 1 Click on the Settings menu and click the Communications Pull down entry as shown in Figure 8 The screen shown in Figure 9 will appear Mm FreeStar Pro Test Tool Transceiver ID 1010 RF Channel 13 2415MHz RF Power 15 Figure 8 Screen Test Tool Communications Settings set settings 0006 00 08 00 000 Page 18 of 42 FreeStar Pro User Guide Serial Port C 2 COM3 0 4 coms Come COME Comin 6 12 4 5 Host Serial Baudrate C 1200 2400 4
4. 14 422 Transceiver Settings 0 000000000000000000000000 rennen naar nns 15 4 2 8 Communications Log 2 2 1 661 01000 000000000 15 Su MEET Eo Eo 15 4205 Test TOO Settings WIDOOW u c dissi re et eina Iba a per pu Ea EHE isa VA TAE 15 420 COMM oas WNOOW arerin EET 16 4 3 COMMUNICATIONS 4 0 112121 1 16 4 3 1 Virtual Serial Port Selup 16 4 3 2 Establishing the 27 00000000000100000 18 4 44 DESCRIPTIONS OF THE MAC TEST TOOLS 20 Rev B Document No 0006 00 08 00 000 Page 2 of 42 FreeStar Pro User Guide HF Evaldalon T 20 JL FERT E 20 n oM Rande IN Iz lo et T IEEE 22 LE A MEET ME RE 23 BAS WOW no cdiciom T TP 24 4 4 6 Transceiver Info TAD 25 LT Na OOT Sear ee en 26 E E ME EDT A RETOURNER EPOR 27 5 DEMONSTRATION USING TEST TOOLS 27 5 1 PREREQUISITE HARDWARE AND 27 52 MEAO O 5 27 5 2 1 Mode A One Two Boards
5. Analog Input Channel 6 ADCO 7 Jo ADC TENE Analog Input Channel 5 ADCS 6 J5 ADO 9 J2 GPIO IE ADC DES Analog Input Channel 4 18 pin 9 pin 5 pin 8 JA GPIO pin 5 pin 8 JA GPIO pin 8 J2 GPIO Supply Voltage to Buck Regulator switching VCC1 20 both pins hard wired to VCC MOSTETS amp IO buffers ADC 3 6 ADC RES Analog oat Channel 2 XM pin 3 J5 ADC pin 6 J2 GPIO PNE ADC1 pin 2 J5 ADC pin 5 J2 GPIO ADC Analog Input Channel 0 ADCO pin 1 esi a ee 40 High Ref Voltage for ADC1 ADC1 VREFH 931 32 2 5 4 LowRefVolage or ADOT ADCCVREFL 33 A 61 4 39 LowRefVoltagefor ADC2 ADC2 VREFL 35 36 J20 Flash Erase 75 3 Ground 97 38 bothpins hard wired to ground 8 2 Ground 06 39 40 bothpins hardwired to ground Rev Document No 0006 00 08 00 000 Page 11 of 42 FreeStar Pro User Guide 3 ZFSM 201 EVB 1 STANDALONE DEMONSTRATIONS 3 1 w o PC Connection TRANSMISSION RANGE DEMONSTRATION The following demonstration can be performed using two powered ZFSM 201 EVB 1 Evaluation Boards No PC is required to perform this test 1 2 3 9 Power each of the evaluation boards by one of three methods USB battery or DC Jack Switch the Power Switch SW6 so that the Red
6. ACK s area and Continuous in the Rate area If ACKs are enabled the Receiver will send back an acknowledgement message which contains the LQI The Transmitter will calculate LQI of the ACK message it receives Both LQI indications will be displayed in the boxes pictured above 11 Start the Transmit Range test by clicking the Transmit button LED 1 will blink 12 Apply power to the standalone evaluation board 13 Press SWITCH 2 on the standalone board to start the Range Receive o The ID of the Receiver board will automatically be set to 2020 o RF channel of the Receiver board will be set to Channel 13 o TheRF power of the Receiver board will be set to full power for the acknowledgment message 18 o standalone board will receive the message from the Transmitter and send its LQI and message back to the Transmitter On the transmitter board LED s 1 2 and 3 will blink On the receiver board LED s 1 and 2 will blink On the PC a screen such as that in Figure 24 will be displayed which will show Packet messages the Communications Log window RXsLQI numbers that will fluctuate ranging from 0 to 255 RX d LQI numbers that will also fluctuate ranging from 0 to 255 right of each of the LOI numbers will be an indicator light which will blink with one of three colors o Green For LQI readings of greater than 168 o Yel
7. J15 40 pin Three 40 pin jumper connectors provide access to the pins of the ZFSM 201 1 FreeStar Pro module and as a result to most of the pins of the Freescale MC13224V device Table 7 below shows the connections made by each jumper for each of the three connectors J13 J14 and J15 as shown in Figure 2 2 4 6 8 10 12 14 16 18 20 23 24 26 28 30 32 34 36 38 40 5 0 gt a a ee Se ee ee eee SGP See ae ee ee Se EEF ee See 98 9h 1 3 I E O R 9h 13 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 Figure 2 Pin numbering for the 40 pin Jumper Connectors J13 J14 and J15 Rev B Document No 0006 00 08 00 000 Page 9 of 42 FreeStar Pro User Guide Table 7 Jumper Connections Map Connection to the Module IC Connector Connection on the EVB 190 nem pu Mod gt designates Jumpe Jumper Connections J14 8 59 Ground 0 8 1 2 bothpins hardwired to ground 79 58 GND5 3 4 bothpins hardwired to ground 42 57 22 KeyboardinterfaceBitO 5 6 pin 15 J2 GPIOHeader 41 56 23 KeyboardinterfaceBit1 7 8 LED O Keyboard Interface Bit 2 KBI2 9 10 LED2 Keyboard Interface Bit 3 KBI3 LED3 Keyboard Interface Bit 4 KBI4 13 14 SW1 pin 16 J2 GPIO Header 37 52 27 Keybo
8. TXCVR Data 2 3 4 5 7 10 11 12 TXCVR gt Host Rx n b TXCVR Host Rx n b Source Address 1010 TXCVR gt Host Rx n b TXCVR gt Host Rx n b 183 m Receiver TXCVR gt Host Rx n b TXCVR gt Host Rx n b TXCVR gt Host Rx n b TXCVR Hnost Rs n i Figure 25 Screen Test Tool Range RX 54 PERT TAB PACKET ERROR RATE TEST The Packet Error Rate Tab can be used to evaluate RF performance in the user s own environment For this demonstration the Mode C configuration described in Section 5 2 3 is used in order to allow the separation of the Transmitter evaluation board from the Receiver evaluation board This makes it possible to demonstrate the Packet Error Rate of the communications link in less than ideal circumstances To simplify the demo default settings in the firmware are used This procedure explains how to configure the board connected to the PC as the Receiver how to configure the standalone board as the Transmitter and how to send 200 packets from the Transmitter to the Receiver Statistics are then provided showing the number of error free packets received From that the Packet Error Rate PER can be computed Rev B Document No 0006 00 08 00 000 Page 32 of 42 FreeStar Pro User Guide 4 FreeStar Pro Test Tool File Settings Help Transceiver Settings Transceiver ID 2020 Settings R
9. the SMAC When the GUI identifies the transceiver as having the SMAC codebase the allowable power settings in the drop down menu is changed to a maximum of 18 See Figure 27 gt FreeStar Pro Test Tool Settings Help Transceiver settings ID 1010 set settings Get Settings RF Channel 13 2415MHz Power IE Low Power Transceiver Info GPIO ous Idle Figure 27 RF Power with SMAC Rev B Document No 0006 00 08 00 000 Page 34 of 42 FreeStar Pro User Guide 6 2 Range Test The SMAC software unlike the MAC does not handle ACK messages in the background Thus it is possible to get a LOI message of an ACK message for transmitted messages and this data is captured in the Transmitter section RX s LQI The Link Quality Indicator as measured by the receiver with indicator light RX d ACK The Link Quality Indicator of the acknowledgement messages as measured by the transmitter with indicator light D Range m Transmitter 4 1 2 4 s e 7 s pw 2 m Message Source 1 DestAddress 2020 User Defined Lai O e Di RX d ACK LOI d Disable Enable Rate Transmit Single Continuous Receiver pep pes gel 1 pao Source Address RX s LAI Figure 28 Range te
10. Again the user can cause the LQI measurements to change by varying the separation distance between the two evaluation boards or changing the obstructions in the transmission path 4 FreeStar Pro Test Tool Elle Settings Help Transceiver Settings Communications Log Transceiver ID 2020 Settings Get Settings TXCVR gt Host Rx n Channel 13 2415MHz gt 4 TXCVR gt Host Rx n REP TXCVR gt Host Rx n ower 18 TXCVR gt Host n b TXCVR Host Rx n b TXCVR Host Rx n b TXCVR gt Host Rx n b RF Evaluation PERT Range Settings Low Power Transceiver Info GPIO TXCVR gt Host Rx n b TXCVR gt Host Rx n b Range TXCVR gt Host Rx n b TXCVR gt Host Rx n b Transmitter TXCVR Host Rx n Data 23 E 4 5 D 8 3 10 12 13 TXCVR gt Host Rx n TXCVR gt Host Rx n b TXCVR gt Host Rx n b Message Source TXCVR gt Host Rx n b gares 2020 Predefined User Defined TOVA Host Pin ds TXCVR gt Host Rx n b RX s ACK s TXCVR gt Host Rx n b TXCVR gt Host Rx n b RX d ACK LOI nmm Disable Enable TXCVR gt Host Rx n b TXCVR gt Host Rx n r Rate TXCVR gt Host Rx n b Transmit Single Continuous TXCVR gt Host n b TXCVR gt Host Rx n b TXCVR gt Host Rx n TXCVR gt Host Rx n TXCVR Host Rx n Host
11. FreeStar Pro Evaluation Boards e One USB cable e Two Type AA Batteries FreeStar Pro Test Tools program loaded on For information on downloading the FreeStar Pro Test Tools program please refer to Section 4 1 2 5 2 SETUP METHODS Tests that Use Two Evaluation Boards Range PERT Three connection methods can be used for each of the next two tests Range and PERT For the demonstration tests that follow Mode C configuration described in Section 5 2 3 is used Rev B Document No 0006 00 08 00 000 Page 27 of 42 FreeStar Pro User Guide 5 21 Mode A One PC Two Boards Connected Two evaluation boards connected to One PC see Figure 20 1 Open two sessions of the FreeStar Pro Test Tool on the same computer Figure 20 Diagram Two sessions one computer 2 Configure the receiver in one session and the transmitter in the other session 5 22 Mode B Two PC s Two Boards Connected Two evaluation boards connected to Two PC s see Figure 21 1 Openone session of the FreeStar Pro Test Tool on each computer Figure 21 Diagram Two computers one session on each 2 Configure the receiver on one computer and the transmitter on the other computer 5 23 Mode C One PC One Board Connected One Standalone One evaluation board connected to a PC one board operating in standalone mode see Figure 22 For the demonstration tests that follow Mode C configuration as described here is used 1 Opena
12. Setup 1 Attach a USB cable supplied between the ZFSM 201 EVB 1 and the PC Note It is strongly recommended that the USB cable be plugged directly into the PC and not through a USB Hub to avoid COM port conflicts The first time a ZFSM 201 EVB 1FreeStar Pro Evaluation Board is connected to a computer the PC will install virtual serial port drivers and a COM port number will be assigned to the evaluation board To check which COM port is assigned to the USB connection follow steps 2 through 5 2 Open the Windows System Properties window using Start gt Control Panel gt System or right click on My Computer in the Start menu and select Properties from the drop down menu 3 Inthe System Properties window under the Hardware tab click the Device Manager button as indicated in Figure 4 System Properties 3 x System Restore Automatic Updates Remote General Computer Name Hardware Advanced Device Manager 4 The Device Manager lists all the hardware devices installed on your computer Use the Device Manager to change the properties of any device Dewce Manager Driver Signing lets you make sure that installed drivers are compatible with Windows Windows Update lets you set up how Windows connects to Windows Update for divers Signing Windows Update Hardware Profiles Drivers UTER Hardware profiles provid
13. User Guide 42 2 Transceiver Settings Window Sets the parameters of the ZFSM 201 EVB 1 FreeStar Pro evaluation board attached to the PC by a USB cable e Transceiver ID Enter the ID of the transmitter 1 65 535 RF Channel Enter the RF channel 11 2405MHz 26 2480 2 e RF Power Adjusts the Power Level of the Device from 5 to 20dBm settings of 0 18 Set Settings Writes the Transceiver ID RF Channel and RF Power to the Flash memory of the module attached to the evaluation board Get Settings Reads the Transceiver ID RF Channel and RF Power from Flash memory of the module attached to the evaluation board 423 Communications Log Window All supported UART messages sent and received by the PC will be displayed ZFSM 201 EVB 1 Module Host and RF Protocol Guide CEL Doc 0006 00 08 01 000 for a detailed list of supported messages and their frame formats e Messages are listed with the most current on the top e Clicking the Clear button will clear all messages in the log e Checking the Save to Log file will open a New save window To save the log file choose the appropriate directory and click Save 4 24 Test Tool Tabs The individual test tools available in the FreeStar Pro Test Tool software titled HF Evaluation Section 4 4 1 Sets the mode of a single module for RF testing e PERT Section 4 4 2 Performs a Packet Error R
14. pins 10 Pn VO TMR 1 2 motconnecied AD 5 6 ADCS 7 8 AD ADCS 9 10 2 2 10 Application Switches SW1 SW4 User inputs for standalone demonstrations or custom applications 2 2 11 LED s D1 D4 User outputs for standalone demonstrations or custom applications Rev B Document No 0006 00 08 00 000 Page 8 of 42 FreeStar Pro User Guide 2 2 12 Timer l O Connector J3 4 pin The four Timer signals are available on J3 connector Table 4 Timer Connector pins TMRO TMR1 TMR2 TMR3 2 2 13 Supply Voltage Connector J4 4 pin This connector allows powering of the EVB directly bypassing the regulator through Pin 3 and allows monitoring of the module s VCC through Pin 4 SENSE Table 5 VCC Connector pins GND GND VCC Module SENSE In 2 2 14 ADC Input Channel Connector J5 8 pin The eight ADC input channels are available on the J5 connector Table 6 ADC Input Channel Connector pins ADCO ADC1 ADC2 ADC3 ADC6 2 2 15 Addon Antenna The module contains an integrated PCB antenna and possesses the capacity to add an external antenna to the module A simple procedure for making this change adding the connector changing the position of a capacitor is included in APPENDIX 1 USING AN EXTERNAL ANTENNA located at the end of this document 2 2 16 GPIO Jumpers J13 40 J14 40 pin
15. 1 27 EY S EN 131 m Message Source Predefined User Defined RX s LOI mae Di e 2200 Disable Enable Rate Transmit Single C Continuous m Receiver E LOI O Receive Figure 23 Screen Test Tool Range Tab 5 3 1 The Transmitter Connected to the PC 1 Connect one of the evaluation boards to the PC through a USB cable and power up the board 2 Open the FreeStar Pro Test Tool program by clicking on the icon ad on the user s desktop 3 Follow connection procedures given in Section 4 3 1 until the Status is Found FreeStar Pro Module In the Transceiver Settings Section of the screen in Figure 23 4 The Transceiver ID for the Transmitter should be set to 1010 5 RF Channel should be set to Channel 13 6 Setthe Power at full power 06 Note screenshot shows an SMAC configuration instead of a MAC configuration See Section 6 1 for more information 7 Click the Set Settings button to write the settings to the connected evaluation board 8 Inthe Range Transmitter Section of the screen in Figure 23 click Predefined in the Message Rev B Document No 0006 00 08 00 000 Page 29 of 42 FreeStar Pro User Guide Source area 9 Set the destination Dest Address to 2020 10 Select Enable in the
16. 4 will convey the following information LED4 blinks when UART messages sent from the Host PC are received on the evaluation board e LED3 blinks when UART messages are sent from the evaluation board to the Host PC e LED2 blinks when the evaluation board receives a message through the RF channel e LED blinks when the evaluation board transmits a message through the RF channel Rev B Document No 0006 00 08 00 000 Page 19 of 42 FreeStar Pro User Guide 4 4 DESCRIPTIONS OF THE MAC TEST TOOLS Eight different tools are available in the Free Star Pro Test Tool program provided on the CEL CD and are shown as Tabs in the program s opening screen 44 1 RF Evaluation Tab The RF Evaluation Tab is used to set the module to run in different modes for RF Evaluation Tests commonly used for FCC certification or other RF evaluation RF Evaluation Current Radio Mode Continuous Idle Set Radio to Idle Idle Set Radio to Continuous Receive Receive Set Radio Transmit Modulated TX Mod Set Radio Transmit Unmodulated UnMod Set Radio to Transmit Psuedo Random Binary Sequence TX PRBS i E E Figure 12 Screen Test Tool RF Evaluation Modes e Idle Sets the radio to Idle mode where the reference oscillator is operating but the radio is neither transmitting nor receiving e Receive The radio will continually receive RF messages In this mode any RF messages receive
17. 41 APPENDIX 2 LICENSING ARRANGEMENTS 42 Rev Document No 0006 00 08 00 000 Page 3 of 42 FreeStar Pro User Guide 1 INTRODUCTION This document is the user guide for the California Eastern Laboratories CEL FreeStar Pro Evaluation Kit ZFSM 201 KIT 1 The kit is a collection of hardware and software assembled to allow a customer to design a remote sensing AMR AMI home and building automation industrial control or security application 11 KIT DESCRIPTION ZFSM 201 1 FreeStar Pro ZFSM 201 EVB 1 Module FreeStar Pro Evaluation Board ZFSM 201 KIT 1 FreeStar Pro Evaluation Kit The main component in the Evaluation Kit is the ZFSM201 EVB 1 FreeStar Pro Evaluation Board The board serves as an interface evaluation and development tool enabling the user to demonstrate and evaluate the capabilities of the CEL ZFSM 201 1 FreeStar Pro Module At the heart of the CEL ZFSM 201 1 is the Freescale MC13224V Platform in Package PiP transceiver a 32 bit ARM based ZigBee radio module and a third generation 2 4GHz IEEE 802 15 4 platform The 32 bit processor and extensive on chip memory allows designers to eliminate the peripheral host processors often required by 8 and or 16 bit transceiver solutions The high level of integration also helps to reduce component count lowering power consumption and reducing overall system cost The evaluation kit provides the end user the ability to quick
18. 800 9600 f 19200 38400 57 600 115 200 Auto Detect Figure 9 Screen Test Tool Port amp Baud Rate Settings 2 The default baud rate should be set correctly at 19 200 baud Check that the correct serial port is identified and click OK The status bar should appear as in Figure 10 When the connection with the module has been successful the Communications Status Window will show the COM port number the baud rate and the Status Found FreeStar Pro Module as shown in Figure 10 Comm Port 12 Baud Rate 19200 Status Found FreeStar Pro Module Figure 10 Screen Test Tool Comm Status Window Connected If the Comm Status Window displays another message click on the Settings menu and click the Communications Pull down entry 3 Ifthe COM port in use is not shown not known select Auto Detect If Auto Detect is successful the status bar will display a COM port number and a baud rate as in Figure 11 below Repeat steps 1 and 2 until the correct status as in Figure 10 is displayed in the Comm Status Window Comm Port 12 19200 Status Figure 11 Screen Test Tool Comm Status Window COM Port Found 4 If communication with the module is still unsuccessful with correct settings restart the test tool and perform the steps outlined above When connected to the FreeStar Pro Test Tool program the Indicator LED s 1 through
19. B Document No 0006 00 08 00 000 Page 6 of 42 FreeStar Pro User Guide FLASH GPIO Jumpers H Jumpers 19 J20 tz T 13 15 b 3 7S JTAG Ll Nod a VO Port J1 D E le 2 J2 zt WE 2 Switch Variable OS ee Resistors 7 SW5 for ADC Nul m 13 oa cres VR1 VR2 Current Measurement Jumper J9 per J9 on Bank USB D1 4 E d rn LEM DIC YN MTS J6 Io a l Switch re 9 19 4 z Poe gt i T 1 di SWFCH4 2 SWITCH 7 SWITCH 1 4 POWER E Switch SWe E 7 n 1 DC Jack J7 Figure 1 Photo ZFSM 201 EVB 1 Evaluation Board top view 2 2 DESCRIPTION OF THE MAJOR COMPONENTS ZFSM 201 EVB 1 22 1 Input Power The device can be powered using any of three different methods e Through the USB Port J6 using the supplied USB cable Through the DC Jack J7 using an optional DC Power Supply Through the Battery Holder BC2 using two supplied AA batteries 22 2 Power Switch SW6 The Power Switch applies power from the chosen power source to the evaluation board It is a three position switch with the three positions
20. California Eastern Laboratories Free Star Pro Series ZFSM 201 KIT 1 Development Kit User s Guide ZFSM 201 1 FreeStar Pro Module Document 0006 00 08 00 000 Rev B FreeStar Pro User Guide Table of Contents TIN ROG 4 1 1 KIT 1 4 1 2 ZFSM 201 KIT 1 5 1 2 1 Optional Hardware and Software 2 00 0000000000000000000 5 1 3 REFERENCED DOCUMENTS 4 4 4 1 2222 6 2 HARDWARE OVERVIEW 6 2 1 7 5 201 1 OVERVIEW 6 2 2 DESCRIPTION OF THE MAJOR COMPONENTS 2 5 201 1 7 CU ME SUM 7 222 eiii V 7 223 OWS l NEL 7 2 2 4 Current Measurement Jumper J9 2 2 0100 00000000000000000000 7 JAG O 22 8 2 2 6 Variable Resistors VR1 amp 2 00200 0000000000000 8 227 FLASH Erase Jumpers J19 2 420 2 8 220 8 2 2 9 Header Connector J2 26
21. F Channel 13 2415MHz 7 RF Power 18 Communications Log TXCVR Host Query S Host Query 5 Host TXCVR Query S Query Settings Timeout Host gt TXCVR Query S Query Settings Timeout RF Evaluation PERT Range Settings Low Power Transceiver Info Query S PERT Setup baa T z 5 7 Query Settings Timeout Host TXCVR Query 5 Query Settings Timeout Host TXCVR Query 5 Query Settings Timeout Host TXCVR Query S m Message Source Source 1010 Predefined UserDefined Dest Addres 2020 Packets 1 Start PERT RX Start PERT Query Settings Timeout Host TXCVR Query 5 Query Settings Timeout Host Query 5 Query Settings Timeout Host TXCVR Query 5 Query Settings Timeout PERT Results Host Query 5 Data p pesi pes Du D Query Settings Timeout Host TXCVR Query S Packets Sent Packets Received Success Packets Expected Query Settings Timeout Host TXCVR Query S excu ge emen Query Settings Timeout Host gt TXCVR Query S Query Settings Timeout Host Query 5 Query Settings Timeout Host TXCVR Query S Figure 26 Screen Test Tool PERT Demo 1 Connect one of the evaluation boards to the PC through a USB cabl
22. ING FLASH MEMORY This section describes a hardware procedure for erasing the Flash memory of the ZFSM 201 1 Module If using the Freescale Test Tool to upload firmware the Flash memory must be erased prior to programming 1 With power applied to the evaluation board attach shorting jumpers to the FLASH Erase Jumpers J19 and J20 See Figure 30 for their location shown without jumpers EE 3 5 a gt t7 Ls pe TS Figure 30 Photo EVB Details FLASH Erase Jumpers amp RESET 2 Pressthe RESETB switch See Figure 30 for its location 3 LED 1 LED 2 and LED 3 should all be illuminated The FLASH memory is now erased 4 Remove the shorting jumpers 7 3 DOWNLOADING NEW FLASH IMAGE 1 Connect the evaluation board with FLASH memory erased to the PC using a USB cable Apply power to the board LED s 1 2 and 3 should be illuminated indicating that the memory has been erased Rev B Document No 0006 00 08 00 000 Page 36 of 42 FreeStar Pro User Guide Fat 2 Open the Freescale Test Tool FSTT program by double clicking the icon on the user s desktop The screen in Figure 31 will appear Es Test Tool Eie View Tools Window Help ob be Figure 31 Screen Freescale Test Tool Opening at Test Tool View Tools Window Help Figure 32 Screen FSTT Communication Settings 3 Click on the Tools men
23. O buffers 23 30 11 TMR3 21 22 pin4 J3 Timers Conn 22 29 12 lCBusCok l2C SCL 23 944 21 2 Header 21 28 13 2 SDA 25 26 22 J2 GPIO Header 1 The pin number on the Freescale MC13224V of the function listed 2 The pin number on the CEL ZFSM 201 1 Free Star Pro Module of the function listed The dark gray color in the Connector Pins columns designates that a Jumper was in place at this location at ship ment and should be in place for normal operation Rev B Document No 0006 00 08 00 000 Page 10 of 42 FreeStar Pro User Guide Connection to the Module IC Connector Connection on the EVB Pins Pin GPIO Description PinName Sa aes Mod amp designates Jumpe UART1 8 UTO USB to UART Clear to Send Output aci Hle xm through 1KO UART1 pin 32 U10 USB to UART ULIEA Request to Send Input cil through 1 16 25 UART2 TX in 17 J2 GPIO Header Tx Data Output UART2 UART2 76 22 Goud GND2 both pins hard wired to ground E 39 40 J No Connection Jumper Connections J15 ca mouse e MEME JTAG Test Clock Input 5 6 pin 9 J1 JTAG JTAG Test Data Input TDI 7 8 pin 5 J1 JTAG T JTAG Test Data Output pin 13 J1 UTAG Pom sion ADC7 8 J5 ADC Analog Input Channel 7 ADC 5
24. Power LED D5 turns on LED s 1 through 4 should all turn on and then turn off in sequence 3 1 1 The Transmitter Setup Pressing SWITCH 1 puts the device into Transmit Range mode where the device will continually send out RF packets The following parameters are set automatically when the switch is pressed o The ID of the device is set to 1010 o Thechannelis set to 13 o The power is set to maximum for the transmitted range message 18 20dBm o The device transmits a periodic range message approx 200 min and blinks LED1 for each transmission Between transmissions the device switches to Receive Ack mode where it waits to receive an RF acknowledgment from the receiver If a valid acknowledgment response is received the device will blink LED2 once for each receipt 3 1 2 The Receiver Setup Pressing SWITCH 2 puts the device into Receive Range mode where the device continually listens for RF packets on its channel The following are set automatically when the switch is pressed o The ID of the device is set to 2020 o channel is set to 13 o The power is set to maximum for the transmission of the acknowledgment message 18 20dBm Ifa valid message is received the device will blink LED2 for each receipt of the message The device then switches to Transmit Ack mode where it transmits an acknowledgement message back to the source and blinks LED1 3 1 3 Tr
25. Serial Port COM7 Only COM ports 1 16 should be used with FreeStar Pro Test Tool COM port greater than 16 has been selected by the system follow steps 6 through 8 6 Double click on the USB Serial Port in the Device Manager window shown in Figure 5 7 The window shown in Figure 6 will appear Select the Port Settings tab and click the Advanced button USB Serial Port COM13 Properties Bits per second bits Noe Stopbis f1 7 Figure 6 Screen Device Manager Port Settings Rev B Document No 0006 00 08 00 000 Page 17 of 42 FreeStar Pro User Guide Advanced Settings for 21 xl cowz M COM Port Number r USB Transfer Sizes Select lower settings to corr Select higher settings for fa Receive Bytes Transmit Bytes r BM Options Select lower settings to corr Latency Timer msec r Timeouts Minimum Read Timeout m COMI in use 2 in use in use COMM in use COMS in use COMO in use COMB in use in use 10 11 12 COM13 COM14 15 use 16 use COM1 18 use COM19 use COM20 21 COM22 COM23 use 0 24 use 25 ud rates Defaults Miscellaneous Options
26. aluation software is described in the following sections 41 SOFTWARE INSTALLATION AND SETUP 4 1 1 Prerequisites to Installation CEL strongly recommends the disabling of any anti virus software during the installation of the software Anti virus software may be re enabled once the installation has completed As certain driver files may change during installation close all other applications in order to properly install the software 4 1 2 Installation Insert the CD into the drive and double click the setup exe file in the directory ZFSM 201 Tools FSPTT v1 5 for the SMAC and or MAC demo 1 The installer will launch automatically Follow the instructions to install the program 2 When the installation is complete a shortcut to the program will be created on the desktop Double click the shortcut to open the FreeStar Pro Test Tool program The screen in Figure 3 will appear Rev B Document No 0006 00 08 00 000 Page 13 of 42 FreeStar Pro User Guide FreeStar Pro Test Tool E lt ettings RF Channel 13 2445 RF Power 12 RF Evaluation Current Radio Mode Continuous che Set Radio to Idle die Set Radio to Continuous Receive Set Radio Transmit Modulated Set Radio Transmit Unmodulated Set Rado to Transmit Psuedo Random Binary Sequence Test Tool Settings Window Transceiver Settings Window Comm Status Window Timeout Query Settings 01 05 03 09 04 Query Se
27. ansmission Indicators If the Transmitter is setup before the Receiver the Transmit board will blink LED1 only until the Receiver is setup It will then blink both LED1 and LED2 as will the Receiver board 10 If the Receiver is setup first it will blink LED2 once and then wait until the Transmitter is setup Then both boards will blink both LED1 and LED2 3 1 4 Testing the Range Testing the range in the standalone mode can be done by separating the two boards until the Receiver board stops blinking However more effective range demonstrations are described later on in this document Section 5 3 and 5 4 3 2 ADC DEMONSTRATION This demonstration requires only one powered ZFSM 201 EVB 1 evaluation board no PC is required 1 Locate the two Variable Resistors VR1 and VR2 on the board Rev B Document No 0006 00 08 00 000 Page 12 of 42 FreeStar Pro User Guide 2 Adjusting VR1 will adjust the brightness of LED2 which will remain illuminated for about 2 seconds after the last adjustment 3 Adjusting VR2 will adjust the brightness of LED it too will remain illuminated for about 2 seconds 4 FREESTAR PRO TEST TOOL SOFTWARE The FreeStar Pro Test Tool evaluation software was designed to give the developer the ability to quickly test features built into the ZFSM 201 1 FreeStar Pro module The underlying UART communications can also be used to incorporate automated manufacturing tests The FreeStar Pro Test Tool ev
28. ardlntefaceBitb KB 0115116 52 78 51 Ground 7 GND4 17 18 pins hard wired to ground be ode perio connected to pin 26 through an 44 50 Regulators Buck Regulator LREG BK FB CIO Feedback Voltage 51 49 SystemResetinpt RESETB 27 22 RESET SW5 02 36 48 28 KeyboardinterfaceBit 6 23 24 55 2 ve oil Drive Output inductor 35 46 29 KeyboardinterfaceBit7 27 28 54 34 4 amp 5 0 SsiTxXDataOutput SSITX 129 30 pin11 J2 GPIO Header 33 44 1 SSIRXDaalpu SSLRX 31 32 LED4 pin 12 2 Header 32 43 2 SSIFrameSync SSIFSYN 33 34 pin13 J2 GPlOHeade SSI Bit Clock bidirectional SSI BITCK 35 36 pin14 J2 GPlOHeader 30 41 4 SPlPotSlaveSeet SPISS 37 38 pin24 J2 GPIOHeader e Jumper Connections J13 Connection P EE e or _ 7 3 Ground GND3 5 6 both pins hardwired to ground _ rough 1 m s RTT vero MEME 27 35 7 X SPlPotClck 5 15 11 12 pin23 J2 GPIO Header 26 34 8 Timer0lOSigna TMRO 18 14 pin1 J3 Timers Conn 25 33 9 TimerflOSigna TMR 15 16 pin 2 J3 TimersConn 24 32 10 Timer2lOSigal TMR2 17 18 pin3 J3 Timers Conn Supply Voltage to Buck POBE MOSFETS amp I
29. ate Test on a pair of modules Range Section 4 4 3 Sets up a single or periodic transmission between two modules Settings Section 4 4 4 Queries the reference oscillator capacitor values and the ADC values on the evaluation board Low Power Section 4 4 5 Allows the user to put the evaluation board into various Sleep modes for testing enables the on chip Buck Regulator a hardware change is needed also See ZFSM 201 KIT 1 ZFSM 201 EVB 1 Errata Doc 0006 00 08 04 000 for further information on the Buck Regulator Transceiver Info Section 4 4 6 Reads firmware versions and transceiver statistics e GPIO Section 4 4 7 Reads or sets selected GPIO Outputs ED Section 4 4 8 Performs an energy scan of the IEEE 802 15 4 2 4GHz channels 42 5 Test Tool Settings Window This area changes depending on the Tool Tab selected Please see individual descriptions in Section 4 4 Rev B Document No 0006 00 08 00 000 Page 15 of 42 FreeStar Pro User Guide 4 2 6 Comm Status Window The status bar at the bottom of the screen showing e Comm Port The PC COM port number through which the evaluation board is connected Or none e Baud Rate The speed of the connection from the PC to the evaluation board e Status The connection status of the evaluation board o Status No transceiver detected o Status Found FreeStar Pro Module 43 COMMUNICATIONS SETUP 4 3 1 Virtual Serial Port
30. being OFF V BAT ON for battery operation ON for USB or DC Jack connections 22 3 Power LED D5 This Red LED is connected to input power bus and will be illuminated when power is applied 22 4 Current Measurement Jumper J9 2 pin The jumper on J9 can be removed and a current meter placed in series to measure current into the module a useful feature for evaluating low power modes Rev B Document No 0006 00 08 00 000 Page 7 of 42 FreeStar Pro User Guide 225 JTAG Port J1 20 The JTAG port is used for debugging applications and loading firmware using the AR Embedded Workbench IDE program 2 TAG Port Connector pins Description Pin Pin Description Ve notconnected 3 4 GND TD 5 6 IMS 7 8 TCK 9 2 26 Variable Resistors VR1 amp VR2 The onboard potentiometers are connected to the Analog to Digital Converter ADC pins on the MC13224V They are used to demonstrate the functionality of the ADC 2 2 7 FLASH Erase Jumpers J19 2 pin J20 2 pin A method for manually erasing the Flash memory using these jumpers is discussed in Section 7 2 of this manual 22 8 Reset Switch SW5 The ability to reset the microcontroller on the FreeStar Pro module is provided by this switch 2 29 GPIO Header Connector J2 26 pin Additional access to selected I O pins on the MC13224V is provided at this connector Table 3 GPIO Header Connector
31. d will be ignored by the processor Mod The radio will continually transmit a Modulated signal TXUnMod The radio will continually transmit an Unmodulated signal TX PRBS The radio will continally transmit a Psuedo Random Binary Sequence 44 2 PERT Tab The Packet Error Rate Test is conducted between two evaluation boards one configured as a transmitter and the other as a receiver sends a defined number of packets with a defined message code from the transmitter to the receiver The receiver counts the number of packets received with the same message code and displays the statistics A demonstration of this function is given in Section 5 4 of this document Rev B Document No 0006 00 08 00 000 Page 20 of 42 FreeStar Pro User Guide TOTEM etr PERT PERT Setup Data 1 a aa a FS ES a a Message Source Souco Address 1010 Predefined User Defined Dest Address 2020 tt Packets 3 Start PERT id Start PERT PERT Results EA Packets Received Success Packets Expected Figure 13 Screen Test Tool PERT Test 4 4 2 1 PERT Setup Section Data The message to be sent thirteen 1 byte fields Source Address The Transceiver ID of the evaluation board being used as the transmitter Dest Address The Transceiver ID of the evaluation board being used as the receiver Packets The number of times the
32. e a wey for you to set up and store 20 diferent hardware configurations Hardware Profiles Figure 4 Screen Windows System Properties Rev B Document No 0006 00 08 00 000 Page 16 of 42 FreeStar Pro User Guide Device Manager Action View Help mma gt Keyboards Mice and other pointing devices L Modems Monitors Plug and Play Monitor HE F 1 Plug and Play Monitor Plug and Play Monitor Plug and Play Monitor Plug and Play Monitor 21 880 Network adapters ES 1394 Net Adapter 98 Broadcom Netxtreme 57xx Gigabit Controller 88 Dell Wireless 1390 WLAN Mini Card PCMCIA adapters Ports COM amp LPT BT Port COM10 BT Port COM11 27 BT Port COM12 aF BT Port COM13 27 BT Port COM14 27 BT Port COM20 27 BT Port COM21 27 BT Port COM22 4 Communications Port COM1 ECP Printer Port LPT1 SB Serial Port COM Processors YB Smart card readers 2 Sound video and game controllers System devices Universal Serial Bus controllers Figure 5 Screen Device Manager D E H E EEE 4 Click on the Ports COM amp LPT label or expand the tree by clicking the sign The COM ports the system will be displayed as shown in Figure 5 5 As shown in Figure 5 the COM port chosen by the system is displayed as USB
33. e and power up the board 2 Follow connection procedures given in Section 4 3 1 until the Status is Found FreeStar Pro Module 3 Push SWITCH 2 on the evaluation board to configure the connected board as the Receiver 4 Inthe Transceiver Settings window click the Get Settings button to ensure the settings are o Transceiver ID 2020 o Channel 13 2415 2 o RF Power 06 Note The screenshot shows configuration instead of a MAC configuration See Section 6 1 for more information with regards to RF Power In the PERT Setup Section 5 Ensure that Predefined is checked in the Message Source section 6 Check that the Dest Address is 2020 7 Check that the Source Address is 1010 8 Click the Start PERT RX button to set up the Receiver The Receiver Data should display the same Rev B Document No 0006 00 08 00 000 Page 33 of 42 FreeStar Pro User Guide values in each of the fields as the Data in the Transmitter area The four statistical fields should be zeros 0 9 Power up the Standalone board using batteries supplied The standalone board may be separated from the Receiver to observe the PER results in different environments 10 Press SWITCH 4 on the standalone board to configure it as the PERT Transmitter and start the packet transmissions o The ID of the transmitting board will be set to 1010
34. ed SUCCESFULLY Please reset the board before doing anything else Figure 40 Screen FSTT Upload Complete 13 When it is complete the screen in Figure 40 will be displayed 14 Press the RESETB switch on the evaluation board All four LED s should light and go out in sequence The firmware has been successfully uploaded to the device 8 REVISION HISTORY 04 09 Added MAC Support 22May09 Updated for MAC v1 11 and MAC based demo as pre loaded firmware Rev B Document No 0006 00 08 00 000 Page 40 of 42 FreeStar Pro User Guide APPENDIX 1 USING AN EXTERNAL ANTENNA Note Use of an antenna which has not been certified by FCC IC or CE type acceptance is not permitted Please refer to ZFSM 201 1 datasheet for the latest RF certification information The ZFSM 201 1 module is available as a ZFSM 201 1C with an MMCX connector for an external antenna Alternatively a module can be modified to incorporate an Right Angle Jack connector to the board though for the customer to do so will void the warranty This simple procedure is given on how to modify the board for the inclusion of an external antenna connector Table 8 Components Required and Optional See Right Angle Jack Mount required Any 0402 SIZE SMT CERAMIC CAPACITOR 100pF replacement if needed Plug to SMA Jack Adaptor m optio
35. eets and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including Typicals must be validated for each customer application by customer s technical experts CEL does not convey any license under its patent rights nor the rights of others CEL products are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the CEL product could create a situation where personal injury or death may occur Should Buyer purchase or use CEL products for any such unintended or unauthorized application Buyer shall indemnify and hold California Eastern Laboratories and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that CEL was negligent regarding the design or manufacture of the part Beekit Freescale and the Freescale logo are trademarks or registered trademarks of Freescale Semiconductor Inc ARM and ARM are the trademarks or registered trademarks of ARM Limited IAR IAR Systems AR Embedded Workbench are the trademarks or registered trademarks of IAR Sys
36. er s Guide BKWCTKUG BeeKit Wireless Connectivity Toolkit Software Release Notes BKWCTKRN MC1322x MC1322x Reference Manual MC1322xRM MC1322x Simple Media Access Controller SMAC Reference Manual Simple Media Access Controller SMAC User s Guide Note The Freescale documents listed above will be loaded to the user s PC when installing the BeeKit Toolkit found on the CEL Freestar Pro CD www cel com 0006 00 07 00 000 ZFSM 201 KIT 1 Development Kit User Guide 0006 00 08 00 000 0006 00 08 01 000 0006 00 08 02 000 0006 00 08 03 000 0006 00 08 05 000 0006 00 08 06 000 ZFSM 201 KIT 1 ZFSM 201 EVB 1 Erratum 0006 00 08 04 000 Note The CEL documents listed above are included on the CEL CD 2 HARDWARE OVERVIEW 2 1 2 5 201 1 OVERVIEW The ZFSM 201 1 FreeStar Pro module is a 2 4GHz IEEE 802 15 4 compliant data transceiver module based on the Freescale MC13224V with a 100mW power amplifier providing enhanced range performance Two crystals needed for the clock oscillators are also incorporated into the module The module also contains an integrated PCB trace antenna and possesses the ability to optionally add an MMCX connector in order to use an external antenna The procedure for adding the connector is located in APPENDIX 1 USING AN EXTERNAL ANTENNA at the end of this document In order to interface with the module it has been mounted to a PCB to produce a ZFSM 201 EVB 1 Evaluation Board as pictured in Figure 1 Rev
37. horting Jumpers CEL 0006 03 00 00 000 CEL Informational CD The CEL Informational CD contains CEL Documentation See list in Section 1 3 Set up files for the FreeStar Pro Test Tool program Sample Project files AProjectFile for IAR Workbench o A Solution File for BeeKit o Application Firmware files for the ZFSM 201 1 Module Files for loading theFreescale BeeKit and Test Tool 1 2 1 Optional Hardware and Software Manufacturer PartNumber Description Hardware Components Manufacturer Phihong P N PSAO5R 090 R 9V DC 0 5A Power Supply Manufacturer IAR Systems P N JLINK ARM IAR J Link for ARM Debug Probe recommended for development Software Components Manufacturer IAR Systems IAR Embedded Workbench IDE Development and Compiler software Name EWARM required for development Maio D BeeKit Freescale Wireless Connectivity Toolkit Name Rev Document No 0006 00 08 00 000 Page 5 of 42 FreeStar Pro User Guide 13 REFERENCED DOCUMENTS Table 1 contains the documents that have been referenced by this document or recommended as additional information Please consult the appropriate website to check for the latest revisions and editions Table 1 Related and Referenced Documents Document Title Freescale Semiconductor Documents www freescale com BeeKit Wireless Connectivity Toolkit Quick Start Guide BKWCTKQSG BeeKit Wireless Connectivity Toolkit Us
38. in Figure 35 click on the View menu click on the Firmware Loader and MC1322x Firmware Loader in the Pop ups The screen in Figure 36 will appear Select the device defined in Figure 33 and click OK The screen in Figure 37 will be displayed Rev B Document No 0006 00 08 00 000 Page 38 of 42 FreeStar Pro User Guide MC 1322x Firmware Loader ZigBee COMIS 115200 1 x File name Browse Upload parameters Program in flash Program in RAM ep Verify flash after programming Program secure MC1322x Firmware Loader ZigBee COMIS 115200 E x File name C CEL FS Pro CD KR 1 ZFSM 201 Application Source Fil Browse Upload parameters Program in flash C Program RAM Flash parameters Erase flash before programming Verify flash after programming Program secure Lo cose Choose the and reset the target before pressing Upload button Figure 38 Screen FSTT Selecting the binary File 7 Click the Browse button and find the binary bin file to load The bin file that was originally loaded on the device is located on the CEL CD in the directory ZFSM 201 Application Source FilesCEL MAC 111 v1 3CEL MAC 111 0 and is named CEL MAC 111 bin See Figure 38 o Alternatively if it is desired to use the SMAC variant of the sample application the bin file may be located on the CD in the directory ZFSM 201 A
39. istics will display the current data for the connected evaluation board Rev B Document No 0006 00 08 00 000 Page 25 of 42 FreeStar Pro User Guide 4 4 7 Tab The GPIO Tab can be used to set selected GPIO Outputs to logic high or logic low levels or to query the setting of the connected device tt rers rhon GPIO 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 oj oj of of of of of of of of of of of 138 2021 22 231 24 Paj 25 26 23 231 30 31 xf of of of of xf of of of xf 1 xi x 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 oj f I 24 54 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 xi d xi xI Restore 1 0 Query Outputs Set Outputs Figure 18 Screen Test Tool GPIO The Set All Outputs button will set all available GPIO outputs to a logic high level in the GUI e Set All Outputs Lo button will set all available GPIO outputs to a logic low level in the GUI e Clicking on an individual GPIO box will toggle the output between being a logic high or logic low level e The Restore I O button will restore the GPIO pins to their initial state Clicking Set Outputs button will send a UART message to the ZFSM 201 EVB 1 evaluation board setting the selected GPIO to the state in the GUI e Clicking the Query Outputs but
40. low For LQI readings between 85 and 168 o Red For reading of less than 85 L QI measurements will vary due to many factors including separation distance between the two evaluation boards and obstructions in the transmission path For example the user can try covering the module of one of the evaluation boards with a hand to lower the LQI readings into the Yellow range and covering the modules on both boards to lower it into the Red range Rev B Document No 0006 00 08 00 000 Page 30 of 42 FreeStar Pro User Guide FreeStar Pro Test Tool Ele Settings Help Transcerver Settings Communications Log TransceiveD 11000 Set Settings Get Setting RF Channel 13 2415MHz Power E RF Evaluation PERT Range Setting Low Power Transceiver Info GPIO r Transmitter bw 9 7 7 Bs r Receiver E pressi psg Esel EE Eu EE SouceAddes 0 pavs 5 3 2 The Receiver Connected to the PC Alternately the board connected to the PC can be configured as a receiver Follow steps 1 2 and 3 in section 5 3 1 In the Transceiver Information area 1 Set the Transceiver ID to 2020 2 Set the RF Channel to 13 3 Set the Power to full power 06 for the ACK message Note screenshot shows SMAC configuratio
41. ly become familiar with both the ZFSM 201 1 FreeStar Pro module s hardware and software Each evaluation board comes preloaded with firmware demonstrating a wireless link and communicating with the supplied FreeStar Pro Test Tool Graphical User Interface GUI Full application source code of the firmware is based on Freescale s SMAC and MAC Rev B Document No 0006 00 08 00 000 Page 4 of 42 FreeStar Pro User Guide codebases for ARM7 are supplied an IAR Embedded Workbench for ARM project The source code exercises key features of the MC13224V and provides a good reference or starting point for creating custom applications on the SMAC codebase NOTE MACPHY A library file has been removed from the pre programmed Freescale MAC example project The user will need to install the Freescale BeeKit and agree to the Terms and Conditions to receive the MACPHY A library file Both applications include the following features RF Evaluation Range Test Application Packet Error Rate Test PERT Application Transmitting and receiving on the UART Using low power modes Reading and writing to Non Volatile Memory NVM Reading Analog to Digital Converters Using GPIOs ZFSM 201 KIT 1 CONTENTS Qty Part Number Description 0 ZFSM 201 EVB 1 FreeStar Pro Evaluation Boards with firmware loaded USB interface cables 000 94611 6 2 0 ver A B M M 6 USB interface cables Type AA Batteries 3M 929955 06 0 1 SHUNT JUMPER S
42. n instead of a MAC configuration See Section 6 1 for more information 4 Click on Set Settings On the Standalone Board 5 Press SWITCH 1 on the standalone board to put the board into the Range Test Transmit Continuous Mode with ACK s enabled o ThelD of the Transmitter board will automatically be set to 1010 The RF channel of the Transmitter board will be set to Channel 137 o The RF power of the Transmitter board will be set to full power 18 The Transmitter Board will start to send out Range packets requiring ACK s indefinitely until the evaluation board is Reset or powered OFF LED 1 will blink 6 In the Range Receiver Section of the screen in Figure 23 start the Receive test by clicking the Receive button On the receiver board LED s 1 2 and 3 will blink On the transmitter board LED s 1 and 2 will blink On the PC a screen such as that in Figure 25 will be displayed which will show Packet messages in the Communications Log window he Receiver area Data populated with the Predefined data e Source Address of 1010 Rev B Document No 0006 00 08 00 000 Page 31 of 42 FreeStar Pro User Guide RX s numbers that will fluctuate ranging from to 255 To the right of the LOI number will be an indicator light which will blink any of three colors following the same criteria as with the Transmit test
43. nal for antennas with SMA plug connectors 1 Acquire a MMCX Right Angle Jack PCB Mount connector from any of the three vendors listed or equivalent 2 Change the position of the capacitor as shown in Figure 41 or replace with new 3 Attach the connector to the module and solder in place 1 20 Figure 41 Diagram External Antenna Capacitor Change The PCB Trace antenna will no longer be connected and the MMCX Jack connector will be active Rev B Document No 0006 00 08 00 000 Page 41 of 42 FreeStar Pro User Guide APPENDIX 2 LICENSING ARRANGEMENTS Information in this document is provided solely to enable system and software implementers to use California Eastern Laboratories CEL products There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document California Eastern Laboratories reserves the right to make changes without further notice to any products herein CEL makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does CEL assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters that may be provided in CEL data sh
44. o The RF channel of the transmitting board will be set to Channel 13 o RF power of the transmitting board will default to the maximum power 18 20dbm o The transmitting board will transmit 200 PERT messages with the Predefined Message Source as the Data in about 12 seconds LED1 on the Transmitter board will blink once for each packet sent until all 200 packets have been transmitted 11 On the Receiver evaluation board LED 3 will be illuminate and LED 2 will blink until all 200 packets have been received 12 Observe the results on the PC screen a Each packet can be seen in the Communications Log as it is received b Inthe PERT Results area the Packets Expected field will immediately display 200 c The Packets Sent Packets Received and Success should start to increase in value as each packet is received d When the transmitting board has completed transmission the Packet Sent should equal the Packets Expected Packets Received will be less than or equal to Packets Sent and Success will reflect the ratio of Packets Received as a percentage of Packets Sent This number can be used to calculate the Packet Error Rate PER for this demonstration using the formula PER 100 Success 6 Using the GUI with the SMAC 6 1 RF Power The MAC software from Freescale restricts the power settings from 0 6 as opposed to 0 18 for
45. ons link Range Transmitter pue 1 2 3 fa 7 m pg Message Source Predefined User Defined ACK s Disable Enable Rate Transmit Single Continuous Receiver 2 eod Source Address Pp Receive LAI Figure 14 Screen Test Tool Range Test 4 4 3 1 Transmitter Section e Data The message to be sent thirteen 1 byte fields e Dest Address The Transceiver ID of the evaluation board being used as the receiver e Message Source Defines the message in the data fields as follows o Predefined Fills the Data fields with predefined numbers 1 13 o User Defined Allows the user to change any of the data values 0 255 in the 13 Data fields e ACK s Determines whether the transmitter asks for an acknowledgement of its message as follows Disable Turns OFF the acknowledgement request o Enable Turns ON the acknowledgement request e Rate Defines the transmission rate as follows o Single Transmits a single packet o Continuous Transmits the packet repeatedly until stopped manually i e can be stopped with the RESET button e Transmit Starts the transmission of packets Rev B Document No 0006 00 08 00 000 Page 22 of 42 FreeStar Pro User Guide 4 4 3 2 Receiver Section e Data The message being received it should agree with the Transmit Data e Source Add
46. packet will be transmitted Message Source Defines the message in the data fields as follows o Predefined Fills the Data fields with predefined numbers 1 13 o User Defined Allows the user to change any of the data values 0 255 in 13 Data fields Start PERT RX Sets the receiver into a mode ready to receive packets if the module connected to this version of the GUI is configured as the receiver if using a User Defined Message Source copies the data fields from the Transmitter area Start PERT TX Starts the transmission of the specified number of packets if the module connected to this version of the GUI is configured as the transmitter 4 4 2 2 PERT Results Section Data The criteria message for the error rate test must match the transmitter data The next four fields are filled by the test program when it is run On starting the PERT Packets Expected will immediately display Packets Sent Total number of packets sent Packets Received Successfully received packets data received matched the criteria Success Equal to Packets Received Packets Sent Packets Expected Equals the Packets from the Transmitter Rev B Document No 0006 00 08 00 000 Page 21 of 42 FreeStar Pro User Guide 44 3 Range Tab The test under this tab will set up a transmission single or continuous between two evaluation boards and measure the Link Quality Indication parameter for their communicati
47. pplication Source FilesCEL SMAC 111 v1 2 EL SMAC 111 0 and is named CEL SMAC 111 bin 8 In the Upload parameters section select Program in flash 9 Press the RESETB switch on the evaluation board hold for a few seconds 10 Click the Upload button in Figure 38 x Initial loader response timeout Reset the board and try again IF still doesn t work check if flash is erased 11 If unsuccessful the screen will be displayed Repeat step 9 and 10 These steps may need to be repeated a few times 12 While the upload is occurring the screen in Figure 39 will be displayed Rev B Document No 0006 00 08 00 000 Page 39 of 42 FreeStar Pro User Guide MC1322x Firmware Loader ZigBee COM15 115200 x File name FS Pro CD Kit 1 ZF5M 201 Source Fil Browse Upload parameters Program in Flash C Program in RAM Flash parameters Erase flash before programming Verify Flash after programming Program secure Help EHBGHUNBEH Sent 8960 out of 35880 bytes MC1322x Firmware Loader ZigBee COM15 115200 File name C CEL FS Pro CD 1 2 5 20 Source Fil Browse Upload parameters Program in Flash C Program in RAM Flash parameters Erase flash before programming Verify Flash after programming Program secure File Upload
48. query Rev B Document No 0006 00 08 00 000 Page 23 of 42 FreeStar Pro User Guide 44 5 Low Power Tab There are a variety of low power and wakeup options available on the MC13224V The GUI allows the user to experiment with low power modes by placing the device into the selected low power mode for 10 seconds for a purpose such as to monitor the current into the module using the current measurement jumper See Figure 1 for its location m Low Power Low Power Mode Run Default C Hibemate 32kHz Clock for 10S Hibemate 2kHz clock for 105 Geom Doze for 10S Buck Regulator Buck is Disabled Default Use Selected C Enable Buck NOTE ON MODULE MUST BE REMOVED Buck Figure 16 Screen Test Tool Low Power Mode Buck Regulator 4 4 5 1 Low Power Mode e Inthe two Hibernate modes the Real Time Clock RTC is configured as the wakeup source with either the 2 kHz internal clock or the external 32 kHz crystal used as the clock e In Doze mode the reference oscillator 24 MHz is the wakeup source Run mode is normal operation 4 4 5 2 Buck Regulator this function is not supported by current software e MC13224V contains an on board Buck Regulator to further reduce operating current on battery powered devices he evaluation board contains the external components needed to operate the Buck Regulator NOTE FreeStar Pro Module hardware must be modified to enable the B
49. ress The Transceiver ID of the evaluation board being used as the transmitter RX s LQI The Link Quality Indicator as measured by the receiver with indicator light e Receive Starts the reception of packets 4 4 4 Settings Tab The settings tab can be used to query the settings capacitor values of the reference oscillator or to query the Analog to Digital Converters See Figure 15 ttes rnm Settings XTAL Settings 4pf CTune 4 Query XTAL Values 4 4pF CTune 3 0 4 156fF FTune 4 0 ADC Results Power Supply Start ADC Query Stop ADC Query Figure 15 Screen Test Tool Settings ADC CHO ADC CHE 4 4 41 Settings The default XTAL settings are hardcoded into program and are displayed on turn e Clicking the Query XTAL Values button will read the actual values in the device and display them in the drop down boxes Packets sent and received can be seen in the Communications Log screen 4 4 4 2 ADC Results clicking the Start ADC Query button the ADC s connected to the Potentiometers See Figure 1 will be continually read about twice a second Their values will be updated in the respective boxes in the GUI e In addition the MC13224V has the ability to monitor its own power supply from an internal voltage reference This value will also be updated in the ADC query e Clicking the Stop ADC Query button will stop the
50. single session of the FreeStar Pro Test Tool on the computer Figure 22 Diagram One board wired to the computer one linked wirelessly 2 Forthe Range Test the board connected to the computer can be configured either as the receiver or as the transmitter For the PERT Test the board connected to the computer should be configured as the receiver See the details in the sections 5 3 and 5 4 for each of these demonstration tests below Rev B Document No 0006 00 08 00 000 Page 28 of 42 FreeStar Pro User Guide 5 3 RANGE TEST The Range Tab and the PERT Tab can be used to determine the effect of separation of the two evaluation boards For this demonstration Mode C configuration described in Section 5 2 3 is used in order to be able to separate the Transmitter evaluation board from the Receiver evaluation board to demonstrate the Link Quality Indication LQI of the communications link under less than ideal circumstances and as a function of range This test using two different methods will be described 5 3 1 using the connected evaluation board as a transmitter and 5 3 2 using the connected evaluation board as the receiver w gt FreeStar Pro Test Tool File Settings Help m Transceiver Settings Transceiver ID 2 Set Settings sooo Channel 13 2415MHz RF Power 18 Evaluation PERT Flange Settings Low Power Transceiver Info GPIO Range r Transmitter
51. st with 6 3 Energy Scan The SMAC software does not allow the duration of the energy scan to be selected See Figure 29 Evaluation PERT Range Settings Low Power Transceiver Into ED Scar CHIZ CH4 CH CHIE CH7 CHIE d EU E r CHIE fz CH2 CH2E NNNM E Ii CHIE CHIE CHIE CHX CH24 s A x fa fa Figure 29 Energy Scan with SMAC Rev B Document No 0006 00 08 00 000 Page 35 of 42 FreeStar Pro User Guide 7 DOWNLOADING TO FLASH THROUGH THE USB In the event that the Application firmware on one of the evaluation boards needs to be reinstalled this section describes a simple procedure for downloading to Flash memory using the MC1322x Firmware Loader tool in the Freescale Test Tool program Version 11 1 0 Please refer to Freescale Semiconductors Freescale Test Tool User s Guide Freescale Doc TTUG for detailed information and explanations on this specific tool or for the rest of the program 71 PREREQUISITE HARDWARE AND SOFTWARE e One ZFSM 201 EVB 1 FreeStar Pro Evaluation Board The Freescale Test Tool program which is downloaded as a part of the BeeKit download For information on downloading this program refer to the Section on Installing BeeKit in ZFSM 201 EVB 1 BeeKit Porting Guide CEL Doc 0006 00 08 03 000 7 2 ERAS
52. tems AB All other product or service names are the property of their respective owners California Eastern Laboratories Inc 2008 Rev B Document No 0006 00 08 00 000 Page 42 of 42
53. ton will read the output level of the ZFSM 201 1 Module on the evaluation board and display the results in the GUI The GPIO boxes containing a gray X are either not available on the module not brought out or used on the evaluation board for other functions UART NOTE LED4 GPIO01 and LED3 GPIO25 are under the control of the UART state machine Setting them to a logic level is allowed in the GUI but the state machine will quickly take control of the LED s The output state set by the GUI may not be what is queried for this reason Rev B Document No 0006 00 08 00 000 Page 26 of 42 FreeStar Pro User Guide 44 8 ED Tab This Tab demonstrates the ability of the module to conduct an energy scan of all of the IEEE802 15 4 2 4GHz channels a function that can be useful when the network needs to be capable of determining its RF Channel based on the interfering signals present The MAC software allows the duration of the energy scan to be selected The longer the duration the more accurate the energy scan results are but the scan will take longer X ED Scan Duration per Channel 05 Energy Scan CH11 CH12 CH14 CH15 CH16 1 18 ea CH19 CH20 CH21 CH22 CH23 CH24 CH25 CH26 e s s Figure 19 Screen Test Tool ED Scan 5 DEMONSTRATION USING TEST TOOLS 5 1 PREREQUISITE HARDWARE AND SOFTWARE e Two ZFSM 201 EVB 1
54. ttings Timeout TXCVR Query Settings 01 05 03 09 04 Query Settings Host gt TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host gt TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host TXCVR Query Settings 01 05 03 09 04 Query Settings Timeout Host TXCVR Query Settings 01 05 03 0S 04 Comm None Rate Status No transceiver detected Figure 3 Screen FreeStar Pro Test Tool Opening 4 2 GUI SCREEN DESCRIPTIONS Please refer to Figure 3 to become familiar with the screen location of each of the following areas commands and functions 42 1 Menu The major commands in the header menu bar of the opening screen e File o New Tocreate a new file o Open To open an existing file o Exit To exit the program Settings o Communications To set up the serial communications link with an evaluation board e Help o About FreeStar Pro Test Tool Additional information about the program Rev B Document No 0006 00 08 00 000 Page 14 of 42 FreeStar Pro
55. u and click on the Communication Settings in the Pop up as shown in Figure 32 An empty version of the screen in Figure 33 should appear 4 Click on Add Internal The screen in Figure 34 will appear List of Devices Mame Location 2 COMIS 115200 10003 zigBee Device Add External Remove Settings Rename Digable Move Up Move Bown Close Figure 33 Screen FSTT Comm List of Devices Rev B Document No 0006 00 08 00 000 Page 37 of 42 FreeStar Pro User Guide Device Settings x ZigBee Serial USB Board Connection COM Port COM15 v Baudrate Hardware flow control enabled C P amp E USB Multilink BDM C WinSocket Address 172 27 10 100 fi 241 7 Figure 34 Screen FSTT Comm Dev Setting 5 Choose the COM Port to which the evaluation board is connected change the Baudrate to 15200 and click OK The chosen evaluation board will be displayed on the screen as in Figure 33 Click Close If the Port needs to be determined the Test Tool program has a convenient link to Device Manager to do so Notice in Figure 32 that Device Manager is just below Communication Settings in the Tools menu Click on Device Manager and follow the procedure in Section 4 3 1 Figure 36 Screen FSTT Device Selection 6 shown
56. uck Regulator e Check the Enable Buck Disable Buck selection followed clicking the Use Selected Buck button The buck will stay enabled disabled until reset Rev B Document No 0006 00 08 00 000 Page 24 of 42 FreeStar Pro User Guide 4 4 6 Transceiver Info Tab Version and transceiver information can be obtained from this tab as seen in Figure 17 93 terri 033353 Transceiver Info Firmware Version Information SMAC Version Version Query Version APP Version Transceiver Packets Sent Acks Sent Packets Received Acks Received Query Statistics Clear All Statistics Figure 17 Screen Test Tool Transceiver Info 4 4 6 1 Firmware Version Information e The version information is updated when the evaluation board is first plugged into the host PC It can be viewed by clicking Query Version 4 4 6 2 Transceiver Displays the statistics on the connected device accumulated since it was last cleared Powering OFF or resetting the EVB do NOT clear the statistics The number of packets sent and received as well as the number of acknowledgement sent and received is tracked Can be used for example in conjunction with the Range test to monitor the radio performance over an extended period of time e Clicking the Clear Statistics button will set all data to zero e Clicking the Query Stat

Download Pdf Manuals

image

Related Search

Related Contents

Quantum Scalar 24 Library, one LTO-3 tape drive, 24 slots, LVD SCSI  H101-OLYMPUS-IX3-SVR User Manual  取扱説明書 - LIXIL    Tutoriel ChemSketch - Collège Montmorency  om, mini trim auto, 2010-04, trimmers, 952711894  Le catalogue des formations proposées par la FoCEF Liège  Phonix S9300WB2 mobile phone case  Zenith 216666666 User's Manual  Maytag MTW6600TB1 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file