ANALOG DEVICES UG-177 Service Manual

Evaluation Board User Guide
One Technology Way P. O . Box 9106 Norwood, MA 02062-9106, U.S.A. Tel : 781.329.4700 Fax : 781.461.3113 www.analog.com
UG-177
Evaluating the ADAU1781 SigmaDSP using the EVAL-ADAU1781Z

EVAL-ADAU1781Z PACKAGE CONTENTS

ADAU1781 evaluation board EVAL-ADUSB2EBZ (USBi) communications adapter USB cable with Mini-B plug Evaluation board/software quick-start guide

DOCUMENTS NEEDED

ADAU1781 data sheet ADMP401 data sheet AN-1006 Applications Note, Using the EVAL-ADUSB2EBZ

EVALUATION BOARD TOP SIDE AND BOTTOM SIDE

GENERAL DESCRIPTION

This user guide explains the design and setup of the ADAU1781 SigmaDSP® evaluation board.
This evaluation board provides full access to all analog and digital I/Os on the ADAU1781. The SigmaDSP is controlled by Analog Devices, Inc., SigmaStudio™ software, which interfaces to the board via a USB connection. This evaluation board can be powered either over the USB bus or by a single 3.8 V to 6 V supply, which is regulated to the voltages required on the board. The PC board is a 4-layer design, with a single ground plane and a single power plane on the inner layers. The board contains on­board microphones and speaker, and connectors for external microphones and speaker. The master clock can be provided externally or by the on-board 12.288 MHz active oscillator.
Figure 1. Evaluation Board Top Side
PLEASE SEE THE LAST PAGE FOR AN IMPORTANT WARNING AND LEGAL TERMS AND CONDITIONS.
08314-001
Rev. 0 | Page 1 of 24
08314-002
Figure 2. Evaluation Board Bottom Side
UG-177 Evaluation Board User Guide

TABLE OF CONTENTS

EVAL-ADAU1781Z Package Contents .......................................... 1
Documents Needed .......................................................................... 1
General Description ......................................................................... 1
Evaluation Board Top Side and Bottom Side ................................ 1
Revision History ............................................................................... 2
Evaluation Board Block Diagrams ................................................. 3
Setting Up the Evaluation Board .................................................... 5
Installing the SigmaStudio Software .......................................... 5
Installing the USBi Drivers ......................................................... 5
Default Switch and Jumper Settings .......................................... 5
Powering Up the Board ............................................................... 6
Connecting the Audio Cables ..................................................... 6
Setting Up Communications in SigmaStudio ........................... 6
Configuring the Registers ........................................................... 6
Creating a Basic Signal Flow ........................................................7
Downloading the Program to the DSP.................................... 10
Using the Evaluation Board .......................................................... 11
Power ............................................................................................ 11
Master Clock ............................................................................... 11
Inputs and Outputs .................................................................... 11
GPIO ............................................................................................ 11
Serial Audio Interface ................................................................ 11
Communications Header .......................................................... 11
Power-Down ............................................................................... 11
Evaluation Board Schematics and Artwork ................................ 12
Ordering Information .................................................................... 21
Bill of Materials ........................................................................... 21

REVISION HISTORY

7/10—Revision 0: Initial Version
Rev. 0 | Page 2 of 24
Evaluation Board User Guide UG-177

EVALUATION BOARD BLOCK DIAGRAMS

