Exercise 1, Part 3: Working with Blackfin Voltage Regulator
1-18
Getting Started with ADSP-BF537 EZ-KIT Lite
ates an even greater drop in the required voltage (see the
ADSP-BF536/ADSP-BF537 Embedded Processor Data Sheet
for specifics).
Vi+ allows you to easily change the voltage and clock speed in a
running application. The remainder of this exercise uses the System Ser-
vices Library to run the application at a variety of voltage levels.
Close the part 2 project and statistical profile window and open the
project
<
install_path
>\Blackfin\Examples\ADSP-BF537 EZ-Kit
Lite\Getting Started Examples\Part_1_3\Sorts_1_3.dpj
. Again, the
new project builds on the project of the previous exercise, but now with
the entire application loading into the L1 memory of the ADSP-BF537
processor.
“Listing 1-3. Exercise 1, Part 3” on page 1-25
delineates the
new lines of code in italics. Significantly, the bulk of the
main()
function
is placed in a loop. The goal is to run the previous exercise at four differ-
ent voltages (see the
voltage_levels
struct declared above
main()
).
You again use the
Release
configuration for this exercise. Build and run
the program. It takes a minute or more to run the program to completion,
using
printf()
to output a table of results to the Vi+
Console
window. The results are shown in
L
Results may vary slightly on your computer.
The key observation are:
• As voltage increases, execution time decreases
• Cycle count remains constant regardless of the voltage
Figure 1-10. Sorts Results in Console Window
www.BDTIC.com/ADI