没有合适的资源?快使用搜索试试~ 我知道了~
首页nrf52832 SDK 官方开发文档说明
NRF52832 开发接口说明 The S132 SoftDevice is a Bluetooth low energy central and peripheral protocol stack solution. It supports up to twenty connections with an additional observer and a broadcaster role all running concurrently. The S132 SoftDevice integrates a Bluetooth low energy Controller and Host, and provides a full and flexible API for building Bluetooth low energy nRF52 System on Chip (SoC) solutions.
资源详情
资源评论
资源推荐
S132 SoftDevice
SoftDevice Specification
v5.1
4383_110 v5.1 / 2017-12-07
Contents
Revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
1 S132 SoftDevice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Product overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 Application Programming Interface (API). . . . . . . . . . . . . . . . . . 15
4.1 Events - SoftDevice to application . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5 SoftDevice Manager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1 SoftDevice enable and disable . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.3 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.4 Memory isolation and runtime protection . . . . . . . . . . . . . . . . . . . . . . 18
6 System on Chip (SoC) library. . . . . . . . . . . . . . . . . . . . . . . . . 21
7 System on Chip resource requirements. . . . . . . . . . . . . . . . . . . 23
7.1 Hardware peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.2 Application signals – software interrupts (SWI) . . . . . . . . . . . . . . . . . . . . 26
7.3 Programmable peripheral interconnect (PPI) . . . . . . . . . . . . . . . . . . . . . 26
7.4 SVC number ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5 Peripheral runtime protection . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.6 External and miscellaneous requirements . . . . . . . . . . . . . . . . . . . . . . 27
8 Flash memory API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9 Multiprotocol support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.1 Non-concurrent multiprotocol implementation . . . . . . . . . . . . . . . . . . . . 31
9.2 Concurrent multiprotocol implementation using the Radio Timeslot API . . . . . . . . . . 31
9.2.1 Request types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.2.2 Request priorities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.2.3 Timeslot length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.2.4 Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.2.5 High frequency clock configuration . . . . . . . . . . . . . . . . . . . . . . . 32
9.2.6 Performance considerations . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.2.7 Radio Timeslot API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.3 Radio Timeslot API usage scenarios . . . . . . . . . . . . . . . . . . . . . . . . 36
9.3.1 Complete session example . . . . . . . . . . . . . . . . . . . . . . . . . . 36
9.3.2 Blocked timeslot scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
9.3.3 Canceled timeslot scenario . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.3.4 Radio Timeslot extension example . . . . . . . . . . . . . . . . . . . . . . . 39
10 Bluetooth low energy protocol stack. . . . . . . . . . . . . . . . . . . . . 41
10.1 Profile and service support . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4383_110 v5.1
ii
10.2 Bluetooth low energy features . . . . . . . . . . . . . . . . . . . . . . . . . . 43
10.3 Limitations on procedure concurrency . . . . . . . . . . . . . . . . . . . . . . . 48
10.4 Bluetooth low energy role configuration . . . . . . . . . . . . . . . . . . . . . . 48
11 Radio Notification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
11.1 Radio Notification signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
11.2 Radio Notification on connection events as a Central . . . . . . . . . . . . . . . . . 53
11.3 Radio Notification on connection events as a Peripheral . . . . . . . . . . . . . . . 55
11.4 Radio Notification with concurrent peripheral and central connection events . . . . . . . 56
11.5 Radio Notification with Connection Event Length Extension . . . . . . . . . . . . . . 57
11.6 Power Amplifier and Low Noise Amplifier control configuration (PA/LNA) . . . . . . . . . 58
12 Master Boot Record and bootloader. . . . . . . . . . . . . . . . . . . . . 60
12.1 Master Boot Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
12.2 Bootloader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
12.3 Master Boot Record (MBR) and SoftDevice reset procedure . . . . . . . . . . . . . . 61
12.4 Master Boot Record (MBR) and SoftDevice initialization procedure . . . . . . . . . . . 62
13 SoftDevice information structure. . . . . . . . . . . . . . . . . . . . . . . 63
14 SoftDevice memory usage. . . . . . . . . . . . . . . . . . . . . . . . . . 64
14.1 Memory resource map and usage . . . . . . . . . . . . . . . . . . . . . . . . 64
14.1.1 Memory resource requirements . . . . . . . . . . . . . . . . . . . . . . . 65
14.2 Attribute table size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
14.3 Role configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
14.4 Security configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
14.5 Vendor specific UUID counts . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
15 Scheduling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
15.1 SoftDevice timing-activities and priorities . . . . . . . . . . . . . . . . . . . . . 68
15.2 Initiator timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
15.3 Connection timing as a Central . . . . . . . . . . . . . . . . . . . . . . . . . . 71
15.4 Scanner timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
15.5 Advertiser (connectable and non-connectable) timing . . . . . . . . . . . . . . . . 74
15.6 Peripheral connection setup and connection timing . . . . . . . . . . . . . . . . . 74
15.7 Connection timing with Connection Event Length Extension . . . . . . . . . . . . . . 76
15.8 Flash API timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
15.9 Timeslot API timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
15.10 Suggested intervals and windows . . . . . . . . . . . . . . . . . . . . . . . . 77
16 Interrupt model and processor availability. . . . . . . . . . . . . . . . . 80
16.1 Exception model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
16.1.1 Interrupt forwarding to the application . . . . . . . . . . . . . . . . . . . . . 80
16.1.2 Interrupt latency due to System on Chip (SoC) framework . . . . . . . . . . . . . 80
16.2 Interrupt priority levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
16.3 Processor usage patterns and availability . . . . . . . . . . . . . . . . . . . . . . 83
16.3.1 Flash API processor usage patterns . . . . . . . . . . . . . . . . . . . . . . 83
16.3.2 Radio Timeslot API processor usage patterns . . . . . . . . . . . . . . . . . . 84
16.3.3 Bluetooth low energy processor usage patterns . . . . . . . . . . . . . . . . . 85
16.3.4 Interrupt latency when using multiple modules and roles . . . . . . . . . . . . . 91
4383_110 v5.1
iii
17 Bluetooth low energy data throughput. . . . . . . . . . . . . . . . . . . 92
18 Bluetooth low energy power profiles. . . . . . . . . . . . . . . . . . . . 96
18.1 Advertising event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
18.2 Peripheral connection event . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
18.3 Scanning event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
18.4 Central connection event . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
19 SoftDevice identification and revision scheme. . . . . . . . . . . . . . . 101
19.1 MBR distribution and revision scheme . . . . . . . . . . . . . . . . . . . . . . 102
Legal notices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
4383_110 v5.1
iv
Revision history
Date Version Description
December 2017 5.1 Updated for SoftDevice S132 version 5.1.0. Some additional
corrections.
Updated:
• Table 5: Allocation of software interrupt vectors to
SoftDevice signals on page 26. Two of the SWI
priorities were changed in the S132 5.0.0 SoftDevice, but
were not updated accordingly in the S132 SDS v5.0. S132
SDS v5.1 has the correct interrupt priorities for both the
S132 5.1.0 and 5.0.0 SoftDevices.
• SoftDevice memory usage on page 64: Reduced
SoftDevice RAM requirements.
• Interrupt latency for open peripheral interrupt in Table 33:
Additional latency due to SoftDevice and MBR forwarding
interrupts on page 81
• Removed references to the Bandwidth Configuration API.
This was removed from the SoftDevice in version 4.0.0.
• Table 3: Hardware access type definitions on page 23,
Table 4: Peripheral protection and usage by SoftDevice on
page 23
June 2017 5.0 Updated for SoftDevice S132 version 5.0.0. The changes
are mostly related to the added support for Bluetooth
®
5.0
features.
Added:
• Table 21: Logical Link Control and Adaptation Layer
Protocol (L2CAP) features in the Bluetooth low energy
stack on page 46
Updated:
• Table 22: Controller, Link Layer (LL) features in the
Bluetooth low energy stack on page 47
• Suggested intervals and windows on page 77
• Table 40: Maximum data throughput with a single
peripheral or central connection and a connection interval
of 7.5 ms on page 92
• Table 41: Maximum data throughput with a single
peripheral or central connection with the event length
equal to the connection interval on page 94
• Bluetooth low energy power profiles on page 96
May 2017 4.1 Updated for SoftDevice S132 version 4.0.3
Updated:
• Table 5: Allocation of software interrupt vectors to
SoftDevice signals on page 26
4383_110 v5.1
v
剩余102页未读,继续阅读
chen431206148
- 粉丝: 0
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0