Part 3: Tuning Application - Analog Devices ADSP-BF537 EZ-KIT Lite Getting Started

Hide thumbs Also See for ADSP-BF537 EZ-KIT Lite:
Table of Contents

Advertisement

3. The LwIP stack services the keystroke by passing it to our
thread (thread ID 8). Control moves between thread IDs 8
Cipher
and 2 to get the keystroke to the worker thread.
4. The
Caesar Cipher
Attenuator
5. In the meantime, another block of audio has become ready to pro-
cessor. Rather than returning to the (lower priority) Caesar Cipher
thread, control moves to the
is processed much like it was in step 2.
6. When the audio block is finished, control returns to the lower pri-
ority
Caesar Cipher
point.

Part 3: Tuning Application

Although we have plenty of available spare capacity in the application as
is, it is worth revisiting optimization techniques introduced in the earlier
chapters. The three "easy" ways to performance-tune this application are:
• Turn on the compiler's optimizations
• Enable the ADSP-BF537 processor's instruction cache
• Increase the speed at which the processor runs
Click the Target Load page of the VDK State History window. Observe
the percentage load over time. In its current non-optimized state, average
load is around 25%, sometimes peaking to 100% for brief periods of time
when processing Ethernet packets.
First, turn on the compiler's optimizations. Switch from the Debug con-
figuration to the Release configuration, then build, load, and run the
application. After a few seconds of audio, halt and revisit the Target Load
Getting Started with ADSP-BF537 EZ-KIT Lite
www.BDTIC.com/ADI
Controlling a real-time application via TCP/IP
thread posts a message (
(thread ID 6), where it is serviced.
Input
thread. Our breakpoint was set just after this
VOL_CHANGE
thread, and the block of audio
Caesar
) to the
3-13

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADSP-BF537 EZ-KIT Lite and is the answer not in the manual?

Table of Contents