Example: marketing

CC26x0 SimpleLink™ Bluetooth low energy Software Stack 2.2

CC26x0 SimpleLink Bluetooth low 's GuideLiteratureNumber:SWRU393 EOctober2010 RevisedMarch20182 SWRU393E October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, Bluetoothlow (RadioCore).. (SystemCore).. the for October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, (RAM).. RAMand FlashBoundaryUsingthe main().. the Bluetoothlow (GAP).. (GATT).. ReceiveAdditionalGATTE ventsin the LE Controland AdaptationLayerProtocol(L2 CAP).. (MTU).. October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, (CoC) Commandsand and HCI Vendor-SpecificCommandsin the HCI Commandsand the ActiveBluetoothlow Breakpointsand BIOSfor Stateof ICallHeapManager( ).

CC26x0 SimpleLink™ Bluetooth® low energy Software Stack 2.2.x Developer's Guide Literature Number: SWRU393E October 2010–Revised March 2018

Tags:

  Energy, Bluetooth, Low energy, Bluetooth low energy

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of CC26x0 SimpleLink™ Bluetooth low energy Software Stack 2.2

1 CC26x0 SimpleLink Bluetooth low 's GuideLiteratureNumber:SWRU393 EOctober2010 RevisedMarch20182 SWRU393E October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, Bluetoothlow (RadioCore).. (SystemCore).. the for October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, (RAM).. RAMand FlashBoundaryUsingthe main().. the Bluetoothlow (GAP).. (GATT).. ReceiveAdditionalGATTE ventsin the LE Controland AdaptationLayerProtocol(L2 CAP).. (MTU).. October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, (CoC) Commandsand and HCI Vendor-SpecificCommandsin the HCI Commandsand the ActiveBluetoothlow Breakpointsand BIOSfor Stateof ICallHeapManager( ).

2 October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, ROVto the Assertsin the CustomBluetoothlow ,Semaphores,and Cadence(CSC) Cadence(RSC) October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, Bluetoothlow (pfnStateChange).. (eventCB)..198 DGATTand CorrespondingATT (passcodeCB).. October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, (pairStateCB).. October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedList of FiguresList of ().. ().. and Set October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedList of GAPBondMgrand the DataExchangeBetweena Masterand SlaveDeviceUsinga L2 CAPC onnection-OrientedChannelin LE SystemStackin IAR October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedList of TablesList of October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedSimpleL ink,CodeComposerStudio,SmartRFare trademarksof.

3 Cortexare registeredtrademarksof a trademarkof a registeredtrademarkof is a registeredtrademarkof a trademarkof a trademarkof is a registeredtrademarkof Intel is a registeredtrademarkof a registeredtrademarkof a registeredtrademarkof October2010 RevisedMarch2018 ReferencesReferto the BLE-Stackreleasenotesfor the specificTI-RTOS componentversionassociatedwith Bluetoothlow energyVendor-SpecificHCI ,C:\ti\simplelink\ble_sdk_2_02_xx_xxxxx\ CC26x0 TechnicalReferenceManual, (SWCU117) EnergyPowerConsumptionApplicationReport, (SWRA478) ,C:\TI\tirtos_cc13xx_cc26xx_x_xx_xx_xx\d ocs\ ,C:\TI\tirtos_cc13xx_cc26xx_x_xx_xx_xx\d ocs\ 'sGuide, C:\TI\tirtos_cc13xx_cc26xx_x_xx_xx_xx\do cs\ 'sGuide, C:\ti\tirtos_cc13xx_cc26xx_x_xx_xx_xx\pr oducts\bios_<asinstalled>\docs\ CC26xx,C:\TI\tirtos_cc13xx_cc26xx_x_xx_x x_xx\docs\ SYS/BIOSAPI Guide, C:\TI\tirtos_cc13xx_cc26xx_x_xx_xx_xx\pr oducts\bios_<asinstalled>\docs\ , C:\ti\tirtos_cc13xx_cc26xx_x_xx_xx_xx\pr oducts\cc26xxware_<asinstalled>\doc\ , Reference,C:\TI\tirtos_cc13xx_cc26xx_x_x x_xx_xx\products\tidrivers_cc13xx_cc26xx _<asinstalled>\docs\doxygen\html\ Guide, C.

4 \ti\simplelink\ble_sdk_2_02_xx_xxxxx\sap _<asinstalled>\docs\CC2640 SimpleNetworkProcesserAPI 'sGuide, downloadfromthe BluetoothSpecialInterestGroup(SIG) the BluetoothSystem,CoveredCorePackage, (02-Dec-2014), ServiceSpecifications, Bluetoothlow energyWiki, energyStackDownload, October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, E2E SupportForum, DesignsReferenceLibrary, SimpleLinkGitHubCodeExamples: October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedOvervie wChapter1 SWRU393E October2010 RevisedMarch2018 OverviewThepurposeof this documentis to givean overviewof the TI SimpleLink Bluetooth low energyCC26x0wirelessMCUsoftwaredevelopme ntkit to begincreatinga Bluetoothlow energy (BLE) Bluetoothlow not use thisdocumentas a substitutefor the moredetails,see the Specificationof the BluetoothSystemor someintroductorymaterialat the TI Bluetoothlow of the Bluetoothspecificationallowsfor two systemsof wirelesstechnology:BasicRate(BR.)

