ADSP-BF53x/BF56x Blackfin Processor Programming Reference
3-7
Operating Modes and States
Supervisor Mode
The processor services all interrupt, NMI, and exception events in Super-
visor mode.
Supervisor mode has full, unrestricted access to all processor system
resources, including all emulation resources, unless a CPLB has been con-
figured and enabled. See
“Memory Management Unit” on page 6-45
for a
further description. Only Supervisor mode can use the register alias
USP
,
which references the User Stack Pointer in memory. This register alias is
necessary because in Supervisor mode,
SP
refers to the kernel stack pointer
rather than to the user stack pointer.
Normal processing begins in Supervisor mode from the Reset state. Deas-
serting the
RESET
signal switches the processor from the Reset state to
Supervisor mode where it remains until an emulation event or Return
instruction occurs to change the mode. Before the Return instruction is
issued, the
RETI
register must be loaded with a valid return address.
Non-OS Environments
For non-OS environments, application code should remain in Supervisor
mode so that it can access all core and system resources. When
RESET
is
deasserted, the processor initiates operation by servicing the reset event.
Emulation is the only event that can pre-empt this activity. Therefore,
lower priority events cannot be processed.
One way of keeping the processor in Supervisor mode and still allowing
lower priority events to be processed is to set up and force the lowest pri-
ority interrupt (
IVG15
). Events and interrupts are described further in
“Events and Interrupts” on page 4-29
. After the low priority interrupt has
been forced using the
RAISE 15
instruction,
RETI
can be loaded with a
return address that points to user code that can execute until
IVG15
is
issued. After
RETI
has been loaded, the
RTI
instruction can be issued to
return from the reset event.
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...