POWER SUPPLY
REGULATION
BEEP
INPUT
ANALOG MI C
INPUTS
STEREO LINE
INPUT
DIGITAL MIC
INPUTS
SERIAL AUDIO
CONNECTOR
ACTIVE
OSCILLATOR
I2S/SPI
COMMUNICATIONS
HEADER
ADAU1781 SigmaDSP
MASTER CLOCK
SELECTOR
SPEAKER
CONNECTOR
ON-BOARD
SPEAKER
HEADPHONE
OUTPUT
SERIAL AUDIO
CONNECTOR
GPIO
08314-003
Figure 3. Functional Block Diagram
POWER
COMMUNICATIONS
HEADER
SERIAL AUDI O
CONNECTOR
SPEAKER
GPIO
MCLK
SPEAKER OUTPUTS
HEADPHONE OUTPUT
SELECT
ADAU1781 SigmaDSP
BEEP/MIC/STEREO LINE
INPUTS
08314-004
Figure 4. Board Layout Block Diagram
Rev. 0 | Page 3 of 24
UG-177 Evaluation Board User Guide
OSC
ST
IN
08314-005
Figure 5. Default Jumper and Switch Settings (A Solid Black Rectangle Indicates a Switch or Jumper Position)
Rev. 0 | Page 4 of 24
Evaluation Board User Guide UG-177

SETTING UP THE EVALUATION BOARD

INSTALLING THE SigmaStudio SOFTWARE

Users can download the latest version of SigmaStudio by completing the following steps:
1. Go to www.analog.com/sigmastudiodownload and fill in
the Email: and Software Key: boxes. You will get a software key with the evaluation board, or you can contact Analog Deviecs, Inc., at sigmadsp@analog.com to request a software key.
2. Chose which version of SigmaStudio you would like and
click Submit.
3. Download the installer file, open the file, and extract the
files to your PC.
4. Install the Microsoft .NET Framework if you do not
already have it installed.
5. Install SigmaStudio by double-clicking setup.exe and
follow the prompts.
Click Search for the best driver in these locations, select Include this location in the search, and click Browse to find the SigmaStudio 3.0\USB drivers directory (see Figure 8).

INSTALLING THE USBi DRIVERS

SigmaStudio must be installed to use the USBi. When SigmaStudio has been properly installed, connect the USBi to an available USB port with the included USB cable. At this point, Windows® XP recognizes the device and prompts the user to install drivers (see Figure 6).
08314-006
Figure 6. Found New Hardware Notification
Select the Install from a list or specific location (Advanced) option and click Next > (see Figure 7).
Figure 8. Windows Found New Hardware Wizard—Search and
Installation Options
When the warning about Windows Logo testing appears, click Continue Anyway (see Figure 9).
Figure 9. Windows Logo Testing Warning
The USBi drivers should now be installed successfully. Leave the USBi connected to the PC.
08314-008
08314-009
Figure 7. Found New Hardware Wizard—Installation

DEFAULT SWITCH AND JUMPER SETTINGS

By default, the evaluation board is configured for single-ended
8314-007
Rev. 0 | Page 5 of 24
stereo analog input and headphone output.
The J1, J10, J11, J13, and J14 jumpers must be connected. The GPIO jumper (J7) can be connected as desired to use GPIO circuitry.
Switch S3 (MCKI SOURCE) should be in the up (OSC) position, and Switch S4 (IN SELECT) should be in the right (ST_IN) position.
UG-177 Evaluation Board User Guide

POWERING UP THE BOARD

To power up the board, connect the ribbon cable of the USBi to J2 (CONTROL PORT) of the EVAL-ADAU1781Z.

CONNECTING THE AUDIO CABLES

Connect a stereo audio source to J19 (ST IN). Connect head­phones or powered speakers to J18 (HP OUT). The labels for J18 and J19 are only visible on the bottom of the board.

SETTING UP COMMUNICATIONS IN SIGMASTUDIO

