Power Consumption Benchmark A
The following benchmark program permits evaluation of DSP power usage in a test situation. It enables the PLL,
disables the external clock, and uses repeated multiply-accumulate (MAC) instructions with a set of synthetic DSP
application data to emulate intensive sustained DSP operation.
;**************************************************************************
;**************************************************************************
;*
*
;* CHECKS
;*
Typical Power Consumption
*
*
;**************************************************************************
page
200,55,0,0,0
nolist
I_VEC EQU$000000; Interrupt vectors for program debug only
START EQU$8000 ; MAIN (external) program starting address
INT_PROG EQU$100 ; INTERNAL program memory starting address
INT_XDAT EQU$0 ; INTERNAL X-data memory starting address
INT_YDAT EQU$0 ; INTERNAL Y-data memory starting address
INCLUDE "ioequ.asm"
INCLUDE "intequ.asm"
list
org
P:START
;
movep #$0123FF,x:M_BCR; BCR: Area 3 : 1 w.s (SRAM)
; Area 2 : 0 w.s (SSRAM)
; Default: 1 w.s (SRAM)
;
movep #$0d0000,x:M_PCTL; XTAL disable
; PLL enable
; CLKOUT disable
;
;Load the program
;
move
move
do
move
move
nop
#INT_PROG,r0
#PROG_START,r1
#(PROG_END-PROG_START),PLOAD_LOOP
p:(r1)+,x0
x0,p:(r0)+
PLOAD_LOOP
;
; Load the X-data
;
move
move
#INT_XDAT,r0
#XDAT_START,r1
DSP56301 Technical Data, Rev. 10
Freescale Semiconductor
A-1