Integration Manual HW 86050 WLAN IEEE 802.11b Embedded Radio Module Version 0.
This document and its contents shall not be reproduced or transferred in any form without express permission. Compensation will be claimed for any infringement. All rights reserved in the event of patenting or registration of utility models. © Höft & Wessel AG 2004 Subject to amendment, errors excepted HW86050_093_FCC.
CONTENTS Contents 1. Preface....................................................................................................................................................... 5 1.1 1.2 2. Important user information ..................................................................................................................... 6 2.1 3. About this document ...........................................................................................................................
CONTENTS 4.2.5 Leaving the configuration mode................................................................................................ 26 4.2.6 Command Overview ................................................................................................................. 27 4.3 Data Mode ........................................................................................................................................ 29 4.3.1 Transparent Data Mode ............................................
PREFACE 1. Preface Dear customer, thank you for choosing the HW 86050 Wireless LAN radio module. You have made a good choice, since HW 86050 is a powerful and very versatile product that easily adds WLAN communication to your application. This document will help you in getting the optimum integration result. This covers mechanical, electrical and RF aspects as well as software and configuration. Höft & Wessel aims for best customer satisfaction.
IMPORTANT USER INFORMATION 2. Important user information NOTE: This equipment makes use of radio spectrum and emits radio frequency energy. Care should be taken when the device is integrated in systems. Make sure that all specification within this document are followed, especially concerning operating temperature and supply voltage range. Operate the device according to the local regulations. The frequency spectrum used with this device is shared with other users.
INTODUCTION 3. Intoduction The WLAN radio module HW 86050 is a highly versatile and powerful engine for industrial WLAN applications. It provides a complete radio according to IEEE 802.11b standard together with a frontend application processor interfacing the host system. 3.
HARDWARE DESCRIPTION Hardware Description 3.3 Mechanical Characteristics 3.3.1 Dimensions Parameter Length Width Height 3.3.2 8 unit mm mm mm Typ. 10 +/- 2 unit g Weight Parameter Weight 3.3.3 Typ. 53.0 37.0 5.0 Image 0.95 • 23.04.
HARDWARE DESCRIPTION Component area top 6.5 2.0 (3 2.5 x) 1.15 2.0 1.0 3x 4.8 0.5 2.1 1.0 1.0 1.2 Component area bottom 40.1 47.5 2.0 2. 5 1.6 2.3 2.4 System Connec tor mounted 3.0 Mechanical Drawing PIN 1 PIN 50 32.0 Aux. Ant. Main Ant. 2.7 18.68 27.0 2.33 1.27 x 24 37.0 Through-going drillings 50 x 0.7 21.4 28.0 3 x Soldering points on both sides PIN 2 32.15 3.3.4 PIN 49 3x 4x 5.0 2.0 5.4 0. 8 52.
HARDWARE DESCRIPTION 3.4 Electrical Characteristics 3.4.
HARDWARE DESCRIPTION 3.4.2 Absolute Maximum Ratings Parameter V3P3 VBATP Iiosum Iio Vdigin Vanain Iioprot Imicprot Remarks Conditions Digital supply voltage RF supply voltage Current through all IO pins Current through IO pin Max Voltage on any digital inputs V3P3>=3.3V V3P3<3,3V Max voltage on any analog inputs Max current through any pin’s protection diodes to V3P3 Max current through MIC input pin’s protection diodes Min -0.3 -0.3 -0.3 -0.3 -0.3 Max 4.0 6.0 90 20 3.6V V3P3+0.3 2.
HARDWARE DESCRIPTION 3.4.4 Specifications 3.4.4.1 UART interface Parameter UART data rates Remarks Conditions Min UART data format UART buffer 3.4.4.2 Typ. 230.4 115.2 57.6 19.2 9.6 8N1 Max unit kBd Max unit MHz 5.184 MHz Max 2483.5 unit MHz +25 kHz 17 dBm DMA, software controlled SPI interface SPI interface will be operated in Master mode. Parameter SPI Clock Master Remarks Conditions Min SPI Clock Slave SPI Mode 3.4.4.3 12 Typ. 1.296 2.592 5.
HARDWARE DESCRIPTION 3.4.4.4 Voice interface 3.4.4.4.1 Microphone bias Parameter Vref Remarks Differential voltage between MICP and MICN pins Accuracy of MICP voltage Voltage from MICN to GND MICP load capacitance Vrefp_acc Vrefn_m Vrefp_load c Rvrefp Nrefp MICP output resistance MICP peak noise Srefp Ivrefp MICP power supply rejection ratio MICP output current Conditions Trimmed Min Typ. 1.
HARDWARE DESCRIPTION 3.4.4.4.3 Speaker output Parameter Differential RMS output voltage between VXP and VXN Differential Output Impedance between VXP and VXN Load resistance Load capacitance Speaker gain Absolute speaker gain accuracy 3.5 Conditions 0dBm0 at codec input = -3.14dB from max PCM value, speaker gain = 0.0dB, load circuit acc. to section 3.6.4.1, @1020Hz Min Typ. 0.69 Max unit V 2 5 Ohm 30 RL = 00 Rl < 1kohm Software controlled Ohm 100 30 2.2 +0.75 -12 -0.
HARDWARE DESCRIPTION 3.6 Interface Description 3.6.1 System connector The interface to the host system is implemented as a 50 pin 1.27mm grid female connector. The part used on the HW 86050 module is a Plastron SPNBF-50-B-0, which is compatible to Samtec CLP125-02-G-D-BE. It is recommended to connect the module with a pin header by bottom entry method, i.e. through the printed board. This allows for best space saving and the RF connectors are accessible in mounted position.
HARDWARE DESCRIPTION 3.6.2 UART Interface The HW 86050 module provides a fully featured RS232 serial interface. All interface signals are 3.3V CMOS level and are active at logical low state. A V.24 line driver must be provided in order to connect to a standard V.24 device, e.g. a PC. NOTE! Connecting the module to a V.24 line without external line drivers may damage the module.
HARDWARE DESCRIPTION 3.6.3 SPI Interface The Serial Programming Interface provides a performant serial interface to control the module and for user data. The module will act as SPI master device and therefore control SPI clock. Signal SPIDO SPIDI SPICLK I/O O I I/O Description SPI data out SPI data in SPI clock This feature is not supported in all firmware releases. 3.6.4 Voice Interface Analogue voice interface is provided by hardware.
HARDWARE DESCRIPTION VXOP VXON R1=220Ω MICBP C1=30nF R3=500Ω VXIP C4=47µF C3 VXIN C2=30nF R4=500Ω MICBN R2=220Ω Figure 3: Electrical connection of microphone and speaker 3.6.5 ADC/PWM Interface This interface is used to capture and reproduce analogue signals with low bandwidth. Signal ADC PWM I/O I O Description analogue speaker output positive analogue speaker output negative This feature is not supported in all firmware releases. 3.6.
HARDWARE DESCRIPTION • • Configuration mode – allows for configuration commands to be entered in order to change the software settings Download mode – a new firmware binary may be downloaded to the module’s flash memory. To support theses modes the module must reliably distinguish an external reset from any other reset (collectively referred to as internal resets). This is achieved through appropriate reset timing. The host, which initiates the external reset must pull the RSTBI signal down.
HARDWARE DESCRIPTION 3.6.6.1 Reset timing (external reset) In order to make sure that an external reset is detected correctly by the firmware, the host must pull RSTBI down sufficiently long time. The exact timing requirements are indicated in Figure 4. RSTBI RSTNO BOOTx signals sampled Program Execution TRS TRA TSD TSH Figure 4: Reset Timing Parameter TRA TRS TSD TSH min. 100 ms 18 µs 100 µs max.
HARDWARE DESCRIPTION 3.6.6.2 Short Reset A short reset is a low-active RSTBI pulse that is shorter than the RSTNO pulse. RSTBI RSTNO Program Execution TRS TRA TSR Figure 5: Short Reset Parameter TSR min. 5ms max. 50ms Although it is triggered by the RSTBI signal the firmware of the HW 86050 treats a short reset as an internal reset. The host hardware may use this feature to emulate a power-up reset to the HW 86050.
HARDWARE DESCRIPTION The evaluation kit HW 86956 contains adapter boards that support firmware download and configuration mode reset from a standard PC COM port as well as the required software tools. 3.6.6.4 Precautions to avoid Reset Problems The host hardware must assure an appropriate environment that avoids unwanted resets. The reset behaviour is a main source of integration problems and requires specific attention.
HARDWARE DESCRIPTION 3.6.10 LED interface LED0 and LED1 outputs are provided. They may be used to control two LEDs to display connection and configuration mode and data activity. Signal LED0 State LOW HIGH LOW HIGH LED1 Description LED0 off LED0 on LED1 off LED1 on LED0 LED1 Meaning • • Power off condition or firmware download ☼☼•• • Power on, not connected (slow blink) ☼ • Connection to base station established, flickers while data is transmitted.
HARDWARE DESCRIPTION 3.6.12 RF Interface RF Interface provides two antenna connections, main antenna jack and aux antenna jack. The module supports reception antenna diversity. „Main“ antenna jack is used for both transmit and receive, while „Aux“ antenna jack is used for receive only. During reception of data, the module measures the signal strength on both antennas and activates the antenna with highest level for reception of a data packet.
FIRMWARE DESCRIPTION 4. Firmware Description 4.1 Overview The module operates in different modes: • • • Data Mode allows transfer of user data Configuration Mode allows configuration Download Mode allows firmware upgrade The module’s operation mode can be selected either by an appropriate reset sequence or by software escape commands. The download mode can only be selected by a reset sequence. 4.
FIRMWARE DESCRIPTION The return codes provided in the configuration mode are given below: Return Code OK ERROR 1 ERROR 2 ERROR 3 ERROR 4 ERROR 21 ERROR 22 ERROR 23 ERROR 24 ERROR 25 ERROR 26 ERROR 44 ERROR 45 ERROR 46 ERROR 47 ERROR 53 ERROR 60 ERROR 90 ERROR 91 ERROR 93 4.2.
FIRMWARE DESCRIPTION 4.2.6 Command Overview Those commands starting with „S“ (set) will set parameters while those starting with „G“ (get) will read the actual setting. Command Description Remarks Default SPSSID [ssid] GPSSID SPINFRA [„on“/„off“] GPINFRA SPCH [channel] GPCH configures network name ssid length 1..
FIRMWARE DESCRIPTION To_packet: packet timeout in ms (1..tbd) GLINKTEST Return values: , , , , , , Modules sends L2 pings to Access point must support Wavelan II access point, which will echo data Management Protocol. packets along with information on signal and noise levels at AP. Allows for complete link test information.
FIRMWARE DESCRIPTION SPBD GPBD SPTM [tm] configures serial port baud rate, data mode configures SWAP mode GALL outputs an overview on most important settings and information outputs device’s MAC adress returns module type and flash type returns module type returns important software information returns software version outputs device’s serial number outputs important parameter settings outputs available serial data rate settings returns „OK“ used to test if configuration mode is active exits configurati
FIRMWARE DESCRIPTION 4.3.1 Transparent Data Mode The transparent data mode is a sub-mode of the data mode. It allows transparent data transmission using the RS-232 interface. All data is treated as a stream, no specific framing is required. 4.3.1.1 Peer-to-Peer Mode This mode is restricted to a point-to-point connection. Both modules involved operate in transparent data mode. The termination must be different, one must be FT, the other must be PT terminated.
FIRMWARE DESCRIPTION 4.3.2 PPP Data Mode The module may be configured to operate a PPP server. The host application‘s PPP client may initiate a PPP connection to the module, having the opportunity to use it’s own IP adress or to trigger the module to receive an IP adress from the network using DHCP. DNS and WINS server adresses, net mask and standard gateway may as well be configured automatically. PPP mode may be used in systems implementing TCP/IP stack and PPP protocol.
FIRMWARE DESCRIPTION 4.4 Firmware Download Mode This section describes how firmware is downloaded in the HW 86050. In order to perform firmware download the HW 86050 must be switched into Download Mode. While in Download Mode the HW 86050 uses a simple download protocol for downloading the firmware via the RS-232 interface. 4.4.1 Entering the Download Mode The download mode is entered depending on the status of the BOOT0 and BOOT1 signals during reset. See section 3.6.6 for details. 4.4.
GETTING STARTED 5. Getting Started This section explaines step by step how to configure a HW 86050 module to operate in different scenarios. It is required to enter the module’s configuration mode. In configuration mode the modules can be configured using simple text-based commands. The modules can be brought into hardware configuration mode reset (see section 3.6.6) or a reset sequence being entered using a terminal programm.
GETTING STARTED GHRSSI↵ ↵ command (not available in software configuration mode). If other than 0,0,0 is responded than association was successful. Now reset the module (hardware configuration mode) and change to data mode. Once the module is associated to the WLAN infrastructure it will connect to a SWAP server. Make sure DTRI is active or enter SPCC 1↵ ↵ to configure the module to ignore DTRI and always connect immediately to a SWAP server. A SWAP server is found if DSRO is active. 5.
SPECIFIC INTEGRATION TOPICS 6. Specific Integration Topics 6.1 Power supply The power supply must be chosen so that the maximum current during transmit pulses can be delivered. Keep in mind that an antenna which is not sufficiently matched to the tranmitter impedance will signicicantly increase the transmitter current draw. Both power supply rails are designed to work at 3.3V nominal. The higher voltages specified for VBATP will enable compatibility to HW 86010 and HW 86020 modules.
SPECIFIC INTEGRATION TOPICS 6.3.1.1 36 EU Declaration of Conformity 0.95 • 23.04.
SPECIFIC INTEGRATION TOPICS 6.3.1.2 EU Notification The HW 86050 has been notified in the following list of EU countries and can be used without further actions. Paticulars towards local variations may change and can not be not guaranteed. Please refer to local authorities. 6.3.2 Country Remarks Austria Belgium Denmark Finland France Germany Greece Ireland Italy Luxemburg Netherlands Norway Portugal Poland Spain Sweden United Kingdom Special restrictions apply for outdoor usage.
SPECIFIC INTEGRATION TOPICS 6.4 Antennas 6.4.1 General Considerations The antenna is the element that is resonsible of radiating the radio frequency energy generated by the transmitter and has to capture the energy emitted by other transmitters to feed it to the receiver of the HW 86050 module. Antenna design is among the most important topics of a module integration. It has big influence on the coverage range of your product.
SPECIFIC INTEGRATION TOPICS 6.4.1.2 US Regulations (FCC) If external antenna connectors shall be applied in the host application, FCC rules require the usage of non-standard antenna connectors in order to prevent users to misuse the system attaching equipment that may increase the output power above the specified limits. Using the HW 86050 module based on the existing FCC modular approval the antenna with part number E29776 must be used in combination with cable adaptor E29777. 6.
WLAN BASICS 7. WLAN Basics Wireless LAN according to IEEE 802.11b operate on the 2.4 GHz ISM band (2.400 .. 2.483,5 MHz). The applied modulation technique is Direct Sequnce Spread Spectrum (DSSS) with Complementary Code Keying (CCK). A static channel selection is used, whereas channels 1..13 may be used in Europe and channels 1..11 in the US. The signal occupies a bandwidth of about 22 Mhz (-30 dBr), whereas the channel spacing is only 5 MHz.
APPENDIX 8. Appendix 8.1 Data-Unwired SWAP Service Data-Unwired SWAP Service is a service for Windows operating systems. It is capable of linking incoming radio connections to a couple of interfaces, such as TELNET or TCP server, virtual COM ports or WIN32 console applications. This allows for a transparent data link on applications hosting the HW 86050 module, see section 4.3.1. Supported operating systems are Windows NT4.0, Windows 2000, Windows XP. 8.1.1 Installation Run setup.
APPENDIX Start / Stop This button allows to start and stop the service manually. Network Device Selects the network device that shall provide connection to the SWAP Service. Keepalive Timeout Configures and activates the keepalive timeout. In case no keepalive message is received from the PT after this time the SWAP connection will be disconnected and will then be ready for a connection restart. Activate this feature only if the corresponding timeout setting is configured on the HW 86050.
APPENDIX 8.1.2.1.2 Generation of new Profiles A new device specific profile can be generated by identifying the device through the MAC address. 8.1.2.1.3 Profile Properties: Connection Type The way the radio connection will be forwarded may be configured here. Telnet Used to forward data from a radio connection to a Telnet server. Raw TCP A remote HW 86050 will be connected to a TCP port. This allows communication to a network application.
APPENDIX 8.1.2.1.4 Profile Properties: Host Only for Telnet und Raw TCP connection types the host’s IP address and the port are configured. 8.1.2.1.5 Profile Properties: Telnet Auto Login For the Telnet connection type the auto login feature is configured: • • • • 44 Prompt for user name entry, which triggers the user name transmission. User name Prompt for password entry, which triggers the password transmission. Shell prompt, which is waited for to detect successful login (optionally, rarely used).
APPENDIX 8.1.2.1.6 Profile Properties: Durability Configures a connection’s lifetime, valid only for Telnet, Raw TCP und Console Application. • • • Unlimited oder host timeout: The connection will only be disconnected by a host timeout. Radio Connection: The connection only exists during a valid radio connection to the client HW 86050. Inactivity Timeout: The connection will be terminated if a radio connection did not exist in the specified time. 0.95 • 23.04.
APPENDIX 8.1.2.1.7 Profile Properties: COM Port Selects the COM port to which the remote HW 86050 is connected when connection type COM Port is configured. Both physical and virtual COM ports are supported. More than one ports may be selected, in this case a free port will automatically be chosen. Configuration of a physical COM port is useful if for example a modem is to be connected to the SWAP service PC. A virtual COM port is useful in case a legacy software or a RAS connection shall be applied, e.g.
APPENDIX 8.1.2.1.8 Profile properties: Application For the connection type Console Application an application must be configured which shall be launched with an incoming radio connection. • • • Application: Configures the application to be launched. Parameters: Configures command line parameters which shall be provided to the application. Directory: Configures the application’s working directory (will automatically be adjusted when selecting the application) 0.95 • 23.04.
APPENDIX 8.1.3 Quick Start - Configuration of virtual COM Ports Open the SWAP Service configuration using Start→ →Settings→ →System control→ → Hoeft Wessel SWAP Service. In case this entry is not available, install SWAP Service (see section 8.1.1) The SWAP configuration may also be launched from the Data-Unwired Manangement Console using Tools→ →SWAP Service Configuration. Start the profile entry dialog with the [New] button. The „Default“ entry should not be changed.
APPENDIX Choose the desired COM port and press [Ok]. Both physical and virtual COM ports appear in the list. In case a physical port is selected, the data traffic will be lead to the COM port. Due to technical reasons, only even numbered virtual COM ports are available. Those settings displayed on the index card Durability are not relevant for COM ports. Repeat the four last steps to configure further HW 86050 modules. Press [Start] to start the SWAP service.
APPENDIX 8.2.3 DHCP available Through DHCP the PT derives the following configurations: 1. IP adress for PPP client 2. IP-adress DNS server 1 3. IP-adress DNS server 2 4. IP-adress WINS server 1 5. IP-adress WINS server 2 6. IP-adress gateway 7. Netmask 1. to 5. are transferre to the client during PPP connection establishment. 6. and 7. are only required by the PT for internal usage. 8.2.4 DHCP not available In case a DHCP server is not available parameters 1. to 5.
APPENDIX 8.3 Download Protocol The download protocol consists in two passes. The first pass loads the loader file, the second pass loads the firmware file. 8.3.1.1 Pass one Step Action Note 1 Enter Download Mode see section 3.6.6 2 Initialise RS-232 port 9.600 Bd, 8 data bits, no parity, 1 stop bit 3 Transmit byte 0xAA StartRequest token 4 Receive byte 0xA1 StartConfirm token 5 Transmit 2 bytes LenLd 6 Receive 2 bytes LenLd 7 Transmit byte 0x00 Length in bytes of file xxx.
APPENDIX 8.3.1.2 Pass two Step Action Remark 1 Change baud rate 115.200 Bd, 8 data bits, no parity, 1 stop bit 2 Wait 10 ms Allow HW 86050 to change baud rate 3 Transmit byte 0xAA StartRequest token 4 Receive byte 0xA1 StartConfirm token 5 Transmit 4 bytes LenHp 6 Receive 4 bytes LenHp 7 Transmit byte 0x00 Length in bytes of file xxx.hp expressed as 4-byte unsigned. Low byte transmitted first. Compare with LenHp from step 5. Only continue if equal. Otherwise stop with error.
TABLE OF FIGURES 8.3.1.