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

X  

NRF9160-SICA-R7 Datasheet(PDF) 124 Page - Nordic Semiconductor

Part # NRF9160-SICA-R7
Description  nRF9160 Product Specification
PDF  400 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NORDIC [Nordic Semiconductor]
Direct Link  https://www.nordicsemi.com/
Logo NORDIC - Nordic Semiconductor

NRF9160-SICA-R7 Datasheet(HTML) 124 Page - Nordic Semiconductor

Back Button NRF9160-SICA-R7 Datasheet HTML 120Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 121Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 122Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 123Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 124Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 125Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 126Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 127Page - Nordic Semiconductor NRF9160-SICA-R7 Datasheet HTML 128Page - Nordic Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 124 / 400 page
background image
Peripherals
frame
left
LRCK
SCK
SDATA
left
right
Figure 27: Aligned format. CONFIG.SWIDTH equalling half-frame size.
6.7.7 EasyDMA
The I2S module implements EasyDMA for accessing internal Data RAM without CPU intervention.
The source and destination pointers for the TX and RX data are configured in TXD.PTR on page 137 and
RXD.PTR on page 137. The memory pointed to by these pointers will only be read or written when TX or
RX are enabled in CONFIG.TXEN on page 134 and CONFIG.RXEN on page 134.
The addresses written to the pointer registers TXD.PTR on page 137 and RXD.PTR on page 137 are
double-buffered in hardware, and these double buffers are updated for every RXTXD.MAXCNT on page
137 words (containing one or more samples) read/written from/to memory. The events TXPTRUPD and
RXPTRUPD are generated whenever the TXD.PTR and RXD.PTR are transferred to these double buffers.
If TXD.PTR on page 137 is not pointing to the Data RAM region when transmission is enabled, or
RXD.PTR on page 137 is not pointing to the Data RAM region when reception is enabled, an EasyDMA
transfer may result in a HardFault and/or memory corruption. See Memory on page 21 for more
information about the different memory regions.
Due to the nature of I2S, where the number of transmitted samples always equals the number of received
samples (at least when both TX and RX are enabled), one common register RXTXD.MAXCNT on page
137 is used for specifying the sizes of these two memory buffers. The size of the buffers is specified in
a number of 32-bit words. Such a 32-bit memory word can either contain four 8-bit samples, two 16-bit
samples or one right-aligned 24-bit sample sign extended to 32 bit.
In stereo mode (CONFIG.CHANNELS=Stereo), the samples are stored as "left and right sample pairs" in
memory. Figure Memory mapping for 8 bit stereo. CONFIG.SWIDTH = 8Bit, CONFIG.CHANNELS = Stereo.
on page 124, Memory mapping for 16 bit stereo. CONFIG.SWIDTH = 16Bit, CONFIG.CHANNELS = Stereo.
on page 125 and Memory mapping for 24 bit stereo. CONFIG.SWIDTH = 24Bit, CONFIG.CHANNELS =
Stereo. on page 125 show how the samples are mapped to memory in this mode. The mapping is valid
for both RX and TX.
In mono mode (CONFIG.CHANNELS=Left or Right), RX sample from only one channel in the frame is
stored in memory, the other channel sample is ignored. Illustrations Memory mapping for 8 bit mono.
CONFIG.SWIDTH = 8Bit, CONFIG.CHANNELS = Left. on page 125, Memory mapping for 16 bit mono, left
channel only. CONFIG.SWIDTH = 16Bit, CONFIG.CHANNELS = Left. on page 125 and Memory mapping
for 24 bit mono, left channel only. CONFIG.SWIDTH = 24Bit, CONFIG.CHANNELS = Left. on page 126
show how RX samples are mapped to memory in this mode.
For TX, the same outgoing sample read from memory is transmitted on both left and right in a frame,
resulting in a mono output stream.
Right sample 1
0
31
16
x.PTR
x.PTR + 4
x.PTR + (n*2) - 4
15
Left sample 1
Right sample 0
Left sample 0
Right sample 3
Left sample 3
Right sample 2
Left sample 2
Right sample
n-1
Left sample
n-1
Right sample
n-2
Left sample
n-2
24 23
8 7
Figure 28: Memory mapping for 8 bit stereo. CONFIG.SWIDTH = 8Bit, CONFIG.CHANNELS = Stereo.
4418_1315 v2.0
124



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