EasyManuals Logo

Texas Instruments C2000 Workshop Guide And Lab Manual

Texas Instruments C2000
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #93 background imageLoading...
Page #93 background image
Register Protection
C2000 Microcontroller Workshop - System Initialization 5 - 19
Register Protection
Write-Read Protection
DevEmuRegs.DEVICECNF.bit.ENPROT
CPU pipeline protects W-R order for the same address
Write-Read protection mechanism protects W-R order for
different addresses
Peripheral Frame 0 and Peripheral Frame 1 zones protected
Write-read protection mode bit ENPROT located in the DEVICECNF
register is enabled by default
Suppose you need to write to a peripheral register and
then read a different register for the same peripheral
(e.g., write to control, read from status register)?
Peripheral Frame Registers
PF0
eCAN
COMP
ePWM
eCAP
eQEP
LIN
GPIO
PF1
System Control
SPI
SCI
Watchdog
XINT
ADC
I2C
Protected address:
0x4000 - 0x7FFF
EALLOW Protection
(1 of 2)
EALLOW stands for Emulation Allow
Code access to protected registers allowed
only when EALLOW = 1 in the ST1 register
The emulator can always access protected
registers
EALLOW bit controlled by assembly level
instructions
‘EALLOW’ sets the bit (register access enabled)
‘EDIS’ clears the bit (register access disabled)
EALLOW bit cleared upon ISR entry, restored
upon exit

Table of Contents

Other manuals for Texas Instruments C2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C2000 and is the answer not in the manual?

Texas Instruments C2000 Specifications

General IconGeneral
BrandTexas Instruments
ModelC2000
CategoryMicrocontrollers
LanguageEnglish

Related product manuals