CC430 RF Examples
- 格式:pdf
- 大小:94.68 KB
- 文档页数:11
ApplicationReportSLAA465–August2010
CC430RFExamplesMiguelMoralesandDungDangABSTRACTThisapplicationreportdescribesthelibrarycomponentsandimplementationoftheRFcodeexamplesfortheCC430F613x/F513xsub-1GHzsystem-on-chip(SoC)devices.Theexamplesincludesupportforpacket-handlingmodes,includingvariableandfixedlengthfiltering,aswellastheasynchronousandsynchronousmodesofcommunication.ThedocumentalsoexplainsthekeyRFconfigurationregistersettingstoenableeachmode.
ProjectcollateralandsourcecodediscussedinthisapplicationreportcanbedownloadedfromthefollowingURL:http://www-s.ti.com/sc/techlit/slaa465.zip.
Table1.AbbreviationsAcronymDefinitionCCRCaptureCompareRegisterCRCChecksumFIFOFirst-InFirst-OutLQILinkQualityIndexRSSIReceivedSignalStrengthIndicatorRXReceiveTXTransmit
Contents1CC430ModesofCommunication.........................................................................................22Packet-HandlingMode.....................................................................................................23(A)synchronousMode(s)...................................................................................................64CodeOrganization..........................................................................................................95References.................................................................................................................10
ListofFigures1TypicalPacketFormat......................................................................................................22ProgramFlowforRFTX/RXWithPacketLengthLessThanFIFO..................................................33StatusByteContents.......................................................................................................44ProgramFlowforRFTX/RXWithPacketLengthGreaterThanFIFO..............................................55AsynchronousModeTXWithTimerACCRxInternalConnections..................................................76AsynchronousModeRXWithTimerACCRxInternalConnections..................................................77SynchronousModeTXWithTimerACCRxConnections.............................................................88SynchronousModeRXWithTimerACCRxConnections.............................................................9
ListofTables1Abbreviations................................................................................................................12ReceivedPacketStatusByte1Descriptions............................................................................33ReceivedPacketStatusByte2(SecondByteAppendedAfterData)Descriptions...............................34PKTCTRL0–PacketAutomationControl...............................................................................45PKTCTRL0–PacketAutomationControl...............................................................................5
1SLAA465–August2010CC430RFExamples
Copyright©2010,TexasInstrumentsIncorporatedOptional Data WhiteningOptional CRC-16CalculationLegend:
InsertedAutomatically in TX,Processed and Removed in RX.
Optional User-Provided Fields Processedin TX, Processed but not Removed in RX.
Unprocessed User Data(Apart From Whitening)
Data FieldCRC
-
16
Address F
i
eld
Length Field
Sync Word
Preamble
Bits(1010...1010)
8 x nBits16/32Bits8Bits8Bits8 x nBits16Bits
CC430ModesofCommunicationwww.ti.com
6TA1SignalConnections...................................................................................................67PKTCTRL0–PacketAutomationControl...............................................................................88IOCFG0–GDOxSignalSelection(x=0,1,or2)......................................................................89PKTCTRL0–PacketAutomationControl...............................................................................910IOCFG0–GDOxSignalSelection(x=0,1,or2)......................................................................911IOCFG2–GDOxSignalSelection(x=0,1,or2)......................................................................9
1CC430ModesofCommunicationThereareessentiallytwodifferentmethodstotransmitandreceivepacketsontheCC430:packetized-andnon-packetizedmodes.Thedifferenceisbasicallywhetherthedataisreceivedortransmittedthroughanon-chip64-byteFIFOorprovideddirectlytotheradioineitherasynchronousoranasynchronousbit-stream.Thefollowingcodeexamplesaredescribedindetailinthisapplicationreport:
Packet-HandlingMode•Packetsize>FIFOsize(variableandfixed-lengthfiltering)•Packetsize