Electronic Components Datasheet Search
  English  ▼

X  

WM0011 Datasheet(PDF) 209 Page - Cirrus Logic

Part # WM0011
Description  General Purpose Low-Power Audio DSP
PDF  233 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CIRRUS [Cirrus Logic]
Direct Link  http://www.cirrus.com
Logo CIRRUS - Cirrus Logic

WM0011 Datasheet(HTML) 209 Page - Cirrus Logic

Back Button WM0011 Datasheet HTML 205Page - Cirrus Logic WM0011 Datasheet HTML 206Page - Cirrus Logic WM0011 Datasheet HTML 207Page - Cirrus Logic WM0011 Datasheet HTML 208Page - Cirrus Logic WM0011 Datasheet HTML 209Page - Cirrus Logic WM0011 Datasheet HTML 210Page - Cirrus Logic WM0011 Datasheet HTML 211Page - Cirrus Logic WM0011 Datasheet HTML 212Page - Cirrus Logic WM0011 Datasheet HTML 213Page - Cirrus Logic Next Button
Zoom Inzoom in Zoom Outzoom out
 209 / 233 page
background image
WM0011
Production Data
w
PD, Rev 4.1, August 2013
209
DMA PROGRAM EXAMPLES
EXAMPLE 1: PERIPHERAL TRANSFERS USING DMA
This example describes a mechanism to transfer 32-bit data words from an I/O peripheral into
memory. It is assumed that 64 words (256 bytes) are to be transferred from the AIF1 module into
memory.
The data words will be read from a fixed address in the AIF1 module; the AIF_RX_DAT register
address for AIF1 is 0xF070_0000. The data will be written to a 256-word block of System RAM
memory, starting at 0x6000_0000.
The AIF1 RX path requires the use of DMA channel 6. The handshake configuration must be Source
Data Phase ACK. (These requirements are described in Table 131.)
The required register settings for this transfer are noted below. Note that the default setting is
assumed for any register fields that are not quoted here.
REGISTER / FIELD NAME
VALUE
DESCRIPTION
DMA_GLB_CTRL
DMA_ENA
0x1
Enables the DMA module
DMA_PRI_SRC_6
DMA_PRI_SRC_6
0xF070_0000
Selects AIF_RX_DAT as the source
DMA_PRI_DST_6
DMA_PRI_DST_6
0x6000_0000
Selects 0x6000_0000 as the destination
DMA_PRI_LEN_6
DMA_PRI_LEN_6
0x100
Selects a transfer length of 256 bytes
DMA_CTRL1_6
DMA_DST_HSIZE
0x2
Selects 32-bit word size
DMA_SRC_HSIZE
0x2
Selects 32-bit word size
DMA_SRC_ACK_CTRL
0x1
Selects Source Address ACK
DMA_ADP_ACK_CTRL
0x0
Selects Data Phase ACK
DMA_DST_NINC
0x0
Selects Incrementing Destination addresses
DMA_SRC_NINC
0x1
Selects Non-Incrementing Source addresses
DMA_SOFT_XFER_ENA
0x0
Selects Hardware handshake (ACK) control
DMA_CH_ENA
0x1
Enables the DMA Channel
Note that the default setting is assumed for any DMA Controller register fields that are not quoted.
Table 160 DMA Example 1
The register settings described in Table 160 will initiate a 64-word (256 byte) transfer from the AIF1
module into a block of memory.
The DMA channel is automatically disabled (DMA_CH_ENA=0) on completion of the transfer.
On completion, the DMA controller will also assert bit [6] in the DMA Terminal Count Status
(DMA_TC_STS) register, indicating that the Terminal Count for DMA channel 6 has been reached.
When unmasked and enabled, this bit can be used to signal an Interrupt Event to the CCM module.
Note that the Terminal Count status bit should be reset (by writing ‘1’ to the respective bit) in order to
allow subsequent DMA transfers to be signalled.



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