ADSP-BF50x Blackfin Processor Hardware Reference
7-101
Direct Memory Access
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 7-8
enables the HMDMA1 block, which is controlled by the
DMAR1
pin and is associated with the MDMA1 channel pair.
Listing 7-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);
r0.l = 1;
w[p1] = r0;
/* start with balanced request counter */
p1.l = lo(HMDMA1_ECINIT);
r0.l = 0;
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...