Programming Model
7-24
ADSP-BF537 Blackfin Processor Hardware Reference
assume the DMA registers
XMODIFY = YMODIFY = 1
. Then, if a data frame
contains 320 x 240 bytes (240 rows of 320 bytes each), these conditions
hold:
• Setting
XCOUNT = 320
,
YCOUNT = 240
, and
DI_SEL = 1
(the
DI_SEL
bit is located in
DMAx_CONFIG
) interrupts on every row transferred,
for the entire frame.
• Setting
XCOUNT = 320
,
YCOUNT = 240
, and
DI_SEL = 0
interrupts
only on the completion of the frame (when 240 rows of 320 bytes
have been transferred).
• Setting
XCOUNT = 38,400
(320 x 120),
YCOUNT = 2
, and
DI_SEL = 1
causes an interrupt when half of the frame has been transferred,
and again when the whole frame has been transferred.
Following is the general procedure for setting up DMA operation with the
PPI. For details regarding configuration of DMA, please refer to
Chapter 5, “Direct Memory Access”
1. Configure DMA registers as appropriate for desired DMA operat-
ing mode.
2. Enable the DMA channel for operation.
3. Configure appropriate PPI registers.
4. Enable the PPI by writing a
1
to bit 0 in
PPI_CONTROL
.
5. If internally generated frame syncs are used, write to the
TIMER_ENABLE
register to enable the timers linked to the PPI frame
syncs.
shows a flow diagram detailing the steps on how to configure
the PPI for the various modes of operation.
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...