Sollae Systems CSW-M85 User Manual

Serial to wi-fi module
Table of Contents

Advertisement

Quick Links

Serial to Wi-Fi module
CSW-M85 User's Manual
Version 1.6
Sollae Systems Co., Ltd.
http://www.sollae.co.kr

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CSW-M85 and is the answer not in the manual?

Questions and answers

Summary of Contents for Sollae Systems CSW-M85

  • Page 1 Serial to Wi-Fi module CSW-M85 User’s Manual Version 1.6 Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 2 CSW-M85 User’s Manual Ver. 1.6 To all residents of the European Union Important environmental information about this product This symbol on this unit or the package indicates that disposal of this unit after its lifecycle could harm the environment. Do not dispose of the unit as unsorted municipal waste;...
  • Page 3: Table Of Contents

    CSW-M85 User’s Manual Ver. 1.6 Contents Overview ..........................- 5 - 1.1 Overview ................................- 5 - 1.2 Features .................................. - 5 - 1.3 Application Examples ............................- 5 - 1.4 Components ................................. - 6 - 1.5 Specification ................................. - 7 - 1.5.1 Hardware ..............................
  • Page 4 CSW-M85 User’s Manual Ver. 1.6 4.1 What is the Operation Mode? ........................- 29 - 4.2 Changing modes ............................. - 29 - 4.3 Comparison with each mode ........................- 30 - 4.4 Normal Mode ..............................- 30 - 4.5 Serial Configuration Mode ......................... - 31 - 4.5.1 Configuring arameters ........................
  • Page 5 CSW-M85 User’s Manual Ver. 1.6 7.2 Option Tab Functions ............................ - 56 - 7.2.1 Sending MAC Address ........................- 56 - 7.3 Serial Port Tab Functions ..........................- 57 - 7.3.1 TELNET COM port Control Option (RFC 2217) - ① .............. - 57 - 7.3.2 Disable TCP Transmission Delay - ②...
  • Page 6: Overview

    Devices transmit and receive data in bit order in the serial communication which is quite simple to implement but has weaknesses such as short distance and hard maintenance. CSW-M85 is a module-typed converter enables serial devices to support TCP/IP communication through wireless LAN (IEEE 802.11b/g/n). CSW-M85 carries out the converting process for users to get to the network using TCP/IP protocol.
  • Page 7: Components

    Figure 1-2 1:1 network with a PC through an AP  Internet connection with a xDSL/cable modem Figure 1-3 Internet connection with an xDSL/cable modem Components  CSW-M85’s body  2dBi Dipole External Antenna (Option)  Evaluation board for CSW-M85 (Option) - 6 - Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 8: Specification

    CSW-M85 User’s Manual Ver. 1.6 Specification 1.5.1 Hardware Input Voltage DC 3.3V (±0.3V) Power Current typically 360mA Dimension 42mm x 28mm Weight About 7g ARM7 Core Memory 512 Kbytes Flash Memory, 96 Kbytes SRAM Serial 1 x UART – 3.3V TTL (Baud Rate: 300bps ~ 230,400bps) Serial Port Chip Antenna / U.FL connector(Selectable)
  • Page 9: Dimension

    CSW-M85 User’s Manual Ver. 1.6 1.5.3 Dimension  Top view Figure 1-4 top view  Side / Bottom view Figure 1-5 side / bottom view - 8 - Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 10: Pin Assignment

    CSW-M85 User’s Manual Ver. 1.6 1.5.4 Pin assignment  CON1/CON2 CON1 and CON2 have headers of 2mm pitches. Table 1-1 CON1 CON1 Name Description Direction Ground SYS_RST# System Reset (Active Low) ISP# ISP pin (to enter ISP mode) TCP# TCP connection state (Established - Low)
  • Page 11: Voltage Parameters

    CSW-M85 User’s Manual Ver. 1.6 1.5.5 Voltage Parameters Table 1-3 voltage parameters Parameter Description Min. Typical Max. Unit Supply Voltage High-level input voltage Low-level input voltage High-level output voltage Low-level output voltage 1.5.6 Application Circuit 1- 1 2- 1 STS_LED...
  • Page 12: Evaluation Board

    CSW-M85 User’s Manual Ver. 1.6 Evaluation Board The evaluation board for CSW-M85 equips an RJ45, D-SUB 9 pin Male connector and DC power connector. Figure 1-7 evaluation board of CSW-M85 1.6.1 Components ① D-SUB 9 pin male connector for RS232 connection ②...
  • Page 13 CSW-M85 User’s Manual Ver. 1.6 ⑥ LED indicators 2 Table 1-5 LED indicators 2 Name Color Description TCP# (D1) Green ON while TCP connection is established 3.3V (D2) ON while the power is being supplied ON while TCP connection is established...
  • Page 14: Installation And Test

    CSW-M85 User’s Manual Ver. 1.6 Installation and Test Background knowledge CSW-M85 supports IEEE802.11b/g/n IEEE 802.11 is also called Wi-Fi and has two network topologies, Infrastructure and Ad-hoc mode. CSW-M85 also supports WEP, WPA-PSK and WPA2-PSK for security. 2.1.1 Topology  Infrastructure mode...
  • Page 15: Key Terms

    SSID to communicate in the network. In the case of infrastructure mode, you have to set the same SSID with the AP to CSW-M85. Otherwise, it won’t communicate at all. The maximum length of this parameter is 31 bytes and the default is “sollae”.
  • Page 16: Authentication And Security

    Authentication Code Protocol (CCMP) for replacing the TKIP. CCMP uses Advanced Encryption Standard (AES), it is the WPA 2 that adopts AES. WPA 2 has also both Enterprise and PSK mode. CSW-M85 supports WPA 2-PSK. CSW-M85 supports WEP, WPA-PSK and WPA2-PSK ...
  • Page 17: Installation

    The following instruction is written based on use of evaluation board for CSW-M85. Before testing CSW-M85, connect the serial port to your PC. And then, make wireless LAN link between the PC and CSW-M85 using an AP or wireless LAN adaptor.
  • Page 18: Setting Network Area

    PC to the network. 2.2.2 Setting Network Area These steps are for setting both CSW-M85 and your PC to be located in the same network. Only if they are in the same network, the TCP connection between them can be established.
  • Page 19 CSW-M85 User’s Manual Ver. 1.6 Figure 2-6 setting PC - 18 - Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 20 MS Windows. This program is easy to use and doesn’t need installation. For setting CSW-M85, search your CSW-M85 via serial port first. All the values of parameters are set with the factory default. To apply CSW-M85 to your system, setting proper values is required.
  • Page 21: Simple Test

     Opening RS232 Port Figure 2-9 opening COM Port ④ Select COM port which the CSW-M85 is connected to ⑤ Make sure that all the parameters are the same with CSW-M85 ⑥ Press the [Open] button - 20 - Sollae Systems Co., Ltd.
  • Page 22 CSW-M85 User’s Manual Ver. 1.6  Confirm the TCP Connection and COM port status Figure 2-10 TCP Connected message ⑦ Check the message if the TCP connection has been established well Figure 2-11 COM Port open message ⑧ Check the message if the COM port has been opened - 21 - Sollae Systems Co., Ltd.
  • Page 23 CSW-M85 User’s Manual Ver. 1.6  Data transmission test Figure 2-12 successful data transmission ⑨ Click [Send data] on the LAN part ⑩ Check the data from ⑨ has been shown Figure 2-13 WLAN → RS232 ⑪ Press [Send data] on the RS232 part ⑫...
  • Page 24: Configuration

    Figure 3-1 initial appearance of ezManager 3.1.1 Configuration via WLAN  Checklists Make sure the WLAN connection between your PC and CSW-M85. If they are on the same network, [MAC Address search] can be used. Otherwise, only [IP Address search] is allowed to use.
  • Page 25: Configuration Via Serial

    Make sure the connection between your PC and CSW-M85 using RS232 cross cable. To use this, CSW-M85 has to be operating in the [Serial Configuration] mode. By connecting the ISP# pin to GND shortly (between 20ms and 1 sec), you can set the mode to [Serial Configuration] mode.
  • Page 26: At Command

    Make sure the connection between your PC and CSW-M85 using RS232 cross cable (In the case of using EVB). To use this mode, CSW-M85 has to be set to [AT command] mode of the [Communication mode]. This can be configured by ezManager.
  • Page 27: Assigning An Ip Address Automatically

    CSW-M85 User’s Manual Ver. 1.6 Assigning an IP address automatically 3.3.1 Obtain an IP automatically (DHCP) In the network environment composed of DHCP server, parameters such as IP address, subnet mask, gateway, and name servers can be automatically designated using DHCP protocol.
  • Page 28: Obtain An Ip Automatically (Pppoe)

    To use PPPoE function, the option should be enabled and an ID and password have to be configured. The local IP address of CSW-M85 is assigned automatically in PPPoE environment and you can set the address of DNS server manually or automatically.
  • Page 29: Notify Ip Change

    CSW-M85 User’s Manual Ver. 1.6 3.3.3 Notify IP Change CSW-M85 can be a TCP server even though its IP address is automatically assigned. Using [Notify IP Change] function, M85 sends its IP address to the specific server. There are 3 types for this service, DDNS, TCP and UDP.
  • Page 30: Operation Modes

    CSW-M85 User’s Manual Ver. 1.6 Operation Modes What is the Operation Mode? Each of four operation modes is defined for specific purpose as follows:  Normal mode This mode is for normal data communication and there are 4 different connection modes.
  • Page 31: Comparison With Each Mode

    CSW-M85 User’s Manual Ver. 1.6 Comparison with each mode The table below shows comparison of each mode in serial port operation. Table 4-1 comparison of each mode Name Serial port Normal configured value Serial Configuration 115200/N/8/1 115200/N/8/1 Link Quality Indication Normal Mode In normal mode, there are four connection types to communicate with a remote host.
  • Page 32: Serial Configuration Mode

     Using LINK Quality Indication Being established a wireless LAN link, input LOW with pin #11(LINK_Q#) of CON1. Staying in LOW, CSW-M85 indicates the RSSI by using 4 LED indicators which are listed on the table below. Table 4-3 4 states of LQ indication...
  • Page 33: Communication Modes

    Communication Modes TCP Server In this mode CSW-M85 listens to a request of TCP connection from remote hosts. Once a host tries connecting to CSW-M85, it accepts a connection. After the connection is established, CSW-M85 converts the raw data from the serial port to TCP/IP data and sends it to the network and vice versa.
  • Page 34: Examples

    CSW-M85 User’s Manual Ver. 1.6 5.1.2 Examples  A situation that [Event Byte] is set to 0. Figure 5-1 time chart Table 5-2 states of each point Points States M85 is listening to connection requests ① Remote host has sent a connection request (SYN) segment Processes of the connection ②...
  • Page 35 CSW-M85 User’s Manual Ver. 1.6  A situation that [Event Byte] is set to 1 Figure 5-2 time chart Table 5-3 states of each point Points States M85 is listening to connection requests ① Remote host has sent a connection request (SYN) segment Processes of the connection ②...
  • Page 36 CSW-M85 User’s Manual Ver. 1.6  A situation that [Timeout] is set to 5 Figure 5-3 time chart Table 5-4 states of each point Points States Data communication on both sides ① The last segment has arrived at the M85 for 5 seconds, no data communication ②...
  • Page 37: Tcp Client

    In this mode, CSW-M85 sends request segments to a TCP server with information of [Peer Address] and [Peer Port]. Once a host is listening, the connection will be established. After then, CSW-M85 converts the raw data from the serial port to TCP/IP data and sends them to the network and vice versa.
  • Page 38: Examples

    CSW-M85 User’s Manual Ver. 1.6 5.2.2 Examples  A situation that [Event Byte] is set to 0 Figure 5-4 time chart Table 5-7 states of each point Points States Power has not been supplied yet. ① M85 sends connection request segment right after it boots up.
  • Page 39 The data “1234567” has been transmitted to the remote host. As you can see, CSW-M85 sends request segment right after the serial data has been 5 bytes. Even though they arrived before the connection, the data “123”, “45” and “67” was transmitted to the remote host because the [Event Byte] is set to 5.
  • Page 40: At Command

    CSW-M85 User’s Manual Ver. 1.6 5.3 AT Command In AT command mode you can control CSW-M85 with AT command like controlling modem. Active and passive TCP connections are available but UDP is not. And you are allowed to configure some environmental parameters with extended commands.
  • Page 41: Examples

    TCP connection ③ TCP connection has been established. CSW-M85 sends “CONNECT” message to the serial port. Most of the response messages from the serial port of CSW-M85 are omitted on  above figure. - 40 - Sollae Systems Co., Ltd.
  • Page 42 AT commands M85 has sent a TCP connection request with the ATD ① command. processes of TCP connection ② TCP connection has been established. CSW-M85 sends “CONNECT” message to the serial port. - 41 - Sollae Systems Co., Ltd. http://www.sollae.co.kr...
  • Page 43 TCP connection has been terminated M85 sends “NO CARRIER” with disconnection. CSW-M85 changes the mode to AT command, when receiving “+++”. In this state, the communication with remote host is not possible because M85 processes only AT commands. Whenever you want to go back to on-line state, just give “ATO” command.
  • Page 44: Udp

    CSW-M85 User’s Manual Ver. 1.6 5.4 UDP UDP has no processes of connection. In this mode, data is sent in block units. Therefore, data that comes through CSW-M85’s serial port is collected in block units to send it elsewhere. 5.4.1 Key parameters ...
  • Page 45: Examples

    CSW-M85 User’s Manual Ver. 1.6 5.4.2 Examples  Event Byte: 5 bytes / Data Frame: 1sec Figure 5-9 time chart Table 5-13 states of each point Points States M85 is receiving data from the serial port ① M85 has sent 5 bytes as one block based on the [Event byte].
  • Page 46 ③ M85 has set host 2 to its peer host again. M85 is sending “FGH” from the serial port to remote host 2. The data “ABC”, “DE”, “FGH” are from the serial port of CSW-M85 in the above  figure.
  • Page 47: System Management

    6.1 Upgrading Firmware 6.1.1 Firmware Firmware is a type of software for operation of CSW-M85. If there are needs for adding functions or fixing bugs, the firmware can be modified and released. That is why we always recommend using the latest firmware.
  • Page 48 CSW-M85 User’s Manual Ver. 1.6  Checking firmware file and Sending Figure 6-2 sending firmware file ① Check if the name and path of the firmware file are correct. ② Click the [Send] button. ③ Request for reboot message will appear. After reboot, the program will send the file automatically.
  • Page 49: Status Monitoring

    CSW-M85 User’s Manual Ver. 1.6 6.2 Status Monitoring 6.2.1 TELNET When the [TELNET] option is activated, you can remotely log in to CSW-M85. If a password is set, users should input the password. After then, messages from CSW-M85 will appear like the following figure.
  • Page 50 CSW-M85 User’s Manual Ver. 1.6  st uptime This command is for showing system uptime since M85 has booted up. Figure 6-6 “st uptime” command  sc This command is for disconnecting one of the current sessions. Input session name to [OP1] and “close”...
  • Page 51: Status Window Of Ezmanager

    CSW-M85 User’s Manual Ver. 1.6 6.2.2 Status Window of ezManager Status of CSW-M85 can be monitored by the [Status] button on ezManager. By using the [Refresh Every 1 Second] option in the window, the status will be automatically updated in every second.
  • Page 52 The number of data which is sent to the COM port  ARP Table This part shows ARP table on CSW-M85. When TCP connection is established or UDP data communication is performed, the information of IP and MAC address is automatically registered in the table.
  • Page 53  Password This text box is activated when CSW-M85 has a password. If you want to close TCP connection on [TCP/IP Connection] list, input the password first.  Refresh Every 1 Second.
  • Page 54: Additional Functions

    A password can be used for protecting CSW-M85 from TELNET login or changing environmental parameters by hosts which are not qualified. The maximum length is 8 bytes of alphabet or number. When you want to revoke all of these restrictions, operate CSW-M85 as the serial  configuration mode.
  • Page 55: Using Wep

    CSW-M85 User’s Manual Ver. 1.6 7.1.3 Using WEP  Configuration of the Access Point Set the related parameters on the AP first. If you do not know how to set AP’s parameters, please refer to the manual or ask the manufacturer.
  • Page 56: Using Wpa And Wpa2

    CSW-M85 User’s Manual Ver. 1.6 7.1.4 Using WPA and WPA2  Configuration of the Access Point Set the related parameters on the AP first. If you do not know how to set AP’s parameters, please refer to the manual or ask the manufacturer.
  • Page 57: Option Tab Functions

    Option Tab Functions 7.2.1 Sending MAC Address [Sending MAC Address] is a function that the CSW-M85 sends its MAC address to the remote host right after a connection. By using this function, a server can identify multiple devices with the information.
  • Page 58: Serial Port Tab Functions

    RTS/CTS when the states are changed. 7.3.2 Disable TCP Transmission Delay - ② If you use this option, CSW-M85 sends the data from the serial port to Ethernet as quickly as possible. 7.3.3 Data Frame Interval - ③...
  • Page 59: Tcp Server / Client Mode - ④

    CSW-M85 User’s Manual Ver. 1.6 7.3.4 TCP Server / Client mode - ④ This mode is available on TCP client mode only. In this mode, you don’t need to change the mode for switching active or passive TCP connection. Note that the [Event Byte] option should be set to more than 1.
  • Page 60: Additional Functions

    CSW-M85 User’s Manual Ver. 1.6 7.4 Additional Functions 7.4.1 Factory Reset It is a function physically initializes all the values. Users can set customized default for the factory reset. However, if you don’t set the default, it will be initialized to the factory default.
  • Page 61: Checklist In Trouble

     Checking options of restriction In case that access restriction is activated, the communication with ezManager would be impossible. When you are in this situation, make CSW-M85 operate in the serial configuration mode to revoke the restriction. - 60 - Sollae Systems Co., Ltd.
  • Page 62: Connection Problem Over Tcp/Ip

     Checking parameters related with TCP/IP When CSW-M85 has a private IP address, an IP address of a PC and M85 needs to be on the same network. Check if the IP address and local port number are correct. In the case of a fixed IP address related items such as subnet mask, gateway IP address and DNS IP address should be configured.
  • Page 63: Data Communication Problem On The Serial Port

    CSW-M85 User’s Manual Ver. 1.6 8.3 Data Communication Problem on the Serial Port  Connection of Pins Check if the connection of each pin is right. Pin assignment is listed on the Table 1-1 CON1 and Table 1-2 CON2. Using a cable, you have to choose the right type of cable which is suitable for the device.
  • Page 64: Technical Support, Warranty, And Precaution

    9.1 Technical Support If you have any question regarding operation of the product, visit Customer Support FAQ corner and the message board on Sollae Systems’ web site or send us an email at the following address:  Website Address for Customer Support: http://www.eztcp.com/en/support/...
  • Page 65: Precaution

    CSW-M85 User’s Manual Ver. 1.6 9.3 Precaution  Sollae Systems is not responsible for product failures occurring due to user ’s alternation of the product.  Specifications of the product are subject to change without prior notice for performance improvement.
  • Page 66: Revision History

    CSW-M85 User’s Manual Ver. 1.6 10 Revision History Date Version Description Author 2011.10.21 ○ Initial release Roy LEE 2011.10.27 ○ Typo has been modified Amy Kim 2011.11.07 ○ The table 7-3 has been corrected Roy LEE ○ The table 1-1 has been modified (TXDE) 2011.12.13...

Table of Contents