1.5.4 Write-Followed-by-Read Protection
The memory address range for which CPU write followed by read operations are protected is 0x4000 - 0x7FFF
(operations occur in sequence rather then in their natural pipeline order). This is necessary protection for certain
peripheral operations.
Example:
The following lines of code perform a write to register 1 (REG1) location and then the next instruction
performs a read from Register 2 (REG2) location. On the processor memory bus, with block protection disabled,
the read operation is issued before the write as shown.
MOV @REG1,AL ---------+
TBIT @REG2,#BIT_X ---------|-------> Read
+-------> Write
If block protection is enabled, then the read is stalled until the write occurs as shown:
MOV @REG1,AL ---------+
TBIT @REG2,#BIT_X ---------|-----+
+-----|---> Write
+---> Read
System Control and Interrupts
166
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......