10.7.3 Configuration Registers
The configuration registers are described here.
10.7.3.1 Control Register (MCTL)
The configuration control register (MCTL) is shown in
.
Figure 10-3. Control Register (MCTL)
15
8
Reserved
R -0
7
3
2
1
0
Reserved
IACKE
SOFTRESET
HARDRESET
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 10-22. Control Register (MCTL) Field Descriptions
Bits Name
Value Description
15-3 Reserved
Any writes to these bit(s) must always have a value of 0.
2
IACKE
IACK enable
0
The CLA ignores the IACK instruction. (default)
1
Enable the main CPU to use the IACK #16bit instruction to set MIFR bits in the same manner as writing to
the MIFRC register. Each bit in the operand, #16bit, corresponds to a bit in the MIFRC register. Using IACK
has the advantage of not having to first set the EALLOW bit. This allows the main CPU to efficiently trigger
a CLA task through software.
Examples
IACK #0x0001
Write a 1 to MIFRC bit 0 to force task 1
IACK #0x0003
Write a 1 to MIFRC bit 0 and 1 to force task 1 and task 2
1
SOFTRESET
Soft Reset
0
This bit always reads back 0 and writes of 0 are ignored.
1
Writing a 1 will cause a soft reset of the CLA. This will stop the current task, clear the MIRUN flag and
clear all bits in the MIER register. After a soft reset you must wait at least 1 SYSCLKOUT cycle before
reconfiguring the MIER bits. If these two operations are done back-to-back then the MIER bits will not get
set.
0
HARDRESET
Hard Reset
0
This bit always reads back 0 and writes of 0 are ignored.
1
Writing a 1 will cause a hard reset of the CLA. This will set all CLA registers to their default state.
(1)
This register is protected by EALLOW and the dual code security module.
Control Law Accelerator (CLA)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
711
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......