Public Version
IVA2.2 Subsystem Basic Programming Model
www.ti.com
•
= (
& ~(0xFFFC)) | size of (mySrcTable);
•
= (
& ~(116)) | 116; // SCC mode
•
= (
& ~(128)) | 028; // no interrupt
•
= (
& ~(0x729)) | 0x729; // low priority
NOTE:
Because the IVA2.2 subsystem is typically configured (recommended for video applications)
so that L1D has memory-mapped SRAM, IDMA1 is normally used only for L1D>L1D fast
copy.
5.4.4.3
Programming an EDMA Transfer
Programming a complete EDMA transfer requires the following steps:
1. Define the logical channel(s).
2. Prioritize the defined transfer (with respect to other defined transfers).
3. Start the transfer.
4. Review the progression and completion of the transfer.
5.4.4.4
Defining a Logical Channel
5.4.4.4.1 Single Logical Channel Definition
A complete EDMA transfer can be defined by one or several chained and/or linked logical channels.
Up to 128 independent contexts, each fully defining a logical channel, can be defined. These 128 contexts
correspond to the 128 PaRAM entries available in the IVA2.2 subsystem. For more information about
these PaRAM entries, see
, DMA/QDMA Channel Mapping and PaRAM Entry, and the
corresponding
Logical channel definition relies on the following:
•
Base addresses:
–
PARAM[LCH#].SRCi: 32-bit source address
–
PARAM[LCH#].DSTi: 32-bit destination address
•
Transfer sizes:
Transfer size is common to source and destination. A transfer can be constituted on a 3-dimensional
array; C is an array of CCNT arrays, each composed of BCNT arrays, each composed of ACNT bytes:
–
PARAM[LCH#].ACNT: Number of bytes in the A array (from 0 to 65,535)
–
PARAM[LCH#].BCNT: Number of A arrays in the B array (from 0 to 65,535)
–
PARAM[LCH#].CCNT: Number of B arrays in the C array (from 0 to 65,535)
NOTE:
Setting one of the ACNT, BCNT, or CCNT arrays to 0x0 prevents a transfer from being
submitted to one of the physical channels (assuming that the compatibility mode is not
set).
–
PARAM[LCH#].BCNTRLD: BCNT reload value when BCNT reaches 0 (from 0 to 65,535)
NOTE:
When programming CCNT>1, programming PARAM[LCH#].BCNTRLD to be equal to
PARAM[LCH#].BCNT is recommended.
•
Indexes between dimensions:
–
PARAM[LCH#].SRCBIDX: Index between A arrays at source (from -32,768 to 32,767)
–
PARAM[LCH#].SCRCIDX: Index between B arrays at source (from -32,768 to 32,767)
–
PARAM[LCH#].DSTBIDX: Index between A arrays at destination (from -32,768 to 32,767)
–
PARAM[LCH#].DSTCIDX: Index between B arrays at destination (from -32,768 to 32,767)
758
IVA2.2 Subsystem
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated
Содержание OMAP36 Series
Страница 174: ...174 List of Tables SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 692: ...692 MPU Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1084: ...1084 IVA2 2 Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1990: ...1990 2D 3D Graphics Accelerator SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2334: ...2334 Memory Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2700: ...2700 Memory Management Units SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2868: ...2868 HDQ 1 Wire SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2974: ...2974 UART IrDA CIR SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3054: ...3054 Multichannel SPI SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3462: ...3462 MMC SD SDIO Card Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3508: ...3508 General Purpose Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3584: ...3584 Initialization SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3648: ...3648 Debug and Emulation SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...