EasyManuals Logo

Texas Instruments CC2541 Software Developers Guide

Texas Instruments CC2541
162 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #70 background imageLoading...
Page #70 background image
Software Considerations
www.ti.com
70
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
Creating a Custom Bluetooth Low Energy Application
The following is an example of this allocation in the gattServApp_SendNotiInd() function in
gattservapp_util.c:
7.7.2 Limit Application Processing During Bluetooth Low Energy Activity
Because of the time-dependent nature of the Bluetooth Low Energy protocol, the controller
(LL_ProcessEvent()) must process before each connection event or advertising event. If the controller
does not get process, advertising restarts or the connection drops. Because OSAL is not multithreaded,
each task must stop processing to let the controller process. The stack layers do not have this issue.
Ensure that the application processes less than the following:
(connection/advertising interval) 2 ms
The 2 ms are added as buffer to account for controller processing time. If extensive processing is required
in the application task, split it up using OSAL events in Section 3.3.
7.7.3 Global Interrupts
During Bluetooth Low Energy activity, the controller must process radio and MAC timer interrupts quickly
to set up the Bluetooth Low Energy event postprocessing. Never globally disable interrupts during
Bluetooth Low Energy activity.

Table of Contents

Other manuals for Texas Instruments CC2541

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2541 and is the answer not in the manual?

Texas Instruments CC2541 Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2541
CategoryMicrocontrollers
LanguageEnglish

Related product manuals