没有合适的资源?快使用搜索试试~ 我知道了~
首页nrf52832蓝牙协议栈S132_SDS_v6.0
nrf52832蓝牙协议栈S132_SDS_v6.0
需积分: 37 697 浏览量
更新于2023-05-29
评论
收藏 1.82MB PDF 举报
运动手环常用的主控IC的nrf52832蓝牙协议栈S132_SDS_v6.0,
资源详情
资源评论
资源推荐

S132 SoftDevice
SoftDevice Specification
v6.0
4383_110 v6.0 / 2018-03-20

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) . . . . . . . . . . . . . . . . . . . . 25
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 v6.0
ii

10.2 Bluetooth low energy features . . . . . . . . . . . . . . . . . . . . . . . . . . 43
10.3 Limitations on procedure concurrency . . . . . . . . . . . . . . . . . . . . . . . 48
10.4 Bluetooth low energy role configuration . . . . . . . . . . . . . . . . . . . . . . 49
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
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 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
15.9 Timeslot API timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
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 v6.0
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 v6.0
iv

Revision history
Date Version Description
March 2018 6.0 Updated for SoftDevice S132 version 6.0.0. Some additional
corrections.
Added:
• Application control of MTU size, packet length, and PHY in
Table 16: API features in the Bluetooth low energy stack on
page 44
• Quality of Service and Channel map for Observer role in
Table 23: Proprietary features in the Bluetooth low energy
stack on page 48
Updated:
• List of key features in S132 SoftDevice on page 10.
• Profile and service support on page 41. Updated
the list of profiles and services currently adopted by the
Bluetooth Special Interest Group.
• Table 22: LL features in the Bluetooth low energy stack on
page 47.
• Table 23: Proprietary features in the Bluetooth low energy
stack on page 48.
• Bluetooth low energy role configuration on page 49.
• SoftDevice information structure on page 63
• SoftDevice memory usage on page 64: The flash
memory and minimum RAM requirements of the
SoftDevice are no longer provided in this document. See
the release notes for this information.
• SoftDevice timing-activities and priorities on page 68.
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 32:
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.
4383_110 v6.0
v
剩余102页未读,继续阅读

















mzyes
- 粉丝: 1
- 资源: 4
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
最新资源
- ARM Cortex-A(armV7)编程手册V4.0.pdf
- ABB机器人保养总结解析.ppt
- 【超详细图解】菜鸡如何理解双向链表的python代码实现
- 常用网络命令的使用 ipconfig ping ARP FTP Netstat Route Tftp Tracert Telnet nslookup
- 基于单片机控制的DC-DC变换电路
- RS-232接口电路的ESD保护.pdf
- linux下用time(NULL)函数和localtime()获取当前时间的方法
- Openstack用户使用手册.docx
- KUKA KR 30 hA,KR 60 hA机器人产品手册.pdf
- Java programming with JNI
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0