Transcription of XTend vB RF Module User Guide - Digi International
1 XTendvBRadioFrequency(RF)ModuleUserGuide Revisionhistory ,DigiInternational, asis, withoutwarrantyofanykind,expressedorimpl ied,including,butnotlimitedto, (s)and/ortheprogram(s) , :BeforecontactingDigitechnicalsupportfor help,gatherthefollowinginformation: Productnameandmodel Productserialnumber(s) Firmwareversion Operatingsystem/browser(ifapplicable) Logs(fromtimeofreportedissue) Trace(ifpossible) DescriptionofissueXTendvBRFM oduleUserGuide2 -0x0183 Description83 Format83 Examples84 TransmitStatus-0x8985 Description85 Deliverystatuscodes86 Examples8616-bitReceivePacket-0x8188 Description88 Format88 Examples89 RegulatoryinformationFCC(UnitedStates)91 OEMlabelingrequirements91 FCCnotices91 RFexposurestatement92 XTendvBRFM oduleantennaoptions93 FCCpublication996369relatedinformation98 ISED(Innovation,ScienceandEconomicDevelo pmentCanada)100 Labelingrequirements100 Transmittersfordetachableantennas100 Detachableantennas100 ACMA(Australia)
2 101 Powerrequirements101 NetworkconfigurationsNetworktopologies10 3 Point-to-pointnetworks103 Point-to-multipointnetworks103 Peertopeernetworks104 Addressing105 Addressrecognition106 Basiccommunications106 Streamingmode(default)106 Multi-transmitmode107 Repeatermode108 Pollingmode(basic)112 Acknowledgedcommunications:Acknowledgedm ode113 Acknowledgedmodeconnectionsequence113 XTendvBRFM oduleUserGuide8 Pollingmode(acknowledged)114 DevelopmentKitDevelopmentKitcontents117 Interfacehardware117 XTIB-RRS-232/485 InterfaceBoard118 Configurationswitch118I/OandPowerLEDs119 Serialport119 RSSILEDs119 Powerconnector119 XTIB-RDIP switch119 Adapters121 NULLM odemAdapter(male-to-male)121 NULLM odemAdapter(female-to-female)122 SerialLoopbackAdapter122 MaleDB-9toRJ-45 Adapter123 FemaleDB-9toRJ-45 Adapter123 Interfaceprotocols123RS-232operation124R S-485(2-wire)operation126RS-485(4-wire)a ndRS-422operation128 XTendvBRFM oduleUserGuideTheXTendvBRFM odulewasengineeredtoprovidecustomerswith aneasy-to-useradiofrequency(RF) ,operateswithintheISM900 MHzfrequencybandandofferstwoRFdatarateso f10kb/sand125 :n2xxxItsupportsthefollowinghardware:nAs thenamesuggests, , (Industrial,ScientificandMedical) ' !
3 Whenoperatingat1 Wpoweroutput,observeaminimumseparationdi stanceof6ft(2m) ' (RF/pinconnectorsnotincluded) ( )Weight16gRoHSCompliantManufacturingISO9 001:2000registeredstandardsConnector20pi n2mmpitchheaderAntennaconnectoroptionsMM CXorRPSMAA ntennaimpedance50 unbalancedOperatingtemperature-40 Cto85 ,orientationoftransmitterandreceiver,hei ghtoftransmittingantenna,heightofreceivi ngantenna,weatherconditions,interference sourcesinthearea,andterrainbetweenreceiv erandtransmitter,includingindoorandoutdo orstructuressuchaswalls,trees,buildings, hills, (softwareselectable)10kb/sto125kb/sUS/Ca nada10kb/sto105kb/sAustraliaTransmitpowe r(softwareselectable)Upto30dBm(seePowerr equirements)Channels10hoppingsequencessh are50frequenciesOutdoorlineofsight10kb/s Upto40miles1125 ,000feet(300m)125kb/sUpto500feet(150m)Re ceiversensitivity10kb/s-110dBm125kb/s-10 0dBmUART (FHSS)SupportedNetworkTopologies(softwar eselectable)Peer-to-peer(master/slaverel ationshipnotrequired)
4 ,point-to- ,25 ,5 VtypicalReceivecurrent@5V35mATransmitcur rentSeethefollowingtableShutdownmodecurr ent1 ASleepcurrent<147 ATechnicalspecificationsRegulatoryconfor mitysummaryXTendvBRFM oduleUserGuide14 Cyclicsleepcurrent(mA,average)SleepmodeC ycletimeRFdatarateCyclicsleepcurrent(mA, average)SM=816secondsBR= (5V,typical)260mA470mA710mATransmitcurre nt( ,typical)340mA615 :MCQ-XBPSXC anadaContainsIC:1846A-XBPSXA ustraliaRCMH ardwareConnectthehardware16 Mechanicaldrawings17 Pinsignals17 DCcharacteristics(Vcc= ) ,RPSMA(female)2 XTendvBmodule, ,leavealllinesthatyoudonotusedisconnecte d(floating).PinnumberNameI/OHighimpedanc eduringshutdownMustconnectFunction1 GND--yesGroundHardwarePinsignalsXTendvBR FM oduleUserGuide18 PinnumberNameI/OHighimpedanceduringshutd ownMustconnectFunction2 VCCI- / RXLEDO-yesGPO2 (CD=2) :PinisdrivenhighduringRFdatareception;ot herwise, ,seeCD(GP02 Configuration).
5 4TX_PWROyes-Transmit_Power:Pinpulseslowd uringRFtransmission;otherwise, :Serialdataenteringthedevice(fromtheUART host).Formoreinformation, :Serialdataexitingthemodule(totheUART host).Formoreinformation, :Bydefault, ,refertoSleepmodes,SM(SleepMode)andPW(Pi nWakeup).HardwarePinsignalsXTendvBRFM oduleUserGuide19 PinnumberNameI/OHighimpedanceduringshutd ownMustconnectFunction9 GPO1/CTS/RS-485TX_ENOyes-GPO1 (Clear-to-Send) , ,seeandCS(GP01 Configuration).RS-485 ,seeandCS(GP01 Configuration).10 RTS/CMDIyes-RTS(Request-to-Send) ,seeandRT(GPI1 Configuration).11 CONFIG / RSSII1no- :Bydefault, ,seeRP(RSSIPWMT imer).12-20 Reserved/donotconnect1 TheRFmodulehasa10k (Vcc= )XTendvBRFM oduleUserGuide20 DCcharacteristics(Vcc= )OutputsPinnumberPinnameVOHminimum(IOH=- 6mA)VOLmaximum(IOL=6mA)3 GPO2 / RXLEDVCC ,2 * * * * * * * ,4 CONFIG/RSSIVCC* * :nTransmitmode(Serialdataintheserialrece ivebufferisreadytobepacketized)nSleepmod enCommandMode(Commandmodesequenceisissue d) , , operatingmodeinclude:nItiseasiertosendin formationtomultipledestinationsnThehostr eceivesthesourceaddressforeachreceivedda taframenYoucanchangeparameterswithoutent eringCommandmodenYoucanqueryorsetaconfig urationparameterwhileapendingcommand forexampleND , , , "AT" , :nSamplesignalstrengthand/orerrorcounts; ,seeEnterBinaryCommandmodeandDB(Received SignalStrength).
6 ModesAdditionalmodesXTendvBRFM oduleUserGuide23 IdlemodeWhennotreceivingortransmittingda ta, , , , :nPinSleep:thehostcontrolsthisnSerialPor tSleep:wakeswhenitdetectsserialportactiv itynCyclicSleep:wakeswhenitdetectsRFacti vityFormoreinformation, (pin7)low, (transmitorreceive) , , ,theapplicationmustobserveadelaytimeof< ,thedevicesetsthefollowingpinstohighimpe dance:DCD,TX_PWR,RXLED, :RTS, ,iftheXTendvBRFM oduleisconnectedtoaprocessor, , ,youmustissueauniquestringoftextinaspeci alway:+++(default).Whenthedeviceseesaful lsecondofsilenceinthedatastreamfollowedb ythestring+++(withoutEnterorReturn)andan otherfullsecondofsilence, +++ (DINheldlow)signalissentforoverfivesecon ds,thedeviceresets,anditbootsintoCommand modewithdefaultbaudsettings(9600baud). , (CommandSequenceCharacter),BT(GuardTimeB efore)andAT(GuardTimeAfter).SendATcomman dsOncethedeviceentersCommandmode, ,whichstandsfor"attention.
7 "TheATisfollowedbytwocharactersthatindic atewhichcommandisbeingissued, sregister, ;forexample,ATSH, , , 10 , (ExitCommandMode) CT(CommandModeTimeout), 10 , , ;seeRT(GPI1 Configuration). (pin) , , , :nWhataretheimplicationsofassertingCMDwh ilethedeviceissendingorreceivinglivedata ?YoumustasserttheCMDpin(pin10) , , , ,isthereaminimumtimedelaybeforeyoucanass ertCMD?nIsatimedelayrequiredafterCMDisde -assertedbeforepayloaddatacanbesent?Theh ostmustobserveaminimumtimedelayof100 , , :tosetPLto3,sendthefollowingdata:0x3A0x0 30x00(BinaryCommand,LSB,MSB).nHowdoIdisc ernbetweenlivedataanddatareceivedinrespo nsetoacommand?Toquerycommandparametersus ingBinaryCommandmode, (bit-wise) (ifmultiplebytesarereturned).Example:toq ueryHPinBinaryCommandmode,insteadofsetti ngit,send0x11(HPbinarycommand) ; (theRTparametervalueisnot1), , ,SMmusthaveanon-zeroparametervalue, (nodatatransmissionorreception) (pin10).
8 , (setting)TransitionintoSleepmodeTransiti onoutofSleepmode(wake)RelatedcommandsPow erconsumptionPinSleep(SM=1)Assert(high) (low)SLEEPpinSM<147 AModesSleepmodesXTendvBRFM oduleUserGuide27 Sleepmode(setting)TransitionintoSleepmodeTransitionoutofSleepmode(wake)RelatedcommandsPowerconsumptionSerialPortSleep(SM=2)AutomatictransitiontoSleepModeoccursafterauser-definedperiodofinactivity(notransmittingorreceivingofdata). (SM), (SM=4-8)ThedevicetransitionsinandoutofSleepModeincycles(yousetthesleepintervaloftimeusingtheSMcommand). (SM),ST,HT,LH,PWSeePowerrequirementsTheSM(SleepMode) ,SleepModesaredisabled(SM=0) , , (SM=1)AfterenablingPinSleep, , , ; ,thedevicede-asserts(high)CTS(pin9), (low)theTX_PWRline(pin4) (pin9) (SM=2) , (SM=4-8) , , ,itde-asserts(high)CTS(pin9) , (low)theTX_PWR(pin4) (SMparameters4through8).Afterthisintervaloftime, , , , ,youmustsendthePW(PinWake-up) , , (SleepMode)commandmustbeshorterthantheintervaltimedefinedbyLH(Wake-upInitializerTimer) (LH>SM)Inthefollowingfigure, (WakeupInitializerTimer)isonlyenabledift heHT(TimebeforeWake-upInitializer) (TimebeforeSleep)suchthatoncetheXTendvBR FM odulehasreceivedtheWakeupInitializer, (LH<SM) (andthereforealsotheaccompanyingpayloadd ata).
9 OperationWARNING!Whenoperatingat1 Wpoweroutput,observeaminimumseparationdi stanceof6ft(2m) ' ,theXTendvBRFM odulecancommunicatewithanyUART voltagecompatibledeviceorthroughaleveltr anslatortoanyserialdevice,forexample:RS- 232/485 ' , ,youmustconfiguretheUART ofbothdevices(themicrocontrollerandtheXT endvBRFM odule)withcompatiblesettingsforthebaudra te,parity,startbits,stopbits, (low),8databits(leastsignificantbitfirst )andastopbit(high). (decimalnumber31) , (CTS) (XON) ,thenCTS (DIN)bufferandflowcontrolWhenserialdatae ntersthedevicethroughtheDINpin(pin5), , ,itstorestheserialdatainthedevice' ;seeRO(PacketizationTimeout). ,youmustimplementhardwareorsoftwareflowc ontrolinordertopreventoverflow(lossofdat abetweenthehostandthedevice). (PKparameter)andtheparitysetting(NBparam eter) (BDparameter)thantheRFdatarateofthefirmw are(BRparameter) , , ,itplacesanyserialdatathatarrivesontheDI Npin(pin5) (CTS) ,thefirmwarede-assertsCTS(high)tosignalt hehosttostopsendingdata;refertoFT(FlowCo ntrolThreshold)andCS(GP01 Configuration).
10 (RTS)IfyouenableRTSforflowcontrol(RTpara meter=2),thedevicewillnotsenddataouttheD OUT bufferaslongastheRTSpin(pin10) (XON/OFF) (DO)bufferandflowcontrolWhenadevicerecei vesRFdata, , , , (RTS)IfyouenableRTSforflowcontrol(RT=2), datawillnotbesentouttheDOBufferaslongasR TS(pin16) (XOFF)YoucanenableXON/XOFF softwareflowcontrolusingFL(SoftwareFlowC ontrol). (XCTU)isamulti-platformprogramthatenable suserstointeractwithDigiradiofrequency(R F) ,configure, , , , ,referto:nSendATcommandsnExitCommandmode Formoreinformation, + # , , ,theBDparameter=9600 ' , ,inthiscaseDT(DestinationAddress), ,changeitsvalue, , ; , ' , ' 'sSerialConsoletooltochangethedevice'sDT (DestinationAddress) ; (parameterbytesmustbe2byteslong).Thenext fourlinesareexamples,notrequiredvalues:0 0(SendbinarycommandDT)0D(Leastsignifican tbyteofparameterbytes)1A(Mostsignificant byteofparameterbytes)08(Sendbinarycomman dWR) ,CTS(pin9)de-asserts(drivenlow) ,soifyouareusingXCTU, , :useXCTU'sSerialConsoletooltoquerythedev ice'sDT(DestinationAddress)andDB(Receive dSignalstrength).