5 BR/EDRfor BasicRate/EnhancedDataRate)and Bluetoothlow Bluetoothlow energysystemwas createdto transmitsmallpacketsof data,whileconsumingsignificantlyless TI Bluetoothlow energyprotocolstack(BLE- Stack ) of the specification: LE SecureConnections LE DataLengthextension LE stackalso supportsthe features: LE L2 CAPC onnection-OrientedChannelSupport LE Link LayerTopology LE Ping SlaveFeatureExchange ConnectionParameterRequestThesefeaturesa re optionalin the specification,and can be selectivelyenabledat October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018, energyProtocolStackBasicsFigure1-1 showsthe Bluetoothlow Bluetoothlow energyProtocolStackThe Bluetoothlow energyprotocolstack(or protocolstack)

6 Consistsof the controllerand the controllerand host derivesfromthe implementationof classicBluetoothBR/EDRdevices,wherethe two sectionsare profilesand applicationssit on top of the GAPand GATT layersof the physicallayer(PHY)is a 1-Mbpsadaptivefrequency-hoppingGFSK(Gaus sianfrequency-shiftkeying)radiooperating in the (industrial,scientific,and medical) link layer(LL) controlsthe RF stateof the device,with the devicein one of five states: Standby Advertising Scanning Initiating ConnectedAdvertiserstransmitdatawithoutc onnecting,whilescannersscanfor initiatoris a devicethat respondsto an advertiserwith a requestto the advertiseracceptsthe connectionrequest,boththe advertiserand initiatorentera deviceis connected,it connectsas eithermasteror deviceinitiatingthe connectionbecomesthe masterand the deviceacceptingtherequestbecomesthe host controlinterface(HCI)

7 Layerprovidescommunicationbetweenthe host and layercan be implementedeitherthrougha softwareAPI or by a hardwareinterfacesuchas UART,SPI, or commandsand eventsare specifiedin theSpecificationof the BluetoothSystem. TI's proprietarycommandsand eventsare specifiedin TI Bluetoothlow energyVendor-SpecificHCI link logicalcontroland adaptionprotocol(L2 CAP)layerprovidesdataencapsulationservic esto theupperlayers,allowingfor logicalend-to-endcommunicationof securitymanager(SM)layerdefinesthe methodsfor pairingand key distribution,and providesfunctionsfor the otherlayersof theprotocolstackto securelyconnectand exchangedatawith moreinformationon TI's implementationof the SM genericaccessprotocol(GAP)

8 Layerdirectlyinterfaceswith the applicationand/orprofiles,to handledevicediscoveryand connection-relatedservicesfor the initiationof for moreinformationon TI'simplementationof the energyProtocolStackBasics15 SWRU393E October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedOvervie wThe attributeprotocol(ATT)layerprotocolallow sa deviceto exposecertainpiecesof dataorattributes, genericattributeprotocol(GATT)layeris a serviceframeworkthat definesthe sub-proceduresfor occurbetweentwo devicesin a Bluetoothlowenergyconnectionare applicationand/orprofileswill directlyuse for moreinformationon TI's implementationof the ATT and October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedTI Bluetoothlow energySoftwareDevelopmentPlatformChapter 2 SWRU393E October2010 RevisedMarch2018TI Bluetoothlow energySoftwareDevelopmentPlatformThe TI royalty-freeBluetoothlow energysoftwaredevelopmentkit (SDK)

9 Is a completesoftwareplatformfor developingsingle-modeBluetoothlow is basedon the SimpleLinkCC2640,completeSystem-on-Chip( SoC)Bluetoothlow CC2640combinesa transceiver,128-KBin-systemprogrammablem emory,20 KBof SRAM,and a full deviceis centeredon an ARM Cortex -M3 seriesprocessorthat handlesthe applicationlayerand Bluetoothlow energyprotocolstackand an autonomousradiocorecenteredon an ARMC ortex -M0processorthat handlesall the low-levelradiocontroland processingassociatedwiththephysicallayer and partsof the link sensorcontrollerblockprovidesadditionalf lexibilitybyallowingautonomousdataacquis itionandcontrolindependentof the Cortex-M3processor,furtherextendingthe low-powercapabilitiesof the showsthe moreinformationon the CC2640.

10 See the CC26xxTechnicalReferenceManual(TRM).NOTE :This kit supportsdevelopmentof Bluetoothlow energyapplicationson the followingSimpleLinkCC26x0wirelessMCUs:CC 2640and multi-standardCC2650wirelessMCUsupportsB luetoothlow energyas well as otherwirelessprotocols,suchasZigBee and CC2640supportsBluetoothlow codegeneratedfromthe binarycompatibleand exchangeablewith boththe CC2650and CC2640wirelessMCUsin the document,CC2640and CC2650may be SoftwareArchitectureOverview17 SWRU393E October2010 RevisedMarch2018 SubmitDocumentationFeedbackCopyright 2010 2018,TexasInstrumentsIncorporatedTI Bluetoothlow energySoftwareDevelopmentPlatformFigure2 -1. SoftwareArchitectureOverviewThis sectionaimsto introducethe differentcoreswithinthe CC2640,how they interact,and the firmwarethat runson informationpresentedhereshouldbe consideredas an detaileddescriptionsof the hardwaredescribedhere,referto the chapter23 of theCC26x0 TechnicalReferenceManual(TRM)(SWCU117).