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.
Содержание Blackfin ADSP-BF537
Страница 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...