
ADSP-BF59x Blackfin Processor Hardware Reference
5-99
Direct Memory Access
w[p0 + MDMA_S0_CONFIG - MDMA_S0_CONFIG] = r6;
w[p0 + MDMA_D0_CONFIG - MDMA_S0_CONFIG] = r7;
jump _main.wait;
_main.end:
Handshaked Memory DMA Example
The functional block for the handshaked MDMA operation can be con-
sidered completely separately from the MDMA channels themselves.
Therefore the following HMDMA setup routine can be combined with
any of the MDMA examples discussed above. Be sure that the HMDMA
module is enabled before the MDMA channels.
Listing 5-8
enables the HMDMA1 block, which is controlled by the
DMAR1
pin and is associated with the MDMA1 channel pair.
Listing 5-8. HMDMA1 Block Enable
/* optionally, enable all four bank select strobes */
p1.l = lo(EBIU_AMGCTL);
p1.h = hi(EBIU_AMGCTL);
r0.l = 0x0009;
w[p1] = r0;
/* function enable for DMAR1 */
p1.l = lo(PORTG_FER);
r0.l = PG12;
w[p1] = r0;
p1.l = lo(PORTG_MUX);
r0.l = 0x0000;
w[p1] = r0;
/* every single transfer requires one DMAR1 event */
p1.l = lo(HMDMA1_BCINIT);
Содержание ADSP-BF59x Blackfin
Страница 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 204: ...Unique Information for the ADSP BF59x Processor 5 104 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 345: ...ADSP BF59x Blackfin Processor Hardware Reference 9 9 Core Timer Unique Information for the ADSP BF59x Processor None...
Страница 346: ...Unique Information for the ADSP BF59x Processor 9 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 398: ...Unique Information for the ADSP BF59x Processor 11 42 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 622: ...Unique Information for the ADSP BF59x Processor 15 38 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...