10.7.3.2 Memory Configuration Register (MMEMCFG)
The MMEMCFG register is used to map the CLA program and data RAMs to either the CPU or the CLA memory
space. Typically mapping of the CLA program and data RAMs occurs only during the initialization process. If
after some time the you want to re-map these memories back to CPU space then disable interrupts (MIER) and
make sure all tasks have completed by checking the MIRUN register. Allow two SYSCLKOUT cycles between
changing the map configuration of these memories and accessing them. Refer to for CLA and CPU access
arbitration details.
Figure 10-4. Memory Configuration Register (MMEMCFG)
15
11
10
9
8
Reserved
RAM2CPUE
RAM1CPUE
RAM0CPUE
R -0
R/W-0
R/W-0
R/W-0
7
6
5
4
3
1
0
Reserved
RAM2E
RAM1E
RAM0E
Reserved
PROGE
R-0
R/W-0
R/W-0
R/W-0
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 10-23. Memory Configuration Register (MMEMCFG) Field Descriptions
Bits
Field
Value
Description
15-11
Reserved
Any writes to these bit(s) must always have a value of 0
10
RAM2CPUE
CLA Data RAM 2 CPU Access Enable Bit:
Allow two SYSCLKOUT cycles between changing this bit and accessing the memory
0
RAM2E = 0, CPU data accesses to CLA Data RAM 2 are always allowed
RAM2E = 1, CPU data accesses to CLA Data RAM 2 are not allowed
1
RAM2E = 0, CPU data accesses to CLA Data RAM 2 are always allowed
RAM2E = 1, CPU data accesses to CLA Data RAM 2 are allowed
9
RAM1CPUE
CLA Data RAM 1 CPU Access Enable Bit:
Allow two SYSCLKOUT cycles between changing this bit and accessing the memory
0
RAM1E = 0, CPU data accesses to CLA Data RAM 1 are always allowed
RAM1E = 1, CPU data accesses to CLA Data RAM 1 are not allowed
1
RAM1E = 0, CPU data accesses to CLA Data RAM 1 are always allowed
RAM1E = 1, CPU data accesses to CLA Data RAM 1 are allowed
8
RAM0CPUE
CLA Data RAM 0 CPU Access Enable Bit:
Allow two SYSCLKOUT cycles between changing this bit and accessing the memory
0
RAM0E = 0, CPU data accesses to CLA Data RAM 0 are always allowed
RAM0E = 1, CPU data accesses to CLA Data RAM 0 are not allowed
1
RAM0E = 0, CPU data accesses to CLA Data RAM 0 are always allowed
RAM0E = 1, CPU data accesses to CLA Data RAM 0 are allowed
7
Reserved
Any writes to these bit(s) must always have a value of 0
6
RAM2E
CLA Data RAM 2 Enable
Allow two SYSCLKOUT cycles between changing this bit and accessing the memory
0
CLA data SARAM block 2 is mapped to the main CPU program and data space. CLA reads will
return zero. (default)
1
CLA data SARAM block 2 is mapped to the CLA space. The RAM2CPUE bit determines the
CPU access to this memory
Control Law Accelerator (CLA)
712
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......