Priority of accesses are (highest priority first):
1. CPU data write/program write/debug access write
2. CPU data read/debug access read
3. CPU fetch/program read
•
MMEMCFG[RAMxE] == 1, MMEMCFG[RAMxCPUE] = 0
In this case the memory block is mapped to CLA space. The CPU can make only debug accesses.
– CLA fetches cannot occur to this block.
– CLA read and CLA writes are allowed.
– CPU fetches return 0
– CPU data reads and program reads return 0.
– CPU data writes and program writes are ignored.
Priority of accesses are (highest priority first):
1. CLA data write
2. CPU debug write
3. CPU debug read
4. CLA read
•
MMEMCFG[RAMxE] == 1, MMEMCFG[RAMxCPUE] = 1
In this case the memory block is mapped to CLA space. The CPU has read and write access to the memory
in addition to debug accesses.
– CLA fetches cannot occur to this block.
– CLA read and CLA writes are allowed.
– CPU fetches return 0
– CPU data reads and writes are allowed.
– CPU program reads return 0 while program writes are ignored.
Priority of accesses are (highest priority first):
1. CLA data write
2. CPU debug access write/CPU data write
3. CPU debug access read/ CPU data read
4. CLA read
10.3.4 Peripheral Registers (ePWM, HRPWM, Comparator, eCAP, eQEP)
Accesses to the registers follow these rules:
• If both the CPU and CLA request access at the same time, then the CLA will have priority and the main CPU
is stalled.
• If a CPU access is in progress and another CPU access is pending, then the CLA will have priority over the
pending CPU access. In this case the CLA access will begin when the current CPU access completes.
• While a CPU access is in progress any incoming CLA access will be stalled.
• While a CLA access is in progress any incoming CPU access will be stalled.
• A CPU write operation has priority over a CPU read operation.
• A CLA write operation has priority over a CLA read operation.
• If the CPU is performing a read-modify-write operation and the CLA performs a write to the same location, the
CLA write may be lost if the operation occurs in-between the CPU read and write. For this reason, you should
not mix CPU and CLA accesses to same location.
Control Law Accelerator (CLA)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
577
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......