Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

NRF52811-QCAA-R Datasheet(PDF) 36 Page - Nordic Semiconductor

No. de pieza NRF52811-QCAA-R
Descripción Electrónicos  nRF52811
PDF  444 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  NORDIC [Nordic Semiconductor]
Página de inicio  https://www.nordicsemi.com/
Logo NORDIC - Nordic Semiconductor

NRF52811-QCAA-R Datasheet(HTML) 36 Page - Nordic Semiconductor

Back Button NRF52811-QCAA-R Datasheet HTML 32Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 33Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 34Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 35Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 36Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 37Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 38Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 39Page - Nordic Semiconductor NRF52811-QCAA-R Datasheet HTML 40Page - Nordic Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 444 page
background image
Core components
An EasyDMA channel is implemented in the following way, but some variations may occur:
READERBUFFER_SIZE 5
WRITERBUFFER_SIZE 6
uint8_t readerBuffer[READERBUFFER_SIZE] __at__ 0x20000000;
uint8_t writerBuffer[WRITERBUFFER_SIZE] __at__ 0x20000005;
// Configuring the READER channel
MYPERIPHERAL->READER.MAXCNT = READERBUFFER_SIZE;
MYPERIPHERAL->READER.PTR = &readerBuffer;
// Configure the WRITER channel
MYPERIPHERAL->WRITER.MAXCNT = WRITEERBUFFER_SIZE;
MYPERIPHERAL->WRITER.PTR = &writerBuffer;
This example shows a peripheral called MYPERIPHERAL that implements two EasyDMA channels - one for
reading called READER, and one for writing called WRITER. When the peripheral is started, it is assumed
that the peripheral will:
• Read 5 bytes from the readerBuffer located in RAM at address 0x20000000.
• Process the data.
• Write no more than 6 bytes back to the writerBuffer located in RAM at address 0x20000005.
The memory layout of these buffers is illustrated in EasyDMA memory layout on page 36.
readerBuffer[0]
readerBuffer[1]
readerBuffer[2]
readerBuffer[3]
readerBuffer[4]
writerBuffer[0]
writerBuffer[1]
writerBuffer[2]
writerBuffer[3]
writerBuffer[4]
writerBuffer[5]
0x20000000
0x20000004
0x20000008
Figure 5: EasyDMA memory layout
The WRITER.MAXCNT register should not be specified larger than the actual size of the buffer
(writerBuffer). Otherwise, the channel would overflow the writerBuffer.
Once an EasyDMA transfer is completed, the AMOUNT register can be read by the CPU to see how many
bytes were transferred. For example, CPU can read MYPERIPHERAL->WRITER.AMOUNT register to see how
many bytes WRITER wrote to RAM.
Note that the PTR register of a READER or WRITER must point to a valid memory region before use. The
reset value of a PTR register is not guaranteed to point to valid memory. See Memory on page 16 for
more information about the different memory regions and EasyDMA connectivity.
4.6.1 EasyDMA error handling
Some errors may occur during DMA handling.
If READER.PTR or WRITER.PTR is not pointing to a valid memory region, an EasyDMA transfer may result
in a HardFault or RAM corruption. See Memory on page 16 for more information about the different
memory regions.
4454_140 v1.0
36



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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