Start SigmaStudio by double-clicking the shortcut on the desktop.
Click File…New Project or press Ctrl+N to create a new project. The default view of the new project is called the Hardware Configuration tab.
To use the USBi in conjunction with SigmaStudio, first select it in the Communication Channels subsection of the toolbox on the left side of the Hardware Configuration tab, and add it to the project space by clicking and dragging it to the right (see Figure 10).
08314-010
Figure 10. Adding the USBi Communication Channel
If SigmaStudio cannot detect the USBi on the USB port of the computer, then the background of the USB label will be red (see Figure 11). This may happen when the USBi is not connected or when the drivers are incorrectly installed.
If SigmaStudio detects the USBi on the USB port of the computer, the background of the USB label changes to orange (see Figure 12).
08314-012
Figure 12. USBi Detected by SigmaStudio
To add an ADAU1781 to the project, select it from the Processors (ICs / DSPs) list and drag it to the project space (see Figure 13).
08314-013
Figure 13. Adding an ADAU1781
To use the USB interface to communicate with the target IC, connect it by clicking and dragging a wire between the blue pin of the USBi and the green pin of the IC (see Figure 14). The corresponding drop-down box of the USBi automatically fills with the default mode and channel for that IC.
08314-011
Figure 11. USBi Not Detected by SigmaStudio

CONFIGURING THE REGISTERS

To access the graphical register control window, click the IC 1 – SigmaLP2 Register Controls tab near the bottom of the
window (see Figure 15).
Within the register control view, there are several tabs at the top for easy navigation. Start with the Codec Setup tab (see Figure 16).
Rev. 0 | Page 6 of 24
Figure 14. Connecting the USB Interface to an ADAU1781 IC
Figure 15. Register Control Tab
Figure 16. Codec Setup Register Tab
08314-014
08314-015
08314-016
Evaluation Board User Guide UG-177
9
In the Automatic Startup section, click Load Preset (see Figure 17).
08314-017
Figure 17. Load Preset Button
If the board is connected and powered and the USBi drivers are installed correctly, the PLL Lock Bit indicator to the left of the
Load Preset button should change to green to indicate that it is Locked (see Figure 18).
The rest of the register settings can remain at their default values.

CREATING A BASIC SIGNAL FLOW

To acc es s the Schematic tab, where a signal processing flow can be created, click the Schematic tab at the top of the screen (see Figure 21).
8314-021
Figure 21. Schematic Tab
The left side of the schematic view includes the Tree Tool box, which contains all of the algorithms that can run in the SigmaDSP. Select the Input cell from within the IO > Input folder (see Figure 22).
08314-018
Figure 18. PLL Lock Indicator
Click on the Record Input Signal Path tab (see Figure 19).
Figure 19. Record Input Signal Path
In the Record Gain Left (PGA) and Record Gain Right (PGA) sections, the Single ended Input Enable controls are disabled by default. Click each button once to enable the single-ended input (see Figure 20).
08314-01
08314-022
Figure 22. Input Cell Selection
Click and drag the Input cell into the blank schematic space to the right of the Tree Toolb ox (see Figure 23).
8314-023
Figure 23. Input Cell
8314-020
Figure 20. Record Path Controls
Rev. 0 | Page 7 of 24
UG-177 Evaluation Board User Guide
Navigate to the IO > Output folder and select the Output cell (see Figure 24).
8314-024
Figure 24. Output Cell Selection
Click and drag an output cell to the schematic. Do this again to create two outputs (see Figure 25).
Click and drag this cell to the schematic (see Figure 27).
Figure 27. Volume Control Cell
08314-027
By default, this cell only has one input channel and one output channel, as indicated by the green input and right output dots. To add a channel, right-click in the blank white part of the cell and select Grow Algorithm > 1. Gain (RC slew) Growable DP > 1 from the menu (see Figure 28).
08314-025
Figure 25. Output Cells
Navigate to the Volume Controls > Adjustable Gain > Single/ Multiple Controls/Clickless SW Slew folder and select the Growable Single Vol Ctrl cell (see Figure 26).
8314-026
Figure 26. Volume Control Cell Selection
Figure 28. Growing the Volume Control
The cell should now have two inputs and two outputs (see Figure 29).
08314-029
Figure 29. Stereo Volume Control Cell
8314-028
Rev. 0 | Page 8 of 24
Loading...
+ 16 hidden pages