Programming Examples
24-84
ADSP-BF50x Blackfin Processor Hardware Reference
Listing 24-4. Exiting Reset by Staying in Supervisor Mode
_reset:
P0.L = LO(EVT15);
/* Point to IVG15 in Event Vector Table */
P0.H = HI(EVT15);
P1.L = LO(_isr_IVG15); /* Point to start of IVG15 code */
P1.H = HI(_isr_IVG15);
[P0] = P1;
/* Initialize interrupt vector EVT15 */
P0.L = LO(IMASK);
/* read-modify-write IMASK register */
R0 = [P0];
/* to enable IVG15 interrupts */
R1 = EVT_IVG15 (Z);
R0 = R0 | R1;
/* set IVG15 bit */
[P0] = R0;
/* write back to IMASK */
RAISE 15;
/* generate IVG15 interrupt request */
/* IVG 15 is not served until reset
handler returns */
P0.L = LO(_usercode);
P0.H = HI(_usercode);
RETI = P0;
/* RETI loaded with return address */
RTI;
/* Return from Reset Event */
_reset.end:
_usercode:
/* Wait in user mode till IVG15 */
JUMP _usercode;
/* interrupt is serviced */
_isr_IVG15:
/* IVG15 vectors here due to EVT15 */
...
Example Power Management with Initcode
Listing 24-5
and
Listing 24-6
show how to change PLL and the voltage
regulator within an initcode.
The ADSP-BF50x processors do not have an on-chip voltage regulator.
Set the
bfrom_SysControl
option to
SYSCTRL_EXTVOLTAGE
.
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...