Skip to content

Commit 0e98fd1

Browse files
committed
nrf_802154: doc: Update mpsl documentation
Add information about switching multiprotocol timings Signed-off-by: Dawid Przybylo <[email protected]>
1 parent fcd90f9 commit 0e98fd1

File tree

2 files changed

+154
-0
lines changed

2 files changed

+154
-0
lines changed

nrf_802154/doc/multiprotocol_support.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ Because of the nature of the Bluetooth Low Energy protocol (TDMA), the Bluetooth
7777

7878
.. _rd_multiprotocol_support_hf_clock:
7979

80+
.. include:: multiprotocol_switching_tables.rst
81+
8082
Handling high-frequency clock
8183
*****************************
8284

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
Protocol and Radio Transition Measurements
2+
------------------------------------------
3+
4+
The system measures two distinct timing metrics during protocol transitions:
5+
6+
15.4 to BLE Transitions:
7+
Radio Switching Time:
8+
- Start: RX_EN (LNA) pin deactivation (15.4 radio turning off on the end of 15.4 activity)
9+
- End: READY pin activation for BLE operation (ble radio turned on and ready)
10+
- Measures how quickly the radio hardware switches modes
11+
12+
Protocol Switching Time:
13+
- Start: First PDN event marking the end of 15.4 activity
14+
- End: Second PDN event marking the start of BLE activity
15+
- Captures the full protocol stack transition overhead
16+
17+
BLE to 15.4 Transitions:
18+
Radio Switching Time:
19+
- Start: DISABLED pin event (BLE radio turning off)
20+
- End: READY pin activation for 15.4 operation (15.4 radio turned on and ready)
21+
- Measures how quickly the radio hardware switches modes
22+
23+
Protocol Switching Time:
24+
- Start: PDN event at the end of BLE activity
25+
- End: PDN event at the start of 15.4 activity
26+
- Captures the full protocol stack transition overhead
27+
28+
The measurements are collected during BLE advertisement, scanning, and connection activities.
29+
30+
Described measurement uses the nRF21540 Front-End Module (Eagle) to precisely track radio state transitions
31+
through its control pins. Here's what this specific event means:
32+
33+
The nRF21540 (Eagle) is a power amplifier and low-noise amplifier module that enhances RF performance. In this
34+
test setup, it's connected to the Nordic SoC and provides critical timing information through its control pins.
35+
36+
The RX_EN pin specifically controls the Low-Noise Amplifier (LNA) function of the Eagle:
37+
- When RX_EN is high (activated): The LNA is enabled, amplifying incoming RF signals during receive
38+
operations
39+
- When RX_EN is low (deactivated): The LNA is disabled, indicating receive operations are stopping or radio
40+
is deactivated on the end of time slot.
41+
42+
The PDN signal provides key information about when the module fully powers down or powers up during protocol
43+
transitions.
44+
45+
46+
Disclaimer
47+
----------
48+
.. note:: All information and tables below are strictly informational, do not represent requirements, and were measured using Nordic DK development kits.
49+
50+
51+
52+
Multiprotocol switching time comparison by device family
53+
--------------------------------------------------------
54+
55+
56+
Protocol Switching Time
57+
^^^^^^^^^^^^^^^^^^^^^^^
58+
+-------------------+-----------+-----------------+-----------------+-----------------+
59+
| BLE activity name | Direction | NRF52 mean [us] | NRF53 mean [us] | NR54L mean [us] |
60+
+===================+===========+=================+=================+=================+
61+
| advertisement | 15.4→BLE | 257 | 261 | 205 |
62+
+-------------------+-----------+-----------------+-----------------+-----------------+
63+
| advertisement | BLE→15.4 | 152 | 181 | 80 |
64+
+-------------------+-----------+-----------------+-----------------+-----------------+
65+
| scanning | 15.4→BLE | 251 | 251 | 210 |
66+
+-------------------+-----------+-----------------+-----------------+-----------------+
67+
| scanning | BLE→15.4 | 135 | 183 | 76 |
68+
+-------------------+-----------+-----------------+-----------------+-----------------+
69+
| connection | 15.4→BLE | 258 | 258 | 214 |
70+
+-------------------+-----------+-----------------+-----------------+-----------------+
71+
| connection | BLE→15.4 | 149 | 182 | 80 |
72+
+-------------------+-----------+-----------------+-----------------+-----------------+
73+
74+
75+
Radio Switching Time
76+
^^^^^^^^^^^^^^^^^^^^
77+
+-------------------+-----------+-----------------+-----------------+-----------------+
78+
| BLE activity name | Direction | NRF52 mean [us] | NRF53 mean [us] | NR54L mean [us] |
79+
+===================+===========+=================+=================+=================+
80+
| advertisement | 15.4→BLE | 324 | 346 | 268 |
81+
+-------------------+-----------+-----------------+-----------------+-----------------+
82+
| advertisement | BLE→15.4 | 289 | 335 | 172 |
83+
+-------------------+-----------+-----------------+-----------------+-----------------+
84+
| scanning | 15.4→BLE | 303 | 315 | 256 |
85+
+-------------------+-----------+-----------------+-----------------+-----------------+
86+
| scanning | BLE→15.4 | 234 | 292 | 150 |
87+
+-------------------+-----------+-----------------+-----------------+-----------------+
88+
| connection | 15.4→BLE | 386 | 388 | 348 |
89+
+-------------------+-----------+-----------------+-----------------+-----------------+
90+
| connection | BLE→15.4 | 333 | 398 | 211 |
91+
+-------------------+-----------+-----------------+-----------------+-----------------+
92+
93+
94+
Multiprotocol switching time measurements by device family
95+
----------------------------------------------------------
96+
97+
98+
NRF52 family
99+
^^^^^^^^^^^^
100+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
101+
| BLE activity name | Direction | Protocol Switching (min | mean | max) [us] | Radio Switching (min | mean | max) [us] |
102+
+===================+===========+============================================+=========================================+
103+
| advertisement | 15.4→BLE | 238 | 257 | 359 | 305 | 324 | 427 |
104+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
105+
| advertisement | BLE→15.4 | 136 | 152 | 163 | 273 | 289 | 299 |
106+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
107+
| scanning | 15.4→BLE | 235 | 251 | 265 | 287 | 303 | 317 |
108+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
109+
| scanning | BLE→15.4 | 133 | 135 | 141 | 232 | 234 | 239 |
110+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
111+
| connection | 15.4→BLE | 243 | 258 | 275 | 372 | 386 | 398 |
112+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
113+
| connection | BLE→15.4 | 135 | 149 | 165 | 312 | 333 | 354 |
114+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
115+
116+
117+
NRF53 family
118+
^^^^^^^^^^^^
119+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
120+
| BLE activity name | Direction | Protocol Switching (min | mean | max) [us] | Radio Switching (min | mean | max) [us] |
121+
+===================+===========+============================================+=========================================+
122+
| advertisement | 15.4→BLE | 236 | 261 | 420 | 320 | 346 | 505 |
123+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
124+
| advertisement | BLE→15.4 | 169 | 181 | 197 | 324 | 335 | 352 |
125+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
126+
| scanning | 15.4→BLE | 234 | 251 | 265 | 298 | 315 | 328 |
127+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
128+
| scanning | BLE→15.4 | 181 | 183 | 196 | 290 | 292 | 305 |
129+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
130+
| connection | 15.4→BLE | 244 | 258 | 275 | 375 | 388 | 401 |
131+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
132+
| connection | BLE→15.4 | 167 | 182 | 196 | 379 | 398 | 418 |
133+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
134+
135+
136+
NR54L family
137+
^^^^^^^^^^^^
138+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
139+
| BLE activity name | Direction | Protocol Switching (min | mean | max) [us] | Radio Switching (min | mean | max) [us] |
140+
+===================+===========+============================================+=========================================+
141+
| advertisement | 15.4→BLE | 118 | 205 | 209 | 184 | 268 | 273 |
142+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
143+
| advertisement | BLE→15.4 | 79 | 80 | 80 | 171 | 172 | 173 |
144+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
145+
| scanning | 15.4→BLE | 209 | 210 | 211 | 255 | 256 | 257 |
146+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
147+
| scanning | BLE→15.4 | 75 | 76 | 77 | 149 | 150 | 150 |
148+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
149+
| connection | 15.4→BLE | 212 | 214 | 223 | 345 | 348 | 348 |
150+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+
151+
| connection | BLE→15.4 | 79 | 80 | 80 | 195 | 211 | 225 |
152+
+-------------------+-----------+--------------------------------------------+-----------------------------------------+

0 commit comments

Comments
 (0)