Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

NRF52820-QDAA-R Datasheet(PDF) 179 Page - Nordic Semiconductor

Part # NRF52820-QDAA-R
Description  nRF52820
PDF  437 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NORDIC [Nordic Semiconductor]
Direct Link  https://www.nordicsemi.com/
Logo NORDIC - Nordic Semiconductor

NRF52820-QDAA-R Datasheet(HTML) 179 Page - Nordic Semiconductor

Back Button NRF52820-QDAA-R Datasheet HTML 175Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 176Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 177Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 178Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 179Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 180Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 181Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 182Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 183Page - Nordic Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 179 / 437 page
background image
Peripherals
IEEE 802.15.4 ED measurement example
#define ED_RSSISCALE 4 // From electrical specifications
uint8_t sample_ed(void)
{
int val;
NRF_RADIO->TASKS_EDSTART = 1; // Start
while (NRF_RADIO->EVENTS_EDEND != 1) {
// CPU can sleep here or do something else
// Use of interrupts are encouraged
}
val = NRF_RADIO->EDSAMPLE * ED_RSSISCALE; // Read level
return (uint8_t)(val>255 ? 255 : val);
// Convert to IEEE 802.15.4
scale
}
For scaling between hardware value and dBm, see equation Conversion between hardware value and dBm
on page 181.
The mlme-scan.req primitive of the MAC layer uses the ED measurement to detect channels where there
might be wireless activity. To assist this primitive, a tailored mode of operation is available where the
ED measurement runs for a defined number of iterations keeping track of the maximum ED level. This is
enganged by writing the EDCNT register to a value different from 0, where it will run the specified number
of iterations and report the maximum energy measurement in the EDSAMPLE register. The scan is started
with EDSTART task and its end indicated with the EDEND event. This significantly reduces the interrupt
frequency and therefore power consumption. The following figure shows how the ED measurement will
operate depending on the EDCNT register.
128 µs
EDCNT = 0
EDSTART
EDEND
Scan 0
EDCNT = N-1
EDSTART
EDEND
Scan 1
Scan N-1
...
128*(N) µs
Figure 69: Energy detection measurement examples
The scan is stopped by writing the EDSTOP task. It will be followed by the EDSTOPPED event when the
module has terminated.
6.12.13.4 Clear channel assessment (CCA)
4463_156 v1.0
179



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com