Home
RK- Wi.Freestar User`s Manual
Contents
1. Page 8 CHAPTER 4 SOMWare OVeLVIOW Do EM Nu aU AP I CI VADE Pages 11 22 Al SOltWare DESCHIDUON e rap dunes Page 11 4 2 Sotware deu Labeo Page 12 4 3 Setting Up and testing a Wireless Link Page 19 CHAPTER 5 Wi Freestar Zigbee Ready Module Input Output Pages 23 24 51 OW CIVIC NE Page 23 5 2 Digital Inputs Pages 23 24 CHAPTER 6 Wi Freestar Application Quide eese cesses Pages 25 36 Tem 25 Appendix Range Test Results Pages 37 39 Appendix B Agency Statements Pages 40 42 Page 3 of 42 CHAPTER 1 Wi Freestar Evaluation Kit Overview 1 1 Description 1 2 Contents The evaluation kit provides the end user the ability to quickly become familiar with the Wi Freestar module Included in the kit are two Wi Freestar modules and a quick start guide to demonstrate the communication link between the two modules Also included is a GUI interface referred to as the Wi Freestar Evaluation Test Tool TT to quickly communicate with the RF modules The Evaluation software demonstra
2. 0x11 0xC8 0x00 0x02 0x00 0x01 0x00 0x01 0x02 0x03 0x12 0x04 Page 33 of 42 Short To Long Addressing The following example will show details of communications between two Wi Freestar modules with transceiver A configured to use short addressing and transceiver B configured to use long addressing Settings Transceiver A Address Short Address 1 Long Address Don t care Transceiver B Address Short Address 65 534 use long address Long Address 2 0x0000000000000002 Packet ID 10 Target Sender Host Host gt Transceiver A Send n RF Data Bytes To Destination Transceiver ID lt 0x01 0x13 0x14 Ox0A 0x11 0x10 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x03 Ox5B 0x04 Assuming that Transceiver B receives the message from Transceiver A then it would send a host message out of its serial port Transceiver B Host Received n HF Data Bytes From Transceiver ID lt 0x01 0x16 0x95 0x0A 0x11 0 8 0x10 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x01 0x02 0x03 0x28 0x04 Long To Short Addressing The following example will show details of communications between two Wi Freestar modules with transceiver A configured to use long addressing and transceiver B configured to use short addressing Settings Transceiver A Address Short Address 65 534 use long address Long Address 1 0x0000000000000001 Transceiver B Address Short Address 2 Long Address Don t care Packet ID 1
3. Date Comm Part 1 Bawd Rote 19200 Salus Figure 4 4 Settings Digital l O Configuration e Input Output Level or Input Setup Gives user ability to set selective Port Pins for Output 0 or 1 Initial Value or Input With or Without Internal Pull Up Resistor Enabled e Sleep Output Level or Input Setup gives user the ability to configure Digital I O as desired for sleep state Digital e Output Value User can select desired output value for any pin configured as output e Input Value Tells user whether the input has 1 or 0 applied to selective pins configured as input note pins configured as outputs will register as O Analog Inputs e Readings Displays analog input read by the micro Sleep Analog State e gives user the ability to configure as desired for sleep state May be set to Digital Output 1 or O or the pins may remain set to analog inputs Page 15 of 42 4 2 5 Statistics See Figure 4 5 The statistics page can be selected by clicking the Statistics tab in the software This is shown in Figure 4 5 The statistics option can be used to evaluate the wireless link for packet error rates and throughput Freestar Test Tool 1gl xj Settings RE Data Seve Log To Filo Data Communicetons Log Clear shoa ASS C HEX ShowRecewed Send Random Send Random Dest Addr Addressing Mode Repeated Msg Mag Repeat 100 av 8 Short Address Send Singl
4. This setting allows for adjusting the transmit power which affects the overall range The range varies from 0 to 31 Set to 31 for 100mW operation or 14 to operate at 10mW Maximum for European Union Compliance 6 Page 26 of 42 Input Output Parameters There are three configuration messages used to setup parameters for controlling the user input and output pins which are outlined below 3 Set Digital Pin Configuration This message is used to configure the direction input or output whether or not the internal pull up resistor is enabled for pins configured as inputs and the initial output value for pins configured as outputs The initial output value is the default state that output pins will be assigned after power up or a Reset Hequest command is issued to the module Set Digital Pin Sleep State This message defines the state that the digital pins will be put into when the low power sleep mode of operation is requested for the module Similar to the Set Digital Pin Configuration message the direction of the pin whether or not the pull up resistor is enabled for input pins and the output value for output pins can be configured Upon exiting sleep mode the pins will be configured back to the state they were in prior to entering sleep mode Set Analog Pin Sleep State This message is used to set the state of the two analog input pins when the transceiver is put into the low power sleep mode of operation It is
5. HK Wi Freestar User s Manual lio WITHOUT wimRES 905 Messenger Lane Moore OK 73160 405 794 7730 2004 Radiotronix Inc all rights reserved Page of 42 About This Manual Related Documents This document provides the user with details in setting up and using the Wi Freestar evaluation kit Part RK FS24 100ST The document also provides information and references for software developers to write applications for use with the Wi Freestar module Part Wi FS24 100ST This document contains the following chapters Chapter 1 Evaluation Kit Overview Chapter 2 Quick Start Chapter 3 Interface Module Description Chapter 4 Wi Freestar Evaluation Software Chapter 5 Wi Freestar Zigbee Ready Module Input Output Chapter 6 Wi Freestar Application Guide Appendix A Open Field Range Test Results Appendix B Agency Statements Host Protocol EICD Page 2 of 42 CHAPTER 1 Wi Freestar Evaluation Kit Overview nennen nana Page 4 UBI eee 4 12 CONN TU Tm Page 4 CHAPTER 2 QUICK Statt IU C et Pages 5 7 2 MESI o ee TD HS Page 5 2 2 OVeIVIOW s ier ap poto aed pea ide obitu RUM eU tQ Page 6 CHAPTER 3 Wi Freestar Interface Module esee esses Pages 8 10 3 4 Tntenace Module OVerVIeW
6. Enable Heartbeat and Flash On RF Activity LED Functionality 0x01 0x06 0x28 0x05 0x34 0x04 Save Configuration Parameters To Non Volatile Memory lt 0x01 0x05 0x11 0x17 0x04 gt For all of the messages shown above that would get sent from the host application to the Wi Freestar module a host level acknowledgement will be sent back when it has been successfully processed It is recommended that the host application send a message to the module and then wait for an acknowledgement response prior to sending the next message This will take care of flow control and prevent the host application from overflowing the module Page 29 of 42 6 1 3 RF Messaging Overview The Wi Freestar module provides a versatile command set for communications between modules Depending on the application s requirements either short or long address modes can be used Short addressing mode uses a two byte transceiver address while long addressing mode uses eight byte transceiver addresses lt is also possible to communicate between transceivers using mixed addressing modes hence a message can be sent from a transceiver with a short address to another transceiver with a long address or vice versa There is a single host message that is used to send data from one transceiver to another and two host messages that are generated when a message is received When in the receive all mode of operation and a message is received by a transceiver host message type
7. The Addressing Mode columns show what type of address short or long each transceiver is configured to use Upon transceiver A receiving the message from the host device transceiver A would then send a message over the HF link to transceiver B using the type of address shown in the first column If transceiver B successfully receives the RF message from transceiver A then a host message is generated that will be sent from transceiver B to the host connected to transceiver B The messages that get generated will have the source and destination addresses contained in it which are shown in the table under the Host Receive Mode columns A dash denotes that a message was not received by the transceiver because the destination address for transceiver B was not the same type short or long as the destination address type to which the message was sent shown in the first column It is assumed that the destination address to whom the message is being sent is the same as that address for which the receiving transceiver is configured to use Page 31 of 42 Host Receive Mode Host Send Txcvr A gt Txcvr B Txcvr B gt Host Host gt Txcvr A Note 1 Table 2 Addressing Overview Note 1 Since a transceiver is setup with both a long and a short address if long addressing is being used short address 65 534 and a message is being sent to the transceiver with a short address of 65 534 a RF acknowledgement will be sent b
8. e Set Transceiver Address Sets Long and Short Address Get Transceiver Address Gets Long and Short Address PAN ID Personal Area Network Identification e Set PAN ID Range 0 to 16383 14 bit Value e Get PAN ID Returns current PAN ID 4 2 3 RF Settings See Figure 4 3 The RF Settings page can be accessed by selecting the RF settings tab in the software and is shown in Figure 4 3 The following features are provided in the RF settings page Acknowledgement Settings lf enabled the destination device will transmit an acknowledgement to the originating device If disabled the destination device will not send an acknowledgement back to the originating device Query Acknowledgement settings displays current setting in text box Receive All Messages Setting If enabled all messages will be received from devices with same PAN ID and RF Channel and will inhibit device from transmitting This feature is only to be used for diagnostic purposes Set or Query RF Channel channels 11 26 may be used e Set or Query Transmitter Power Level Ranges from 0 31 31 is max level e Set RF Module Power Mode for Sleep Idle or Wakeup Set Get All Programmable Settings PAN ID Txcvr Long Address Txcvr Short Address RF Channel Receive All Setting RF Acks Retries RF Power Level To permanently save select the Save Config to NV Memory Set to a value of 14 to operate at 10mW Maximum for
9. 0xA9 is generated and sent out the serial port to the host In the default mode of operation receive all mode disabled host message type 0x95 is generated and sent out the serial port to the host HF host messages consist of a standard header start length and type RF message header payload and a standard trailer checksum and stop The HF message header contains a Packet ID a Target Sender identifier an Address Mode byte and the Transceiver Addresses The Packet ID is used to identify each message and should be incremented for each new packet when sending a message The Target Sender byte indicates where the message originated from and is being sent to Messages either are originated from or sent to either the host or the application The application is the user application code that is running on the Wi Freestar module currently not supported The host is the host application The Address Mode byte describes the type of addressing for the particular message The upper nibble indicates the addressing mode used for the destination of the message while the lower nibble indicates the mode for the source of the message A 0 is used to represent a short address while a 1 represents a long address Following the Addressing Mode is the destination address and then the source address for received messages only types 0x95 and 9 Short Addressing In order to use short addressing it is required that the transceiver address be set
10. Fiepasiaed Wag Long Dest 1 m Config ibe RFSemmgs VO Debug Transcatver Memary Debug Mode Mode O Daabled Mode Transmit amd Debug Mode Sat Debug Made m LED Functinnnlity rm ris Ser LED BensbAcdy v Functionality Furrevare version ielamiaten Wiarton Cognnght Query Vewsion dita Comm Post Baud Foote 19200 Figure 4 6 Debug Settings Screen Page 17 of 42 Debug Mode Mode 0 No debug pulses on pins e Mode 1 Refer to Host Protocol Document for Information LED Functionality Refer to Host Protocol Document for Information Red LED2 receive Green LED3 transmit e HF Activity LEDs flash when transmitting or receiving device e Serial Activity LEDs flash when communicating through the serial port Received RF messages will flash the transmit LED if the message is transmitted out the host serial port Heartbeat Red LED flashes every two seconds to visually verify to user that device is operating Page 18 of 42 4 3 Setting Up and testing a Wireless Link Operational testing of the Wi Freestar RF module requires at least 2 units in order to establish a link One unit will be the initiator and the other will be the responder In order for a link to be established it is necessary to setup the transceivers RF Channel long or sh
11. between 0 and 65 533 OxFFFD Setting the short address to 65 534 causes the transceiver module to use the eight byte long address Long Addressing Long addressing mode is configured by setting the short address to 65 534 and then selecting a long address in the range of 0 to 18 446 744 073 709 551 614 OXFFFFFFFFFFFFFFFE Broadcasts It is possible to broadcast a message to all transceivers configured to the same RF channel and PAN ID Messages are broadcast by sending the message to the short destination transceiver address 65 535 OxFFFF Page 30 of 42 Receive All Receive all mode is used as a diagnostic mode in which a transceiver can listen to and receive all of the messages from any device that is communicating on the same PAN ID and RF channel Messages with long and short addressing types will be received and when a message is received it is sent out the host serial port with a message type of OxA9 In receive all mode it is not possible to transmit messages to other transceivers Addressing Modes Summary The table below gives an overview of the addressing modes that are available in the Wi Freestar module The table shows a summary of what happens when messages are sent between two modules Transceiver A and Transceiver B using the various addressing modes short and long and also broadcasts The first column Host Send Mode lists what type of message the host would send to the Wi Freestar module into transceiver A
12. positive and negative terminals e To use battery supply place the jumper as shown in Figure 3 2 below and insert 2 AA batteries in power pack onboard the interface board E BATTERY Figure 3 2 Jumper Set for Battery Supply Mode Select location 8 e Leave jumpers uninstalled for normal operation Serial Interface Circuitry and DB9 connector location 9 e Onboard host serial interface for use with supplied evaluation software Current Monitor Header location 10 e Provides user quick access to monitor current supplied to the RF Module Useful in determining current used by device when in normal or sleep mode e To utilize this feature the user must remove the jumper and attach current monitor between the two header pins Page 10 of 42 CHAPTER 4 Software Overview 4 1 Software Description The Wi Freestar evaluation software was designed to give the developer an ability to quickly test the features built into the Wi Freestar module The evaluation software is described in the following sections A screen shot of the evaluation software is shown in Figure 4 1 Developers please refer to chapter 5 for information on building custom applications for use on the Wi Freestar module x Ae Setngs Hen HF Commuricetiong Log Log To File Daa Freesia Module Evaluation Eh on ASCH C Show Fecened Send Rerdom Send Fandom Ari ln ki M Dost Addi FHI Rep
13. possible to leave the pin configured as an analog input or change it to an output either driven low or high Upon exiting sleep mode the pins will be configured back to be analog inputs Page 27 of 42 Diagnostics and Feedback Parameters There are two configuration parameters used to setup diagnostics and user LED feedback which are outlined below 18 2 oet Debug Mode Setting the debug mode allows the host application to configure what debug information gets displayed on the three mode pins when the mode pins are in their default state The default state for the mode pins is that none of the external pull downs are installed The intent of the debug signals is to allow for monitoring on an oscilloscope how the device is operating oet LED Functionality This message is used to configure if any LED feedback information is enabled or not and if it is enabled what it represents For modules that are embedded in an enclosure the LED functionality can altogether be disabled to further reduce power consumption Several examples of the types of functionality that can be displayed on the LEDs are a heartbeat LED flash to indicate the microcontroller is running or flashes when an RF or serial message is either transmitted or received Multiple functions can be enabled simultaneously Example configuration The following example will show details of what host protocol messages a host device would send to a Wi Freestar module to conf
14. record packets received in the Transceiver section of the otatistics page Link success is simply the ratio of the Packets Received to the Packets Sent This test will give the raw performance of the link in one direction without retries It is a good indicator of the RF environment in which the radios are being used High levels of noise or other products operating in the 2 4 GHz band can cause lower packet success rates 4 3 2 Round Trip Test To test the ability of the system to retry messages in a noisy environment it is necessary to use a round trip test where the remote end can acknowledge receipt of packets Use the setup screen as shown in Figure 4 7 thru 4 9 for each respective device but enable acknowledgements on both devices Refer to RF Settings Page Perform the test in the same manner as the single ended test Run enough transmissions to get a statistically valid sampling of the radio environment over a reasonable period of time Look at the Statistics screen on the initiating radio to find the total number of packets sent Link quality is displayed in the Pkt Success Rate w Acks text box Total link success is the ratio of Acks Received to Packets Sent Page 22 of 42 CHAPTER 5 Wi Freestar Zigbee Ready Module Input Output 5 1 Overview There are a total of 10 user input output pins on the Wi Freestar module which consist of 8 configurable digital input outputs and 2 fixed analog inputs 5 2 Di
15. 0 Target Sender Host Host Transceiver A Send n RF Data Bytes To Destination Transceiver ID lt 0x01 OxOD 0x14 0x11 0x00 0x02 0x00 0x01 0x02 0x03 0x45 0x04 gt Assuming that Transceiver B receives the message from Transceiver A then it would send a host message out of its serial port Transceiver B Host Received n HF Data Bytes From Transceiver ID lt 0x01 0x16 0x95 0x0A 0x11 OxC8 0x01 0x02 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x03 0x19 0x04 Page 34 of 42 Long To Long Addressing The following example will show details of communications between two Wi Freestar modules both configured to use long addressing Settings Transceiver A Address Short Address 65 534 use long address Long Address 1 0x0000000000000001 Transceiver B Address Short Address 65 534 use long address Long Address 2 0x0000000000000002 Packet ID 10 Target Sender Host Host Transceiver A Send n RF Data Bytes To Destination Transceiver ID lt 0x01 0x13 0x14 OxOA 0x11 0x10 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x03 Ox5B 0x04 gt Assuming that Transceiver B receives the message from Transceiver A then it would send a host message out of its serial port Transceiver B Host Received n HF Data Bytes From Transceiver ID lt 0x01 Ox1C 0x95 OxOA 0x11 OxC8 0x11 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x02 0x03 Ox2F 0
16. European Union Compliance Page 13 of 42 Figure 4 3 RF Settings Page 14 of 42 4 2 4 I O Settings See Figure 4 4 The I O page can be selected by clicking the I O tab in the software This is shown in Figure 4 4 The I O page can be used to setup select digital and analog pins for desired operation i ud Settings Hep RF Erates Commuricaborns Log Seve Lag To File Data Free Star Module Evaluation Toal Gwar sho 8 ASC C HEX 7 Show Sond Reardon Send Random Lu Aridieeszing Mode Repented Mag Repeet T AW Short Addnss Sarat Single 5 gt Long Fopeated 50 Lang Des Add aU TUI PTT Tru Berat Seve Conig Tol IDs RF Setings VO Debug Trensceer Memory UO Conmquratian PTC PTO PTAS PTAA FTD4 PTD3 Sut tbe Lene gt ai or ander 19 fe 10 W PTGS PTICO PTAR PTAS PTAA PTOA ime m m e m e B E oj e Dial io 5 PTS PTCO PTAL PTAS PTAA PTD4 PT3 Curtper value fo 18 fo e 9 18 Vite Query inpar Analog tenues Analog AJMO PTEO AIHI PTEG Due 15 m Findings a i Alia j ail Sat Dunry E ws E epui ansioginput 6 i Ouput Fimme version Inicemabion Quen orion bed
17. ast c 89 A 1 1001 Short Address Send Single Sand Single x L ng Addeess RPapeatad Mag Mag Long Deu Address 1 1 1 1 1 1 1 158 Gene Conky To IDs AP Settings VO Stntisticn Debug Transcaiver Hv Memory Address MSB Long Address z Sot Tren Get Transenna Aubin Adress FAM ID Sat PAH ID Quang Farming arsi Infomnton Merton Co y Quan version Comm Part 1 Fate 192001 Figure 4 1 Evaluation Software Main Screen Page 11 of 42 4 2 Software Setup Install the Evaluation test tool using the self extracting setup program and execute the Wi FreestarTT exe to start the program Before communication with the module is possible it is necessary to initialize the serial port Pul down the Settings menu and click the Communications entry The screen shown in Figure 4 2 will appear aerial Port COMM C COMB COM COMA C COMIT COMI DK Cancel Figure 4 2 Communication Setup Screen under Settings Pull Down Menu Determine serial port in use and select OK Next click the Get Version button on the bottom of the test tool to verify communication with the device If the version does not appear verify correct COM port and se
18. ate 20 00 0 00 1000 1500 2000 2500 Distance in Feet ft 3000 3500 4000 100mW power level Page 37 of 42 A 1 2 Wi Freestar with Wire Antenna Open Field Range Results at 3 3VDC Wire Antenna Range Results 120 00 100 00 80 00 60 00 40 00 20 00 Two Direction Packet Success Rate 0 00 1000 1500 2000 2500 3000 3500 4000 Distance in Feet ft 7100mW Power Level Page 38 of 42 A 1 3 Wi Freestar with GigaAnt Antenna Open Field Range Results at 3 3VDC GigaAnt Range Test Results 120 00 100 00 80 00 60 00 40 00 Two Direction Packet Success Rate 20 00 0 00 1000 1500 2000 2500 3000 3500 4000 Distance in Feet ft 7100mW Power Level Page 39 of 42 Appendix B FCC Statements OEM Responsibility Agency Statements Compliance Statement Part 15 19 This device complies with Part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful interference and 2 This device must accept any interference received including interference that may cause undesired operation Warning Part 15 21 Changes or modifications not expressly approved by Radiotronix Inc could void the user s authority to operate the equipment 20 cm Separation Distance To comply with FCC s RF exposure limits for general population un
19. cation registration number only signifies that the Industry Canada technical specifications were met Section 14 of RSS 210 The installer of this radio equipment must ensure that the antenna is located or pointed such that it does not emit RF field in excess of Health Canada limits for the general population Consult Safety Code 6 obtainable from Health Canada s website www hc sc gc ca rpb European Union Compliance Statements OEM Responsibility The Wi Freestar RF module has been tested and certified for use in the European Union OEM Responsibility to the European Union Compliance Rules If the Wi Freestar module is to be incorporated into a product the OEM must verify compliance of the final product to the European Harmonized EMC and Low Voltage Safety Standards A Declaration of Conformity must be issued for each of these standards and kept on file as described in Annex II of the R amp TTE Directive The manufacturer must maintain the user s guide and adhere to the settings described in the manual for maintaining European Union Compliance If any of the specifications are exceeded in the final product the OEM is required to make a submission to the notified body for compliance testing OEM Labeling Requirements The CE mark must be placed on the OEM product in a visible location ce CE Labeling Requirements Note Propitiate Size must be maintained The CE mark shall consist of the initials CE with the fo
20. controlled exposure the antenna s used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co located or operating in conjunction with any other antenna or transmitter OEM Responsibility to the FCC Rules and Regulations The Wi Freestar Module has been certified per FCC Part 15 rules for integration into products without further testing or certification To fulfill the FCC certification requirements the OEM of the Wi Freestar Module must ensure that the information provided on the Wi Freestar Label is placed on the outside of the final product The Wi Freestar Module is labeled with its own FCC ID Number If the ID is not visible when the module is installed inside another device then the outside of the device into which the module is installed must also display a label referring to the enclosed module This exterior label can use wording such as the following Contains Transmitter Module FCC ID TFB WI FREESTAR or Contains FCC ID TFB WI FREESTAR The OEM of the Wi Freestar Module must only use the approved antenna PCB Trace Antenna that has been certified with this module The OEM of the Wi Freestar Module must test their final product configuration to comply with Unintentional Radiator Limits before declaring FCC compliance per Part 15 of the FCC rules Page 40 of 42 Canada Statements Industry Canada Statement The term IC before the certifi
21. d Example Digital Pin Configuration Inputs PTC1 PTC5 PTD3 and PTD4 Digital Input PTC1 0 Digital Input PTC5 1 Digital Input PTD3 0 Digital Input PTD4 1 Host gt Wi Freestar Module Query Digital Pin State Type 0x21 lt 0x01 0x05 0x21 0x27 0x04 gt Wi Freestar Module gt Host Respond With Digital Pin State Type 0 1 Set Digital Pin State This message is used to write the values of the eight potential digital output signals A byte containing a bit mask for each digital input output signal is sent in a host message to the Wi Freestar module Only digital pins configured as outputs contain any meaningful information A zero indicates a low signal is applied to the output while a one indicates a high signal is applied Example Digital Pin Configuration Outputs PTA4 PTA5 PTA6 and PTCO Digital Output PTA4 1 Digital Output PTA5 0 Digital Output PTA6 2 0 Digital Output PTCO 1 Host Wi Freestar Module Set Digital Pin State Type 0x20 lt 0x01 0x06 0x20 0x24 Ox4B 0x04 gt Wi Freestar Module gt Host Set Digital Pin State Acknowledged Type OxAO lt 0x01 0x05 OxAO OxA6 0x04 Page 36 of 42 Appendix A Hange Test Results A 1 1 Wi Freestar with Inverted F Trace Antenna Open Field Range Results at 3 3VDC 120 00 100 00 80 00 Inverted F Trace Antenna 60 00 40 00 Two Direction Packet Success R
22. d by a series of flashes on the red LED Each short push button press will increment the channel option number and display it with a given number of flashes on the red LED To accept the last selected channel hold the push button until the green LED goes out approximately two seconds After again releasing the button the device will return to the ping pong mode Note that both the master and slave devices must be set to the same channel option number for the pair to communicate and each board must be individually set to that given channel option number Page 7 of 42 CHAPTER 3 Wi Freestar Interface Module 3 1 Interface Module Overview See Figure 3 1 for Photo The interface module provides the user the ability to quickly assess the functions of the Wi Freestar module such as I O and the mobility to verify operation of a wireless link in any environment of the user s choosing This chapter describes in detail the functions of the Wi Freestar interface board that can be verified using the Wi Freestar evaluation software provided in this kit En Deh eee rd L A aua Ta La tee er Figure 3 1 Interface Module with Wi Freestar Module Inserted in Socket 3 1 1 Interface Board Description for Each Location Shown in Figure 3 1 Serial Communications Header location 1 e Header that allows the user to monitor the serial TX MODTXD and RX MODTXD data
23. d user to easily verify communication between two transceivers and get a feel for the quality of the link via feedback of the flashing LEDs Operation involves two boards with one designated as a master device and the other as a slave device The master periodically transmits packets to the slave If the slave receives and verifies the packet it will flash its LEDs and transmit an acknowledgement to the master If the master receives and verifies the acknowledgement it will flash its LEDs In normal ping pong mode LEDs indicate signal strength two LEDs on indicate high signal strength one LED indicates low signal strength If the LEDs do not light the packet or acknowledgement was not received 2 2 1 Power Up Insert batteries into interface boards and verify that battery supply is selected using the jumper as shown in Figure 3 2 chapter 3 2 2 2 Master Slave Selection Master device setup 1 Press white reset button on Interface Board See Figure 3 1 location 3 and black button on Wi Freestar module simultaneously 2 Release reset button on Interface Module 3 Wait until green LED is lit then release button on Wi Freestar module Slave device setup 1 Press white reset button on Interface Board See Figure 3 1 location 3 and black button on Wi Freestar module simultaneously 2 Helease reset button on Interface Module 3 Quickly release the button on Wi Freestar module Release within 1 5 seconds of performing ste
24. e 19200 Slats Figure 4 7 ID Settings for Device 1 Set to a value of 14 to operate at 10mW Maximum for European Union Compliance Page 20 of 42 a LLL 5 j Wi TET T atum Ahn Bowel Fete 18200 nu Figure 4 9 RF Settings for Initiating and Receiving Device Page 21 of 42 Place the 2 units in physically separate locations and apply power to them The statistics will clear when power is cycled but they will need to be cleared manually after each test if power is not cycled Connect each individual PC serial port to each of the units and verify the correct destination address is typed in the address field on the top of the test tool Type a short message into the HF Data window of the initiating device The message can be any text or numbers If no message is entered it will not be possible to transmit Set the Repeat Delay to 100 msec if it isn t already set Click the Send single Hepeated Msg button to start transmission The radio will send messages repeatedly with 100mSec in between messages until the Stop Repeat button is clicked Allow the test to run for some convenient amount of time and then stop transmission Go to the Statistics screen of the initiating device and select the Query Statistics command button and record the packets sent in the Transceiver section of the test tool Next select Query Statistics on the receive device and
25. e Send Singe LongAddress RepeetedMsg Long Dest mam were rs eS Reset Save Config To IDs RFSetings yO Suisses Debug eu Deu Trenecetver Packets Sent Se Received Query Suites Evaluation Program Packets Sent Packets Recenved Achs Recetved Throughput Success wiAcks Firmware Version intoematon Version Copyright Query Version Date Comm Port 1 Rote 19200 Stans Figure 4 5 Statistics Settings Screen Page 16 of 42 Transceiver e Packets Sent Number of packets transmitted e Acknowledgements ACK Sent Number of acknowledgements sent by receiver e Packets Received Number of packets received Acks Received Number of acknowledgements seen by transmitter Evaluation Program Statistics The window toward the bottom the page labeled Evaluation Program contains information about the integrity of the link between the host computer and the radio board 4 2 6 Debug Settings See Figure 4 6 As Freestar Test Tool j 5 Dain Free Ster Module Evalua amp an Tool Communications Log Save Leg File Clem chat ShowReceived Send Pandom Sand Dest Addr Repear Addressing Mod Reposted Mag Msg i 100 fe Shot Address Bend Singhs Sond Single H Long Address
26. essing set short address to 65 534 3 Disable Acknowledgements Retries RF Settings Page 4 Disable Receive All RF Messages HF Settings Page 5 Setto RF Channel 23 RF Settings Page 6 Settransmitter power setting to 31 RF Settings Page 7 Set Short Destination address to 1 Located Upper left corner of TT 8 Select Short Address Radio Button Upper Section of TT may be selected if sending to a long address device 9 Select Save Config To NV Memory Command Button Upper Section of TT 10 Check the Show Received box Upper Section of Test Tool A Tesi 215 5 HF Log To Fite Data FireeStar Wireless L ommunmcecskan Exemple Ted Clos HEX v Show eM Shon uisus Wide Cee Random Send Random Trenecerer Address Ack UT US 63 69 04 Dest ddr FiepeetDelmyimr feel 4 iae mna a M Treeisc senr 00 OF 09 T OT OF OT Of gi 2 100 6 Shan Address Sand Single Send Single C Long Address Meg May o rr NON Rasel Seve Contig To IDs AF Sotings y Siesisties Debug Tremecunvur Maman Transceiver Addins 8 Long Address 58 Short Address See Tronecesver Gat Airs Pumari Version Information Marsan Copyright Quen varan Gite Canim Part 1 Baud Rat
27. gital Inputs Outputs There are 8 configurable digital input output pins that can be programmed to be either inputs or outputs In addition if the pins are inputs the internal pullup resistor can either be enabled or disabled Refer to Table 1 below for a mapping of the digital input and output pins Pin Description Number MSB to LSB 0 0b00000001 MC9S08GT60 micro pin PTD3 pin 23 MC9S08GT60 micro pin PTD4 pin 24 MC9S08GT60 micro pin PTA4 pin 39 MC9S08GT60 micro pin 5 pin 40 MC9S08GT60 micro pin PTA6 pin 41 MC9S08GT60 micro pin PTCO pin 2 6 0b01000000 9508 micro pin pin 3 MC9S08GT60 micro pin 5 pin 7 Table 1 Page 23 of 42 Using the digital input output pins consists of the following Configuring the pins Select direction input or output enabling or disabling pullup resistors for pins configured as digital inputs and setting the initial output value for pins configured as digital outputs These parameters define the configuration of the pins when a reset occurs Also the direction and pullup parameters are used to set the state of the pins after exiting sleep mode Configuring the sleep state of the pins Select direction input or output enabling or disabling pullup resistors for pins configured as digital inputs and setting the output value for pins configured as digital outputs Although these parameters are the same as those shown in the Configuring the pin
28. he Wi Freestar module has a complimentary acknowledgement message that will get sent back upon successful decoding and processing by the Wi Freestar module 6 1 2 Configuration After power up or after receiving a Reset Request type 0x18 message the Wi Freestar module will read the configurable parameters from the on board microcontrollers non volatile memory and store them in RAM to be used from that point on Changing a parameter by sending the module a new message does not automatically result in the module saving the parameter to non volatile memory but rather just changes the value stored in RAM This allows a particular host application to change the configurable parameters dynamically without unnecessarily writing to and shortening the lifetime of the non volatile memory All of the Wi Freestar module s configurable parameters that are stored in RAM can be saved to non volatile memory by sending a Save Configuration Values to Non Volatile Memory type Ox11 message Page 25 of 42 Communication Parameters There are six configuration parameters used to setup the Wi Freestar module for communications which are outline below oet PAN ID The Personal Area Network PAN ID is used to establish networks of transceivers Only devices with the same PAN ID will communicate with one another oet Transceiver Address The Transceiver Address is used to differentiate transceivers within a network Each transceiver sh
29. igure all of its programmable settings After all of the settings have been sent to the transceiver save configuration parameters message is issued to save the settings to non volatile memory Settings PAN ID Transceiver Address 100 Long Address 500 short address needs to be 65 534 HF Channel 18 Receive All Disabled Acknowledgements and Retries Enabled Transmit Power Level Digital Pin Configuration Digital Pin Sleep State Analog Pin Sleep State Debug Mode LED Functionality Page 28 of 42 31 maximum All inputs with pull up resistors enabled All inputs with pull up resistors enabled All analog Disabled Heartbeat and flash on RF activity Host Messages A 12 Set PAN ID lt 0x01 0x07 0x01 0x64 0x00 Ox6D 0x04 gt Set Transceiver Address lt 0x01 OxOF 0x03 OxF4 0x01 0x00 0x00 0x00 0x00 0x00 0x00 OxFE OxFF 0x05 0x04 Set RF Channel 0x01 0x06 0x05 0x12 Ox1E 0x04 gt Disable Receive All RF Messages lt 0x01 0x06 0x07 0x00 OxOE 0x04 gt Enable Acknowledgements and Retries lt 0x01 0x06 0x09 0x01 0x10 0x04 gt Set Transmit Power Level 0x01 0x06 OxOF Ox1F 0x35 0x04 Set Digital Pin Configuration 0x01 0x08 0x01E 0x00 OxFF 0x00 0x26 0x04 Set Digital Pin Sleep State 0x01 0x08 0x025 0x00 OxFF 0x00 Ox2D 0x04 gt Set Analog Pin Sleep State 0x01 0x07 0x23 0x02 0x02 Ox2F 0x04 gt Disable Debug Mode lt 0x01 0x06 0x27 0x00 Ox2E 0x04 gt
30. lect OK and verify communication successful If communication is still unsuccessful with the Wi Freestar module restart test tool and perform steps outlined above 4 2 1 Main Section of Test Tool Upper left portion of the Test Tool as shown in Fig 4 1 RF Data Data Text box to allow user to transmit desired messages to other modules or view messages from another module e Ascii lHex Radio Buttons Gives user ability to view or enter messages in Hex or Ascii format e Show Received Check Box If checked the RF Data text box displays received data in selected format Addressing Mode Selects whether messages are sent to a long or short address Repeat Delay Allows user to adjust time between sending repeated messages Reset Transceiver command button e Performs a software reset of the microcontroller Page 12 of 42 Save Config to NV Memory command button e Permanently saves configuration settings from ID and RF Settings pages to non volatile memory This feature allows user to cycle power or reset the module without losing previous saved settings 4 2 2 Setting Device Identification See Figure 4 1 Transceiver Address e Short Address Device defaults to using short address unless this field is set to 65 534 If using short address protocol only use values from 0 to 65 533 e Long Address Eight byte address used for communication between devices if short address is set to 65 534
31. lines from section 9 as shown in Figure 3 1 above The header also provides quick access to Port C pins 0 and 1 on the microprocessor Page 8 of 42 Programming Header location 2 e Location 2 refers to programming header for programming Wi Freestar Module The suggested programmer for the RF Module is the USB HCS08 HCS12 Multilink programmer Part USB ML 12 Reset Button location 3 e Location indicates the white button that provides ability to reset the microprocessor on the Wi Freestar module Port A Header for Access to I O Pins location 4 e Header to provide quick access to Port A pins 4 thru 7 on the microprocessor LED Enable Disable Header location 5 e To utilize the jumpers must be connected as shown in Figure 3 1 The jumpers may be removed to externally access Port C pin 5 and Port D pins 3 and 4 for input or output operation Analog Input Select Header location 6 e Location 6 displays 2 yellow variable analog attenuators With the jumpers installed as shown in location 6 on the ANALOG header the onboard attenuators may be utilized to demonstrate the analog capabilities of the Wi Freestar Module e Remove the two jumpers to utilize external analog peripherals Page 9 of 42 Power Supply Circuitry location 7 e Location 7 encompasses the power supply circuitry As shown the jumper is set for bench power supply 3 5 5VDC Bench power supply may be connected to the white header note
32. llowing form e If the CE marking is reduced or enlarged the proportions given in the above graduated drawing must be adhered to e he CE mark must be a minimum of 5mm in height e he CE marking must be affixed visibly legibly and indelibly Since the 2400 2483 5 MHz band is not harmonized by a few countries throughout Europe the Restriction sign must be placed to the right of the CE marking as shown in the picture below CEO CE Label Required on OEM Equipment in Non Harmonized Areas Page 41 of 42 Declarations of Conformity Radiotronix does not list all standards that must be met for each country It is the responsibility of the OEM to acquire all information for compliance to a specific country and meeting the guidelines issued by the respective country The following websites will assist with understanding of individual restrictions per country CEPT ERC 70 03E Technical Requirements European restrictions and general requirements www ero dk R amp TTE Directive Equipment requirements placement on market www ero dk Notifications Since the Wi Freestar device operates in the 2 4GHz band a notification must be sent to each country that has restrictions prior to shipping the product as per Article 6 4 of the R amp TTE Directive Page 42 of 42
33. ort address and PAN id Link testing may be performed in either a single ended or a round trip fashion This can help to differentiate between real world packet error performance and raw radio performance If Acknowledgement settings are not used then it is a single ended test if Acknowledgements are enabled then it is a round trip test 4 3 1 Single ended Test Single ended performance will require 2 computers since it will be necessary to read the statistics from each radio An example setup is outlined below Device 1 Refer to Figures 4 7 and 4 9 1 Set PAN ID to 100 IDs Page Set Short Address to 1 IDs Page Note to use long addressing set short address to 65 534 m Disable Acknowledgements Retries RF Settings Page Disable Receive All RF Messages HF Settings Page Set to RF Channel 23 RF Settings Page Set transmitter power setting to 31 RF Settings Page Set Short Destination address to 2 Located Upper left corner of TT Select Short Address Radio Button Upper Section of TT may be selected if sending to a long address device AE M 22 9 Select Save Config To NV Memory Command Button Upper Section of TT 10 Check the Show Received box Upper Section of Test Tool Set to a value of 14 to operate at 10mW Maximum for European Union Compliance Page 19 of 42 Device 2 Refer to Fiqures 4 8 and 4 9 1 Set PAN ID to 100 IDs Page 2 Set short address to 2 IDs Page Note to use long addr
34. ould be configured with a different address The Transceiver Address consists of both a short two byte and a long eight byte address Setting the short address to 65 534 OxFFFE will cause the Wi Freestar module to use its long address To use the short address the short address should be set to between 0 65 533 Set RF Channel The RF channel is used to select the channel in the 2 4GHz band that the transceiver will operate Communication between transceivers is only possible if the devices are both using the same RF channel Valid RF channels are from 11 to 26 Enable Disable Receive All RF Messages Enabling receive all RF messages allows all messages on the configured PAN ID to be received by the Wi Freestar module This intended use of receive all messages is for diagnostics tools so that it is possible to see all messages on a network Note that when this mode is enabled that it is not possible to transmit RF messages Enable Disable RF Acknowledgements and Retries When RF Acknowledgements and Retries are enabled the destination transceiver will respond to the received message with an acknowledgement If the source transceiver does not receive an acknowledgement it will attempt to re send the message to the destination transceiver up to 3 more times 3 retries By using acknowledgments and retries the likelihood of successfully getting a message from one transceiver to another increases Set Transmit Power Level
35. p 2 above 2 2 3 Association Mode In association mode the red LED will flash rapidly on each board until it has linked with the other device At this point the red LED will go out and the green LED will begin to flash rapidly for approximately two seconds Association mode lasts up to thirty seconds after power up so the master and slave pair should be powered up at relatively the same time If the transceivers link they will enter the ping pong mode after association mode times out However if they do not link they will not communicate and the sequence must be repeated from the point of master slave selection at power up Page 6 of 42 Demonstration Application Operates at 100mW This value is Not European Union Compliance 2 2 4 Ping Pong Mode In ping pong mode the master and slave boards will flash one or two LEDs with each packet slave or acknowledge master received based on message signal strength In case there is a lot of other traffic on the default channel it is possible to change the channel 2 2 5 Channel Changing can only be peformed if boards have been associated While in the ping pong mode the current channel can be changed to one of four other unique channels five channels total This is accomplished by holding the push button for approximately two seconds at which point the green LED will be lit steady Once the push button is released the current channel option number one through five is displaye
36. s item shown above they are independent and are the state of the pins when the Wi Freestar module is put into Sleep Mode Reading the state of the pins configured as inputs Read the digital value 0 or 1 of the signal applied to the pins configured as inputs Setting the state of the pins configured as outputs Set the digital value 0 or 1 for the pins configured as outputs Page 24 of 42 CHAPTER 6 Wi Freestar Application Guide 6 1 Overview This Chapter describes the essentials for using the host protocol to configure and use a Wi Freestar module in an application Protocol Document for Further Details on messaging 6 1 1 Host Protocol Please refer to Host The host protocol that is used to communicate with a Wi Freestar module is a simple binary based protocol Every message in the protocol consists of a header a trailer and potentially some payload information The header is made up of a start byte 0x01 a length byte that is the length of the entire message including header and trailer and a message type that identifies the intention of the message The payload varies from message to message but in general includes things such as data to be sent or received or configuration information The trailer is made up of a checksum which the sum of all of the bytes in the message is starting with the start byte and up through the payload and an end byte 0x04 Every message that the host device sends to t
37. tion is presented in Chapter 4 The important features provided by the evaluation software are e Short and Long Addressing e Configurable Digital and Analog I O e Demonstrating a Wireless Link e Packet Error Rate Statistics The Wi Freestar Evaluation Kit Contains Two RF Modules with Firmware Loaded O Two Interface Modules O Two RS 232 Interface Cables 4AA Batteries O 1 CD includes User s Guide Host Protocol Document EICD and Wi Freestar Evaluation Tool Setup exe file Page 4 of 42 CHAPTER 2 Quick Start 2 1 Board Description The Wi Freestar module is a 2 4GHz 802 15 4 data transceiver module based on the Freescale MC13192 Low Power Transceiver device t provides enhanced range performance with a 100mW power amplifier The module also contains the Freescale MC9S08GT60CFD microprocessor and an integrated PCB trace antenna Power is supplied by the host device through the interface connection in accordance to the operating voltage requirements with a nominal operating voltage of 3 3V Exact details on the interface connections and messaging are available in the Wi Freestar Electrical Interface Control Drawing PA A M Figure 2 2 Top Side of Wi Freestar Interface Board Operation is Limited to 10mW Maximum for European Union Compliance Page 5 of 42 2 2 Operational Overview The quick start demonstration presented in this chapter is referred to as the ping pong test The ping pong test allows an en
38. x04 6 1 5 Input Output Usage There are three host messages used to query and set the inputs and outputs respectively Below is a more detailed description of each of the messages with examples showing the corresponding host messaging 1 Query Analog Pin Values This message is used to read the values of the two analog input signals The result is returned in a host message that gets sent back from the Wi Freestar module containing a two byte value LSB to MSB for each of the two analog inputs with the 10 least significant bits representing the voltage applied to the inputs The input signal voltage is converted to a 1 25v reference Example Analog Input PTBO 0 42v 10 bit value gt 344 0x0158 Analog Input PTB1 1 07v 10 bit value gt 876 0x036C Host gt Wi Freestar Module Query Analog Pin Values Type 0x22 lt 0x01 0x05 0x22 0x28 0x04 gt Wi Freestar Module gt Host Respond With Analog Pin Values Type OxA2 0x01 0x09 OxA2 0x58 0x01 Ox6C 0x03 0x74 0x04 Page 35 of 42 2 Query Digital Pin State This message is used to read the values of the eight potential digital input signals A bit mask for each digital input output signal is returned in a host message that gets sent back from the Wi Freestar module Only digital pins configured as inputs contain any meaningful information A zero indicates a low signal is applied to the input while a one indicates a high signal is applie
39. y the MAC Note 2 Since a transceiver is setup with both a long and a short address if short addressing is being used short address not equal to 65 534 and a message is being sent to the transceiver with a long address that matches the transceiver s long address a RF acknowledgement will be sent by the MAC Page 32 of 42 6 1 4 Example Messaging For all of the following examples it is assumed that the PAN ID and RF channel are set to be the same on both Wi Freestar modules Also the messages will originate in the host connected to transceiver A and they will be sent to transceiver B The data contained in the message will be 0x01 0x02 0x03 All received messages have a Link Quality Indication LQI of 200 0xC8 Short To Short Addressing The following example will show details of communications between two Wi Freestar modules both configured to use short addressing Settings Transceiver A Address Short Address 1 Long Address Don t care Transceiver B Address Short Address 2 Long Address Don t care Packet ID 10 Target Sender Host Host Transceiver A Send n RF Data Bytes To Destination Transceiver ID lt 0x01 OxOD 0x14 0x11 0x00 0x02 0x00 0x01 0x02 0x03 0x45 0x04 gt Assuming that Transceiver B receives the message from Transceiver A then it would send a host message out of its serial port Transceiver B Host Received n HF Data Bytes From Transceiver ID lt 0x01 0x10 0x95
Download Pdf Manuals
Related Search
Related Contents
722 User Guide and Technical Documentation MANUALE d`USO e MANUTENZIONE USE and Owner`s Manual - T@B Teardrop Trailers Guida dell`utente in rete 06-systemes-export_cata 09-10 Navmaster ECDIS User Guide v6.0.4.2 HP Messenger 17" DML-1200 [v04] Multiplex QF-PCR Kit User`s Manual Copyright © All rights reserved.
Failed to retrieve file