Lierda Science and Technology Group LSD4WF-CC3221 Wi-Fi Module User Manual User Manuel x
Lierda Science & Technology Group Co.,Ltd Wi-Fi Module User Manuel x
Users Manual
Lierda Science & Technology Group Co., LTD User’s manual Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 1 Product Overview ................................................................................................................................................... 1 1.1 Features ............................................................................................................................................. 1 1.2 Parameters ................................................................................................................................................... 1 1.3 Applications ................................................................................................................................................. 1 2 Hardware Overview ........................................................................................................................................... 2 2.1 Appearance ........................................................................................................................................ 2 2.2 Product structure size ........................................................................................................................ 2 2.3 Distribution Pin Description ............................................................................................................... 3 3 Functional Description ....................................................................................................................................... 6 3.1 Networking features .......................................................................................................................... 6 3.1.1 AP Networking ........................................................................................................................... 7 3.1.2 AP Networking ........................................................................................................................... 7 3.2 Passthrough mode ............................................................................................................................. 7 4 Instructions for use ............................................................................................................................................ 7 4.1 Network Connection .......................................................................................................................... 7 4.1.1 Serial Port Configuration ............................................................................................................ 8 4.2 Creating Socket .................................................................................................................................. 8 4.2.1 Creating a SocketA ..................................................................................................................... 8 4.2.2 Creating a SocketB ..................................................................................................................... 9 4.2.3 Passthrough Mode ................................................................................................................... 10 5 Warning ........................................................................................................................................................... 10 Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 1 ProductOverview LSD4WF-3211I5SSisLSDTechnologyCo., Ltd. developedultra-low-power embedded WIFImodule, using the industry's lowest power, high-performanceembeddedprocessorsWIFInetwork. Integratedhardwaremodulewithin theMAC, radiotransceiverunit, poweramplification unit, developedfor usersto useM4 coreunitsupports802.11b / g / nprotocol standards; LSD4WF-3211I5SS modulara low-powerWIFImodule, can help customersachieve productupgradewirelessnetwork communicationstothebasicserial communication. 1.1 Features Supports802.11 b / g / nprotocol standards, WPA / WPA2 encryption; supportSmartconfigconfiguration anda APkeyconfiguration; integratedTCP / IPprotocol stack,reducing theprogramming burden; containCortex M4core,friendly developmentenvironment; Simplylinkprovide networkprogramminglibraryandM4 coredriver library; provide a richperipheral interfaces, UART / SPI / I2C / I2S / PWM, etc. low power consumption,HIB, the operating current 4ua; UnderLPDSmode, the operating current 2ma; ultra-smallsize of23 * 32mm,surface mountpackage; Easy to useIAR / CCScompiler environment; 1.2Parameters optionalexternal interfaceUART / SPI / I2C / I2S own internalnetworkMAC network protocolstandard802.11 b / g / n20 2.4Gnetworkoperating frequency transmitpower: 802.11b: 15dBm+/-1.5dB 802.11g:1 1 d B m + / - 1 . 5 d B 802.11n20: 10dBm+/-1.5dB Receiving sensitivity: 802.11b -94.5dbm (8% PER) 802.11g -73dbm 10% PER 54M@OFDM 802.11n -70dbm 10%PER MCS7 Undercurrent--HIBmode: 4ua; Undercurrent--Idle Connectmode: 2ma (DITM = 1); hardwareencryption: WEP, WPA, WPA2; antennaconfigurations:on-boardPCBantenna andexternal antennaonboard; modulepin count: 48pin; module size: 23.1 * 32.8mm; 1.3Applications Smart HomeApplications white goods handheldnetworkdevices wirelessnetworking applications remoteequipment monitoring Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 co onsumerwirelless productss 2 Hard dware Overview 2.1 Ap ppearance 2.2 Prroduct structure e size Address: Lie erda Building, 425 Dengyun Road, Hangzhou, China Tel:057 71-88800000 Fax:0571-89 9908080 2.3 Distribution Pin Description NO. Network label Distribution Remark GND GND EXRESET The external reset pin SOP2 Sense-On-Power 2 SOP0 Sense-On-Power 0 VDD 3.3V VDD 3.3V GND GND GND GND GPIO30 General-PurposeI/O UART0 TX Data I2S Audio PortClock O I2S Audio PortFrame Sync Timer CapturePort General SPIMISO 10 GPIO0 General-PurposeI/O UART0 Input Clear ToSend I2S Audio PortData 1 (RX/TX) Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 Timer CapturePort General SPI ChipPort General SPI ChipSelect UART1 RequestTo Send O UART0 RequestTo Send O I2S Audio PortData 0 (RX/TX) 11 GPIO6 General-PurposeI/O UART0 RequestTo Send O Parallel CameraData Bit 0 UART1 Input Clear ToSend UART0 Input Clear ToSend Timer Capture Port 12 GPIO1 General-Purpose I/O UART0 TX Data Pixel Clock FromParallel CameraSensor UART1 TX Data Timer CapturePort 13 GPIO2 General-Purpose I/O UART0 RX Data UART1 RX Data Timer CapturePort2 ADC Channel (1.5V max) 14 GPIO3 0Input General-Purpose I/O Parallel CameraData Bit 3 UART1 TX Data ADC Channel (1.5V max) 15 GPIO4 1Input General-Purpose I/O UART1 RX Data Parallel CameraData Bit 2 ADC Channel 2 Input (1.5V max) 16 GPIO5 General-Purpose I/O Parallel CameraData Bit 1 I2S Audio PortData 1 (RX/TX) Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 Timer CapturePort 5 ADC Channel 3 Input (1.5V max) 17 GPIO7 General-Purpose I/O UART1 RequestTo Send O UART0 RequestTo Send O UART0 TX Data I2S Audio PortClock O 18 GPIO8 General-Purpose I/O Interrupt from SDCard (Futuresupport) I2S Audio PortFrame Sync Timer Capture Port 6 19 GPIO9 General-Purpose I/O Pulse WidthModulated05 SD Cad Data I2S Audio (Rx/Tx) PortData Timer CapturePort 0 20 GPIO10 General-Purpose I/O I2C Clock Pulse-WidthModulated06 UART1 TX Data SD Card Clock Timer CapturePort 1 21 GPIO11 General-Purpose I/O I2C Data Pulse-WidthModulated07 Free Clock Camera ToParallel SD CardCommand Line UART RX Data Timer Capture Port2 I2S Audio PortFrame Sync 22 GPIO12 General-Purpose I/O I2S Audio PortClock O Parallel Sync CameraVertical I2C Clock UART0 TX Data Timer CapturePort 3 23 GPIO13 General-Purpose I/O Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 I2C Data Parallel CameraHorizontal Sync UART0 RX Data Timer CapturePort 4 24 GPIO14 General-Purpose I/O I2C Clock General SPIClock Parallel CameraData Bit 4 Timer CapturePort 5 25 GPIO15 General-Purpose I/O General SPIMISO I2C Data Parallel CameraData Bit 5 Timer CapturePort 6 26 GPIO16 General-Purpose I/O General SPIMOSI Parallel CameraData Bit 6 UART1 TX Data Timer CapturePort 7 27 GPIO17 General-Purpose I/O UART1 RX Data General SPI ChipSelect Parallel CameraData Bit 7 28 GND GND 29 VCC 3.3V 30 GPIO22 General-Purpose I/O I2S Audio PortFrame Sync Timer Capture Port 4 31 GPIO28 General-Purpose I/O 32 JTAG_TDI JTAG TDI 33 JTAG_TDO JTAG TDO 34 JTAG_TCK JTAG TCK 35 JTAG_TMS JTAG TMS 36 GND GND Functional Description 3.1 Networking features LSD4WF-3211I5SAmodule canbe configured toAPmodeandSTAmode, atthesame timehavea wireless network interface, but also includes some commonwired interfacemethods, such asSPIinterface, I2C interface, I2S interface, UARTinterface; the presenceof these interfacesgreatly expandedconnectionmodule, but also toenable Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 a user tomore quicklyand modulesfor docking, to achievedata transmissionnetwork; 3.1.1 APNetworking APthe wireless access pointis the center ofanetwork; Generally, the router asAP,undercertain circumstances,alsosomemobilephoneterminals, PAD asAP; LSD4WFmodulecan also beused asAP mode, for receivingthe network.Connectionsas shown below: 3.1.2 APNetworking STAis thewirelessstation, awireless networkterminal, typicallytoaccesstothe AP, the AP transmitsdatato the networkvia; LSD4WF as the nextSTAmode, can beconnectedwith anyofthe AP, thewireless Internetmoduleto achieve. 3.2 Passthroughmode LSD4WFsupports serialtransparent transmissionmode, data from theserial transmissioncabletotransmita wireless network; transparent transmissionmode,so thatthe customer'sproducts tothe fastest andeasiest way to implementthe network. Usersneed onlya simple configurationvia the serial portcanbe networkedand data transmission; Instructions for use WIFImodulewhen using theneed to usetwo software; 1, SecureCRTserial debugging tools; 2, TCP Socketcommunication tools; 4.1 Network Connection Configuration moduleinSTAmode, andletthe routerconnection; computerand routerconnection; moduleand a computerviaa serial connection; Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 串口连接 4.1.1 Serial Port Configuration Openserial debugging assistant, a baud rate of115200,1stop bit, no parity, as follows: Press thereset buttonmodule, wait for some time, after theinitializationis complete,you canreceiveATcommandsinput; EnterAT + WKEY = AT + WSKEY = WPAPSK, AES, lierda18f,return+ ok,whichWPAPSKsecuritytype, AES dataencryption, lierda18f secret keyforencryption; EnterAT + WSSID = Lierda18f ,return+ ok; 4.2 CreatingSocket 4.2.1 CreatingaSocketA Opensokittool, selectthe servermode, TCP address is192.168.1.145,port number5001, click theTCP listener, configuredas follows: Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 Serial port, enter AT + NETP = TCP, CLIENT, 5001,192.168.1.145 ,return+ ok; EnterAT + TCPDIS = on ,return+ ok; Insokittool,a message appearsas follows: Appear[TCP] 192.168.1.121:64191expressedsokitcreated successfully; Click to select[TCP] 192.168.1.121:64191,then fillin thesendingareasokittooldataneeds to be sent, and click Send,receiveserialdatasent successfully, as follows: Serial dataobtainedare as follows: 4.2.2 CreatingaSocketB Opensokittool again, chooseserver mode, TCP address is192.168.1.145,the portis set to5002, click theTCP listener, as follows: Serial port, enter AT + SOCKB = TCP, 5002,192.168.1.145 ,return+ ok Enter AT+TCPDISB=on ,return +ok; Information shown below appears in sokit tool, indicates socketB created successfully, as follows: Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 Andcreate the firstSocket Communicationsasanareato fillin the datatransmitted bythe data, such as1234567890, click send, receive dataappearinthe serial, as follows: Theserial datais as follows: 4.2.3 PassthroughMode Enter theserial portof theAT + ENTM ,so that the moduleinto thetransparent mode. Warning This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation. Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. To satisfy FCC RF Exposure requirements for this transmission devices, a separation distance of 20 cm or more should be maintained between the antenna of this device and persons during operation. To ensure compliance, operation at closer than this distance is not recommended. The antenna(s) used for this transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. The modular transmitter must be equipped with either a permanently affixed label or must be capable of electronically displaying its FCC identification number: (A) If using a permanently affixed label, the modular transmitter must be labeled with its own FCC identification number, and, if the FCC identification number 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: N8NLSD4WF-CC3221.” Any similar wording that expresses the same meaning may be used. The Grantee may either provide such a label, an example of which must be included in the application for equipment authorization, or, must provide adequate instructions along with the module which explain this requirement. In the latter case, a copy of these instructions must be included in the application for equipment authorization Address: Lierda Building, 425 Dengyun Road, Hangzhou, China Tel:0571-88800000 Fax:0571-89908080 10
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.6 Linearized : Yes Encryption : Standard V4.4 (128-bit) User Access : Print, Extract, Print high-res Author : baclks38 Create Date : 2014:12:23 09:32:27+08:00 Modify Date : 2016:05:23 17:31:44-07:00 Has XFA : No XMP Toolkit : Adobe XMP Core 5.2-c001 63.139439, 2010/09/27-13:37:26 Producer : Acrobat Distiller 9.0.0 (Windows) Creator Tool : PScript5.dll Version 5.2.2 Metadata Date : 2016:05:23 17:31:44-07:00 Format : application/pdf Title : Microsoft Word - User Manuel .docx Creator : baclks38 Document ID : uuid:76345c87-2401-4967-a4f0-bf00e5848deb Instance ID : uuid:e8b0970e-401d-4bcb-8b95-786abed7ec6c Page Count : 12EXIF Metadata provided by EXIF.tools