background image

 

Cermetek Microelectronics, Inc                       Page 15 of 42  

 Document NO. 607-00xx Revision A (12/13) 

2.1.2.  Adhoc Wireless Network 

An  Adhoc  WiFi  network,  also  called  an  Independent  Basic  Service  Set,  uses  multiple  Stations 

without an Access Point.  The Stations communicate directly with each other. 

 

As shown in Figure  12  below,  Nodes  1,  2 and 3 and the laptop serve as  Stations  in the Adhoc 

network with user devices connected via the serial interface.  The CH232BGN modules can be 

operated and managed over the network from the laptop.   

 

Figure 12: CH232BGN Adhoc Network Structure 

2.1.3.  Access Point Plus Station Wireless Network 

The CH232BGN module can simultaneously serve as both an Access Point and a Station.  Figure 13 

below illustrates this type of network., 

 

Figure 13 CH232BGN Access Point Plus Station Network 

 

Содержание CH232BGN

Страница 1: ...Cermetek Microelectronics Inc Page 1 of 42 Document NO 607 00xx Revision A 12 13 CH232BGN Embedded WiFi Module User Manual...

Страница 2: ...T INTERFACE COMMUNICATIONS 17 2 7 WIRELESS DISTRIBUTION SYSTEM WDS 19 2 8 SEARCH FUNCTION FOR STATION 19 2 9 WORK MODE 20 2 10 PARAMETERS CONFIGURATION 20 3 ONLINE CONFIGURATION 21 3 1 WEB MANAGEMENT...

Страница 3: ...ntenna Option External I PEX Connector Thru hole Internal On board chip antenna Hardware Parameters Data Interface UART 1200bps 230400bps GPIOs Ethernet 100Mpbs Operating Voltage 3 3V 5 Operating Curr...

Страница 4: ...Cermetek Microelectronics Inc Page 4 of 42 Document NO 607 00xx Revision A 12 13 1 2 Hardware Introduction 1 2 1 CH232BGN Pin Definitions Figure 1 CH232BGN Pin Assignments...

Страница 5: ...l Purpose I O GPIO6 Input Output 8 Ethernet Transmit PHY_TX Output 1 8 Volt Ethernet Data I F 9 Ethernet Transmit PHY_TX Output 1 8 Volt Ethernet Data I F 10 Ethernet Receive PHY_RX Input 1 8 Volt Eth...

Страница 6: ...with the following rules The antenna may not be located in the 6X8MM red region see Figure 3 below The antenna must located away from any metal or any components taller than 10MM The antenna cannot be...

Страница 7: ...tandards The antenna parameters required as follows Table 3 CH232BGN External Antenna Parameters 1 2 5 Evaluation Kit An evaluation kit is available to assist users develop their applications The eval...

Страница 8: ...that signals that the module has completed its initial boot sequence and is ready for use This signal includes an internal 4 7K Ohm pull up resister The module provides a low output or a square wave o...

Страница 9: ...00M Ethernet Interface The CH232BGN provides one 10 100M Ethernet PHY layer interface for data transfer or user configuration The User circuit board must include an Ethernet transformer and RJ 45 conn...

Страница 10: ...power supply The typical peak current is 350mA During normal WiFi operation the module draws about 200mA Current draw with WiFi OFF is 100mA Cermetek recommends decoupling be added at the power pin of...

Страница 11: ...e flow control RTS CTS on the UART port to prevent buffer overflow 1 4 2 Configuration Mode In configuration mode the user can set CH232BGN configuration The user can switch from transparent transmiss...

Страница 12: ...ns GPIO 1 and GPIO 2 In GPIO 1 the user defines TXD RXD CTS and RTS as GPIO lines the nReady nLink and nReload pins serve has functional pins In GPIO 2 all seven I O pins TXD RXD RTS CTS nLink nReady...

Страница 13: ...Mode Two The module generates a square wave on nReady after a successful boot sequence The frequency of the square wave is 0 5 Hz with a 50 duty cycle The User software can check for the presence of t...

Страница 14: ...e wireless LAN via the CH232BGN module Figure 10 below shows the functional architecture of the CH232BGN module Figure 10 CH232BGN Functional Architecture Notes An Access Point serves as a router prov...

Страница 15: ...e 12 below Nodes 1 2 and 3 and the laptop serve as Stations in the Adhoc network with user devices connected via the serial interface The CH232BGN modules can be operated and managed over the network...

Страница 16: ...the Station port must maintain a connection with the other Access Point to prevent data loss If the Station port cannot maintain the connection disable the Station Scan with the commands below AT STT...

Страница 17: ...Set identification BSSID address of the target network According to the provisions of 802 11 protocol different wireless networks can have a same network name i e SSID ESSID but must correspond to a...

Страница 18: ...ve the CH232BGN module operates as a Station Firmware version Z required with the module configured in bridge mode When the module connects to an Access Point all devices connected to the Ethernet int...

Страница 19: ...configuration for the Station Interface the user can push the Search button to find surrounding Access Points 2 9 Work Mode CH232BGN modules communicate only in Transparent Transmission Mode Transpar...

