| Electronic Components Datasheet Search |
|
WM0011 Datasheet(PDF) 211 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
WM0011 Datasheet(HTML) 211 Page - Cirrus Logic |
|
211 / 233 page ![]() WM0011 Production Data w PD, Rev 4.1, August 2013 211 EXAMPLE 3: LINKED LIST DMA OPERATION This example describes a mechanism to transfer 3 packets of 32-bit data words from memory to the AIF2 module. The packets are defined in a list of descriptor registers, with the first packet descriptor at memory address 0x6007_0000. The first packet comprises 256 words (1024 bytes) read from base address 0x6000_0000. The DMA descriptors for this part of the transfer are located at address 0x6007_0000. The second packet comprises 256 words (1024 bytes) read from base address 0x6001_0000. The DMA descriptors for this part of the transfer are located at address 0x6007_0010. The third packet comprises 512 words (2048 bytes) read from base address 0x6002_0000. The DMA descriptors for this part of the transfer are located at address 0x6007_0020. The DMA descriptors for each of the packet transfers are contained in the memory configuration described in Table 162. ADDRESS VALUE DESCRIPTION Packet 1 definition 0x6007_0000 0x6000_0000 Selects 0x6000_0000 as the source 0x6007_0004 0xF080_0020 Selects AIF_TX_DAT as the destination 0x6007_0008 0x400 Selects a transfer length of 256 bytes 0x6007_000C 0x6007_0010 Identifies the next packet descriptors address Packet 2 definition 0x6007_0010 0x6001_0000 Selects 0x6001_0000 as the source 0x6007_0014 0xF080_0020 Selects AIF_TX_DAT as the destination 0x6007_0018 0x400 Selects a transfer length of 256 bytes 0x6007_001C 0x6007_0020 Identifies the next packet descriptors address Packet 3 definition 0x6007_0020 0x6002_0000 Selects 0x6002_0000 as the source 0x6007_0024 0xF080_0020 Selects AIF_TX_DAT as the destination 0x6007_0028 0x1000 Selects a transfer length of 512 bytes 0x6007_002C 0x0000_0000 Terminates the Linked List chain Table 162 DMA Example 3 - Linked List Memory configuration The data words will be written to a fixed address in the AIF2 module; the AIF_TX_DAT register address for AIF2 is 0xF080_0020. The AIF2 TX path requires the use of DMA channel 9. The handshake configuration must be Destination Data Phase ACK. (These requirements are described in Table 131.) The required register settings for this transfer are noted in Table 163. Note that the default setting is assumed for any register fields that are not quoted here. |
|
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 |
| 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 |