WM171 User Manual REV:1.0 2017.6 WM171 User Manual FCCSTATEMENT Anychangesormodificationsnotexpresslyapprovedbythepartyresponsibleforcompliancecouldvoidtheusers authoritytooperatetheequipment. ThisdevicecomplieswithPart15oftheFCCRules.Operationissubjecttothefollowingtwoconditions:(1)thisdevice maynotcauseharmfulinterference,and(2)thisdevicemustacceptanyinterferencereceived,includinginterference thatmaycauseundesiredoperation. ThisequipmenthasbeentestedandfoundtocomplywiththelimitsforaClassBdigitaldevice,pursuanttoPart15of theFCCRules.Theselimitsaredesignedtoprovidereasonableprotectionagainstharmfulinterferenceinaresidential installation.Thisequipmentgenerates,usesandcanradiateradiofrequencyenergyand,ifnotinstalledandusedin accordancewiththeinstructions,maycauseharmfulinterferencetoradiocommunications.However,thereisno guaranteethatinterferencewillnotoccurinaparticularinstallation. Ifthisequipmentdoescauseharmfulinterferencetoradioortelevisionreception,whichcanbedeterminedby turningtheequipmentoffandon,theuserisencouragedtotrytocorrecttheinterferencebyoneormoreofthe followingmeasures:
Reorientorrelocatethereceivingantenna. Increasetheseparationbetweentheequipmentandreceiver. Connecttheequipmentintoanoutletonacircuitdifferentfromthattowhichthereceiverisconnected. Consultthedealeroranexperiencedradio/TVtechnicianforhelp. PleasenoticethatiftheFCCidentificationnumberisnotvisiblewhenthemoduleisinstalledinsideanotherdevice, thentheoutsideofthedeviceintowhichthemoduleisinstalledmustalsodisplayalabelreferringtotheenclosed module.Thisexteriorlabelcanusewordingsuchasthefollowing:ContainsFCCID:2AMU6WM171anysimilar wordingthatexpressesthesamemeaningmaybeused. ThisequipmentcomplieswithFCCradiationexposurelimitssetforthforanuncontrolledenvironment. Thisequipmentshouldbeinstalledandoperatedwithminimumdistance20cmbetweentheradiatorandyourbody. Thistransmittermustnotbecolocatedoroperatinginconjunctionwithanyotherantennaortransmitter. ThisequipmentcomplieswithFCCradiationexposurelimitssetforthforanuncontrolledenvironment.Endusermust followthespecificoperatinginstructionsforsatisfyingRFexposurecompliance.Thistransmittermustnotbeco locatedoroperatinginconjunctionwithanyotherantennaortransmitter.Theportabledeviceisdesignedtomeetthe requirementsforexposuretoradiowavesestablishedbytheFederalCommunicationsCommission(USA).These requirementssetaSARlimitof1.6W/kgaveragedoveronegramoftissue.ThehighestSARvaluereportedunderthis standardduringproductcertificationforusewhenproperlywornonthebody ThemoduleislimitedtoOEMinstallationONLY.TheOEMintegratorisresponsibleforensuringthattheenduserhas nomanualinstructiontoremoveorinstallmodule.Themoduleislimitedtoinstallationinmobileapplication;
Aseparateapprovalisrequiredforallotheroperatingconfigurations,includingportableconfigurationswithrespectto Part2.1093anddifferenceantennaconfigurations. NTX Embedded WM171 User Manual ThereisrequirementthatthegranteeprovideguidancetothehostmanufacturerforcompliancewithPart15B requirements. NTX Embedded WM171 User Manual TableOfContents 1.Preambles...............................................................................................................................................................2 1.1. 1.2. Features...............................................................................................................................................3 Parameters...........................................................................................................................................4 2.PinDescriptions......................................................................................................................................................5 2.1. 2.2. 2.3. Interfaces.............................................................................................................................................6 PinMode..............................................................................................................................................8 Antennainterface................................................................................................................................8 3.PackageinformationandOEMinstallationmethod.............................................................................................9 3.1. 3.2. Packageinformation..........................................................................................................................10 OEMinstallationmathod...................................................................................................................10 4.AbsoluteMaximumRatings................................................................................................................................11 4.1RecommendedOperatingConditions.........................................................................................................11 4.2.ATcommendTesting...................................................................................................................................11 4.3.ATcommend...............................................................................................................................................12 4.3.1.ATCommandDescription........................................................................................................................12 4.3.2.BasicATCommandSet............................................................................................................................12 NTX Embedded 1 WM171 User Manual 1.Preambles WM171 WiFi module is developed by NTX Embedded, core processor in smaller sizes of the module encapsulatesTensilicaL106integratesindustryleadingultralowpower32bitMCUmicro,withthe16bitshortmode, clockspeedsupport80MHz,160MHz,supportstheRTOS,integratedWiFiMAC/BB/RF/PA/LNA,onboardantennas. ThemodulesupportsstandardIEEE802.11b/g/nagreement,completeTCP/IPprotocolstack.Userscanusethe addmodulestoanexistingdevicenetworking,orbuildingaseparatenetworkcontroller. ThecoreprocessorishighintegrationwirelessSOCS,designedforspaceandpowerconstrainedmobileplatform designers.ItprovidesunsurpassedabilitytoembedWiFicapabilitieswithinothersystems,ortofunctionasa standaloneapplication,withthelowestcost,andminimalspacerequirement. Figure1 ThecoreprocessorFunctionalBlockDiagram ThecoreprocessoroffersacompleteandselfcontainedWiFinetworkingsolution;itcanbeusedtohostthe applicationortooffloadWiFinetworkingfunctionsfromanotherapplicationprocessor. Whencoreprocessorhoststheapplication,itbootsupdirectlyfromanexternalflash.Inhasintegratedcacheto improvetheperformanceofthesysteminsuchapplications. Alternately,servingasaWiFiadapter,wirelessinternetaccesscanbeaddedtoanymicrocontrollerbaseddesign withsimpleconnectivity(SPI/SDIOorI2C/UARTinterface). ThecoreprocessorisamongthemostintegratedWiFichipintheindustry;itintegratestheantennaswitches,RF balun,poweramplifier,lownoisereceiveamplifier,filters,powermanagementmodules,itrequiresminimalexternal circuitry,andtheentiresolution,includingfrontendmodule,isdesignedtooccupyminimalPCBarea. ThecoreprocessoralsointegratesanenhancedversionofTensilicasL106Diamondseries32bitprocessor,with onchipSRAM,besidestheWiFifunctionalities.Thecoreprocessorisoftenintegratedwithexternalsensorsand otherapplicationspecificdevicesthroughitsGPIOs;codesforsuchapplicationsareprovidedinexamplesintheSDK. NTX Embedded 2 WM171 User Manual 1.1. Features 802.11b/g/n Integratedlowpower32bitMCU Integrated10bitADC IntegratedTCP/IPprotocolstack IntegratedTRswitch,balun,LNA,poweramplifierandmatchingnetwork IntegratedPLL,regulators,andpowermanagementunits Supportsantennadiversity WiFi2.4GHz,supportWPA/WPA2 SupportSTA/AP/STA+APoperationmodes SupportSmartLinkFunctionforbothAndroidandiOSdevices SDIO2.0,(H)SPI,UART,I2C,I2S,IRDA,PWM,GPIO STBC,1x1MIMO,2x1MIMO AMPDU&AMSDUaggregationand0.4sguardinterval Deepsleeppower<10uA,Powerdownleakagecurrent<5uA Wakeupandtransmitpacketsin<2ms Standbypowerconsumptionof<1.0mW(DTIM3)
+23.6dBmoutputpowerin802.11nmode Operatingtemperaturerange40C~85C NTX Embedded 3 WM171 User Manual 1.2. Parameters Table1belowdescribesthemajorparameters. Table1Parameters Categories Items Values WiFi Paramters Hardware Paramaters WiFiProtocles FrequencyRange PeripheralBus OperatingVoltage OperatingCurrent 802.11b/g/n 2.4GHz2.5GHz(2412MHz2462MHz) UART/HSPI/I2C/I2S/IrRemoteContorl GPIO/PWM 3.3V Averagevalue:80mA OperatingTemperatureRange 40~125 AmbientTemperatureRange Normaltemperature PackageSize ExternalInterface WiFimode Security Encryption FirmwareUpgrade SsoftwareDevelopment NetworkProtocols UserConfiguration 18mm*20mm*3mm N/A station/softAP/SoftAP+station WPA/WPA2 WEP/TKIP/AES UARTDownload/OTA(vianetwork)/
downloadandwritefirmwareviahost SupportsCloudServerDevelopment/SDK forcustomfirmwaredevelopment IPv4,TCP/UDP/HTTP/FTP ATInstructionSet,CloudServer,Android/iOSAPP Software Parameters NTX Embedded 4 WM171 User Manual 2. PinDescriptions Therearealtogether16pincounts,thedefinitionsofwhicharedescribedinTable2below. Figure2WM171pinout Table2WM171pindescription Pinnumber Pinname function 1 2 3 4 5 6 7 8 RST ADC EN Resetmodule A/dconversionresult.Inputvoltagerange0~1V,valuerange:0~1024 Chipenablepin.Activehigh GPIO16 GPIO16;canbeusedtowakeupthechipsetfromdeepsleepmode GPIO14 GPIO14;HSPI_CLK GPIO12 GPIO12;HSPI_MISO GPIO13 GPIO13;HSPI_MOSI;UART0_CTS VCC 3.3Vpowersupply(VDD) NTX Embedded 5 WM171 User Manual 9 10 11 12 13 14 15 16 GND GND GPIO15 GPIO15;MTDO;HSPICS;UART0_RTS GPIO2 GPIO2;UART1_TXD GPIO0 GPIO0 GPIO4 GPIO4 GPIO5 GPIO5 RXD0 TXD0 UART0_RXD;GPIO3 UART0_TXD;GPIO1 2.1. Interfaces Table3 DescriptionsofInterfaces Interface HSPI PWM PinName IO12(MISO), IO13(MOSI) IO14(CLK), IO15(CS) IO12(R), IO15(G), IO13(B) IRRemote Control IO14(IR_T), IO5(IR_R) ADC TOUT Description SPIFlash,displayscreen,andMCUcanbeconnectedusingHSPI interface CurrentlythePWMinterfacehasfourchannels,butuserscanextend thechannelsaccordingtotheirownneeds.PWMinterfacecanbe usedtocontrolLEDlights,buzzers,relays,electronicmachines,and soon. ThefunctionalityofInfraredremotecontrolinterfacecanbe implementedviasoftwareprogramming.NECcoding,modulation, anddemodulationareusedbythisinterface.Thefrequencyof modulatedcarriersignalis38KHz. Thecoreprocessorintegratesa10bitanalogADC.Itcanbeusedto test the power supply voltage of VDD3P3 (Pin3 and Pin4) and the inputpowervoltageofTOUT(Pin6).However,thesetwofunctions cannot be used simultaneously. This interface is typically used in NTX Embedded 6 WM171 User Manual I2C IO14(SCL), IO2(SDA) UART0:
TXD(U0TXD), RXD(U0RXD), IO15(RTS), IO13(CTS) UART1:
IO2(TXD) I2SInput IO12(I2SI_DATA);
IO13(I2SI_BCK);
IO14(I2SI_WS);
I2SOutput:
IO15(I2SO_BCK);
IO3(I2SO_DATA);
IO2(I2SO_WS). UART I2S sensorproducts. I2Cinterfacecanbeusedtoconnectexternalsensorproductsand displayscreens,etc. DeviceswithUARTinterfacescanbeconnectedwiththemodule. Downloading:U0TXD+U0RXDorGPIO2+U0RXD Communicating:UART0:U0TXD,U0RXD,MTDO(U0RTS),MTCK
(U0CTS) Debugging:UART1_TXD(GPIO2)canbeusedtoprintdebugging information. Bydefault,UART0willoutputsomeprintedinformationwhenthe deviceispoweredonandisbootingup.Ifthisissueexertsinfluence onsomespecificapplications,userscanexchangetheinnerpinsof UARTwheninitializing,thatistosay,exchangeU0TXD,U0RXDwith U0RTS,U0CTS. I2Sinterfaceismainlyusedforcollecting,processing,and transmissionofaudiodata. NTX Embedded 7 WM171 User Manual 2.2. PinMode Mode UART FlashBoot Table4PinMode GPIO15 low low GPIO0 low high GPIO2 high high 2.3. Antennainterface WM171ModulesthroughtheIPEXinterfacetoconnecttoexternalantenna. Theantennamustbeinlinewiththe802.11g/802.11bIEEEstandard,andtheantennaparametersareshownin thefollowingtable Table5Antennaparameters Rating Frequencyrange Impedance Value 2412MHz2462MHz 50 NTX Embedded 8 WM171 User Manual 3. PackageinformationandOEMinstallationmethod TheexternalsizeoftheWM171WiFimoduleis16mm*17mm*3mm,asisillustratedinFigure4below:
Figure3TopViewofWM171WiFiModule Figure4DimensionsofWM171WiFiModule Table5DimensionsofWM171WiFiModule Length 16mm width 17mm Height PADSize(Bottom) PinPitch 3mm 1mmx1.2mm 2mm NTX Embedded 9 WM171 User Manual 3.1. Packageinformation WM171useahalfholepatchpackage,ModulePCBFootprintshowninthefollowingfigure:
Figure5ModulePCBFootprint 3.2. OEMinstallationmathod UsingWM171modulePleasereferenceinfrontofthepackageinformationintheLayoutonthemainboardfor OEMfactory.PleasepaymoreattentionModule'sdirectionandtheantennaclosetotheedgeofboardisbetter,the Componentsandlayoutshouldnotbeonthebottomofantennathensolderingthemodule.Whenthemodulebe solderingcantintheenvironmentofhightemperature,Werecommendthereflowsolderingtemperaturecurvesis showninfigure6:
Figure6 Recommendreflowsolderingtemperaturecurves NTX Embedded 10 WM171 User Manual 4.AbsoluteMaximumRatings Table6AbsoluteMaximumRatings Rating Condition StorageTemperature MaximumSolderingTemperature Value 40to125 260 SupplyVoltage IPC/JEDECJSTD020
+3.0to+3.6 4.1RecommendedOperatingConditions Table7RecommendedOperatingConditions OperatingCondition Symbol OperatingTemperature Supplyvoltage VDD 4.2.ATcommendTesting 1.Hardwareconnection Min 40 3.0 Typ 20 3.3 Max 125 3.6 Unit V Unit V AsshowninFigure7,WM171viaaUSBtoTTLToolconnectedtothecomputer,softwaretoolthroughtheserial portonthecomputercanbeATinstructiontest Figure7WM171connectwithcomputer NTX Embedded 11 WM171 User Manual 4.3.ATcommend WM171atinstructionsetfunctionsandmethodsofuse ATcommandssetisdividedinto:BasicATcommands,WiFirelatedATcommands,TCP/IPAT 4.3.1.ATCommandDescription Table8EachCommandsetcontainsfourtypesofATcommands. Notes:
1.NotallATCommandhasfourcommands. 2.[]=defaultvalue,notrequiredormaynotappear 3.Stringvaluesrequiredoublequotationmarks,forexample:
AT+CWSAP="ESP756290","21030826",1,4 4.Baudrate=115200 5.ATCommandshastobecapitalized,andendwith"/r/n"
4.3.2.BasicATCommandSet ThecoreprocessorwirelessWiFimodulescanbedrivenviatheserialinterfaceusingthestandardAT commands.HereisalistofsomebasicATcommandsthatcanbeused. NTX Embedded 12 WM171 User Manual Table9 BasicATcommands ATTestATstartup Thetypeofthiscommandis"executed".It'susedtotestthesetupfunctionofyourwirelessWiFi module. NTX Embedded 13 WM171 User Manual AT+RSTRestartmodule Thetypeofthiscommandis"executed".Itsusedtorestartthemodule. AT+GMRViewversioninfo ThisATcommandisusedtochecktheversionofATcommandsandSDKthatyouareusing,thetype ofwhichis"executed". AT+GSLPEnterdeepsleepmode Thiscommandisusedtoinvokethedeepsleepmodeofthemodule,thetypeofwhichis"set".A minoradjustmenthastobemadebeforethemoduleenterthisdeepsleepmode,i.e.,connect XPD_DCDCwithEXT_RSTBvia0R. NTX Embedded 14 WM171 User Manual AT+GSLP=<time>
Response
<time>
OK Parametes The time unit of <time> is ms. The core processor will wake up after deep sleep <time> me. ATEATcommandsecho ThiscommandATEisanATtriggercommandecho.Itmeansthatenteredcommandscanbeechoed backtothesenderwhenATEcommandisused.Twoparametersarepossible.Thecommandreturns
"OK"innormalcasesand"ERROR"whenaparameterotherthan0or1wasspecified. AT+RESTOREFactoryreset Thiscommandisusedtoresetallparameterssavedinflash(accordingtoappendix),restorethe factorydefaultsettingsofthemodule.Thechipwillberestartedwhenthiscommandisexecuted. Detailedinstructiontest,pleaserefertothecoreprocessorATInstructionSet,canbedownloadedtoshunofficial website NTX Embedded 15