Страница 20: ...een user devices without modification Figure 18 CH232BGN Transparent Transmission Operation 2 10 Parameters Configuration CH232BGN module supports two methods of configuring parameters Over the web an...

Страница 21: ...word Admin 3 1 Web Management Interface Following is the procedure to configure the CH232BGN via its web interface Step 1 Connect a laptop to the CH232BGN SSID CH232BGN_AP via the wireless LAN Step 2...

Страница 22: ...clude the WiFi networking mode 802 11 b g or n network ID Security Mode and LAN setup Figure 20 Access Point Interface Configuration Page 3 4 Station Interface Configuration Page This page Figure 21 b...

Страница 23: ...rt serial communication See figure 22 below Figure 22 UART Configuration Page Notes Network protocols typically support three modes TCP Server TCP Client and UDP UDP has no server or client requiremen...

Страница 24: ...2BGN module These settings include the account identification module re start reload factory defaults and on line firmware upgrade Figure 23 Administrative Configuration Page Notes When parameters are...

Страница 25: ...with a to confirm receipt of the command Step 2 Send the character a to the CH232BGN The CH232BGN responds with ok and enters AT configuration mode Notes The character string is not echoed back to th...

Страница 26: ...n lower case 4 2 3 CH232BGN Responses Below is a description of the general format for responses to AT commands RSP op para 1 para 2 para 3 para 4 CR LF CR LF Prefix indicating a response RSP Response...

Страница 27: ...on WEBU Set Query WEB page login parameters WAP Set Query WIFI parameters as Access Point WAKEY Set Query WIFI security parameters as Access Point MSLP Set modules into power save mode WSCAN Seek Acce...

Страница 28: ...echo is disabled AT E command reactivates it 4 2 5 2 AT ENTM This command places the CH232BGN into transparent transmission mode AT ENTM CR ok CR LF CR LF 4 2 5 3 AT NETP This command permits the use...

Страница 29: ...ardware flow control NFC no flow control or FC Flow Control Active Note New settings for the AT UART command do not become active until the CH232BGN module reboots 4 2 5 5 AT UARTF This command allows...

Страница 30: ...ssion mode Read Data Transmission Mode AT TMODE CR ok tmode CR LF CR LF Set Data Transmission Mode AT TMODE tmode CR ok CR LF CR LF Parameters tmode through Transparent transmission selected Agreement...

Страница 31: ...d TKIP with WPAPSK selected AES with WPAPSK selected Key Password ASCII code between 8 and 64 bits Note New settings AT WSKEY do not become active until the CH232BGN module reboots This command is onl...

Страница 32: ...Read Web Page Login Parameters AT WEBU CR ok usr password CR LF CR LF Set Web Page Login Parameters AT WSSID usr password CR ok CR LF CR LF Parameters usr User Name for web page access password Web p...

Страница 33: ...d AES WiFi Protected Access selected TKIPAES WiFi Protected Access selected key password ASCII code between 8 and 64 bits Note New settings for AT WAKEY do not become active until the CH232BGN module...

Страница 34: ...PLK This command checks the CH232BGN to see if a TCP link is established Confirm presence of a TCP Link AT TCPLK CR ok sta CR LF CR LF Parameters sta ON TCP Link established OFF No TCP Link Establishe...

Страница 35: ...t IP address mask WAN port subnet mask gateway WAN port gateway address Note New settings for AT WANN do not become active until the CH232BGN module reboots This command functions only in Station mode...

Страница 36: ...Read TCP Timeout AT TCPTO CR ok time CR LF CR LF Set TCP Timeout AT TCPTO time CR ok CR LF CR LF Parameters Time TCP timeout setting 600 600 seconds 0 no timeout Default value is 300 seconds 4 2 5 24...

Страница 37: ...d permits the user to Set or Read the TCPB port number Read TCPB Port Number AT TCPPTB CR ok port CR LF CR LF Set TCPB Port Number AT TCPPTB port CR ok CR LF CR LF Parameters port decimal number than...

Страница 38: ...ule reboots 4 2 5 29 AT TCPLKB This command allows the user to Read TCPB link status Read TCPB Link Status AT TCPCKB CR ok sta CR LF CR LF Parameters sta on TCPB Link Active off TCPB Link not availabl...

Страница 39: ...Factory Defaults AT RELD CR ok rebooting CR LF CR LF 4 2 5 33 AT Z This command restarts the CH232BGN Restart Module AT Z CR 4 2 5 34 AT MID Request Module ID Request Module ID AT MID CR ok module_id...

Страница 40: ...Cermetek Microelectronics Inc Page 40 of 42 Document NO 607 00xx Revision A 12 13 APPENDIX A EVALUATION BOARD REFERENCE DESIGN...

Страница 41: ...Cermetek Microelectronics Inc Page 41 of 42 Document NO 607 00xx Revision A 12 13 APPENDIX B EXTERNAL POWER SHUTDOWN MODE REFERENCE DESIGN...

Страница 42: ...cs Inc Page 42 of 42 Document NO 607 00xx Revision A 12 13 CONTACT INFORMATION Cermetek Microelectronics Inc 374 Turquoise Street Milpitas CA 95035 www cermetek com Tel 408 942 2200 Fax 408 942 1346 E...

Отзывы: