This document discusses the technical notes on using Analog Devices DSPs, processors, and development tools, specifically focusing on porting PC-based MP3 player software to ADSP-21262 SHARC® processors. It provides an overview of the features and characteristics of the ADSP-21262 processors.
The document provides a technical guide for migrating C code from a PC environment to the ADSP-21262 embedded platform. It details the differences in data I/O schemes, where file-based operations on PCs must be replaced with peripheral-based transfers on the SHARC processor.
Key optimization techniques covered include using DMA engines for real-time data transfer, leveraging dual data fetches and SIMD architecture to reduce cycle counts, replacing complex native instructions with efficient alternatives like right-shifts, and minimizing function call overhead through inline assembly.
The application note is based on experience gained while using the VisualDSP++ 3.5 tools suite.
The target platform for this porting guide was the ADSP-21262 EZ-KIT Lite evaluation system.
Divisions by factors of 2, 4, or 8 can be replaced with right-shift operations to reduce execution from approximately 40 cycles to a single cycle.