Preliminary
Use Case
www.ti.com
2.3
Use Case
2.3.1 DMM Basic Register Setup
This section describes basic steps to initialize the DMM, in the device.
1. Set base address, DMM_PAT_VIEW_MAP_BASE to value 8000 0000h, which corresponds to base
SDRAM address in the device memory map.
2. Program the four PAT views, by writing DMM_PAT_VIEW_MAP__0..3 registers. By default, all the four
PAT views are having value of 0, which implies Direct access translation for all the four tiled modes of
(8,16,32-bit and paged mode) and all the four containers will overlap with their base address mapped
to 8000 0000h.
3. Program PAT views for all initiators, indexed by ConnID, by programming the DMM_PAT_VIEW__0..1
registers. There are 4 possible views available in device. Default is for all initiators to use PAT view 0.
4. Program PEG priority for all the initiators. By default - all are having priority = 0.
5. Program the TILER orientation for all the initiators, by writing to DMM_TILER_OR__0..1 registers. By
default - all will access tiled data in Orientation = 0, which is the normal view.
6. Program Section mapping, based on the SDRAM configuration of the system, which depends on the
size of the SDRAM on one or both the banks.
•
Example 1: Symmetrical DDRs on both EMIF banks. Each size = 512MB to add up to 1GB of total
SDRAM memory. In all DMM_LISA_MAP__0..3 registers, program value 8064 0300h, which
implies 1GB section starting from System address : 8000 0000h, mapped to 0000 0000h of both
EMIF0 and EMIF1, with interleaving of 128 bytes enabled. Note that the above example uses only
one DMM section and the three other are identical. There are other ways to define up-to 4 sections
and configure each differently
2.3.1.1
PAT Direct Access Translation with Distinct 128 MB Containers for Each of the 4 Modes
Following is a simplistic use case, bypassing the LUTs for address translation and setting aside a chunk of
128MB contiguous memory, with base address 128MB aligned, for each of the 4 modes (8, 16,32-bit and
paged mode). The same addresses will be used by all initiators in the system.
Configure PAT view 0:
Program DMM_PAT_VIEW_MAP__0 to a value of 0302 0100h. Here : 8-bit mode container will be
mapped to 8000 0000h. 16-bit mode container will be mapped to 8800 0000h. 32-bit mode container
will be mapped to 9000 0000h. Paged mode container will be mapped to 9800 0000h.
Configure all initiators to use PAT view 0:
Program DMM_PAT_VIEW__0..1 to a value of 0.
370
DMM/TILER
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...