Analog Devices ADAU1381 User Manual
Analog Devices ADAU1381 User Manual

Analog Devices ADAU1381 User Manual

Evaluation board

Advertisement

Quick Links

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

INTRODUCTION

This user guide explains the signal flow and parameter settings
for the ADAU1381 sound engine. The ADAU1381 is ideal for
low power portable applications, such as digital camera audio.
During the recording or playing back of audio, the sound
engine provides many signal processing features to improve
audio quality.

DIGITAL CAMERA SYSTEM OVERVIEW

Although the ADAU1381 is flexible enough to be used in
several types of portable audio applications, its design specifically
targets digital camera systems. The sound processing engine
was, therefore, designed especially with such a system in mind.
In general, digital cameras use audio processing when recording
or playing back video. When recording, one or more microphones
mounted in the camera or connected externally capture the
audio data, which is then stored in the memory along with the
video data. During playback or review mode, the audio data is
retrieved from memory and played back through a speaker
mounted in the camera or through a jack for headphones or
other external connections.
In record mode, the source is an audio transducer (microphone)
and the target is memory. In playback mode, the source is
memory and the target is an audio transducer (speaker). In
both modes, the sound engine is positioned between the source
and target, processing the signal to improve audio quality.
Because the required audio processing differs depending on the
operating mode of the camera, several audio processing modes
have been implemented in the sound engine of the ADAU1381.
AUDIO MODE
RECORD
INPUT
PLAYBACK
INPUT
Please see the last page for an important warning and disclaimers.
Using the ADAU1381 Sound Engine

SOUND ENGINE SIGNAL FLOW BLOCK DIAGRAM

ENHANCED
WIND NOISE
STEREO
REDUCTION
CAPTURE
Evaluation Board User Guide

AUDIO PROCESSING MODES

Record Mode
Record mode takes audio input from a microphone. Wind noise
reduction is applied to remove unwanted noise from the signal
and improve audio clarity. The enhanced stereo capture algorithm
provides improved stereo separation when microphones are
spaced close together. The six-band equalizer can be programmed
to augment bands of interest and filter out unwanted frequencies.
The dual-band dynamics processor acts as an automatic level
control, compensating for fluctuating input signal levels. The
processed signal is output to a digital storage medium.
Two record modes exist: Record A (REC A) and Record B (REC B).
The only differences between the two modes are the six-band
equalizer and the dual-band dynamics processor settings. The
two record modes allow for different audio recording profiles,
such as voice or music. The recording profile can be changed by
a single write to the RAM parameter.
Playback Mode
Playback mode takes audio input from the digital storage. The six-
band equalizer is used for frequency compensation with the output
speaker or headphones. The dual-band dynamics processor acts
as a compressor, allowing for suitable playback levels even in
noisy environments. The playback output includes a digital
volume control for output level adjustment.
SIX-BAND
EQUALIZER
Figure 1.
Rev. 0 | Page 1 of 40
DUAL-BAND
DYNAMIC
PROCESSOR
UG-030
RECORD
OUTPUT
PLAYBACK
OUTPUT

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADAU1381 and is the answer not in the manual?

Questions and answers

Summary of Contents for Analog Devices ADAU1381

  • Page 1: Introduction

    Record Mode This user guide explains the signal flow and parameter settings for the ADAU1381 sound engine. The ADAU1381 is ideal for Record mode takes audio input from a microphone. Wind noise low power portable applications, such as digital camera audio.
  • Page 2: Table Of Contents

    SigmaStudio Interface ..............3 Dual-Band Compression Page..........14     ADAU1381 Power-Up Sequence ..........3 SigmaStudio Tools ................27   Connecting the ADAU1381 Evaluation Board to the Changing Sample Rate ............... 27   Computer ..................3   Capture Window ................ 27  ...
  • Page 3: Sigmastudio Interface To The Sound Engine

    SigmaStudio includes built-in code and header file generation to 0. The parameters in the ADAU1381 memory do not match the tools that can greatly simplify integration in the host controller values shown in SigmaStudio until they are overwritten.
  • Page 4: Sound Engine Signal Processing Flow

    There is a single flag in the sound engine that outputs a high or source of the signals on the record inputs is the ADCs or digital a low logic signal on the GPIO pin of the ADAU1381. This microphones. Record Input 0 comes from the left ADC or Digital output is set by writing either a 0 or a 1 to the GPIO parameter.
  • Page 5 Sets the GPIO pin high/low (active high) Processing parameter Parameters The main page parameters are stored in RAM, as outlined in Table 3. These addresses can be directly accessed and modified via the control port of the ADAU1381. Table 3. Main Page Parameters Sample Rate Address...
  • Page 6: Wind Noise Reduction Page

    UG-030 Evaluation Board User Guide WIND NOISE REDUCTION PAGE Figure 10. Wind Noise Reduction Page Description such as from a fan blowing across, not directly onto, the microphones. The value can be entered by clicking the up/ The wind noise reduction page houses the wind noise reduction down arrows or by entering text directly in the box.
  • Page 7 Function selection Parameters The wind noise reduction page parameters are stored in RAM, as outlined in Table 5. These addresses can be directly accessed and modified via the control port of the ADAU1381. Table 5. Wind Noise Reduction Page Parameters Cell...
  • Page 8: Enhanced Stereo Capture Page

    UG-030 Evaluation Board User Guide ENHANCED STEREO CAPTURE PAGE Figure 16. Enhanced Stereo Capture Page Description The enhanced stereo capture (ESC) algorithm takes a stereo record signal and creates a wider stereo image. ESC is used as a recording algorithm to capture an enhanced stereo image from two closely spaced microphones.
  • Page 9: Equalization Filters Page

    The appropriate path is automatically selected when the mode is selected on the main page Equalization (EQ) filters are used to tune the frequency response of the recorded or played back audio signal. The ADAU1381 sound The switch on this page (filtS) can be used to completely bypass engine includes three, six-band EQ paths, one for playback and the EQFilter, if desired.
  • Page 10 UG-030 Evaluation Board User Guide When Show is clicked, it displays a filter matrix with three rows The Simulated Frequency Response window displays a and six columns (see Figure 22). calculated frequency response for each of the filter bands. It shows only one EQ curve at a time, the one corresponding to the filter mode that was last edited.
  • Page 11 Function selection Parameters The equalization filters page parameters are stored in RAM, as outlined in Table 9. These addresses can be directly accessed and modified via the control port of the ADAU1381. Table 9. EQ Page Parameters Sample Rate Address...
  • Page 12 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0041 EQFilter IndexSelMultBandAlg104b2 0x00, 0x71, 0xCB, 0x91, Biquad F0, 4 0x0042 0xFF, 0x2E, 0xCC, 0xE6, 0x0043 0x00, 0x81, 0xA0, 0xD2, 0x0044 0xFF, 0x8C, 0x93, 0x9D, 0x0045 0x00, 0xD1, 0x33, 0x1A 0x0046...
  • Page 13 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0073 EQFilter IndexSelMultBandAlg122b2 0x00, 0x00, 0x00, 0x00, Biquad F2, 2 0x0074 0x00, 0x00, 0x00, 0x00, 0x0075 0x00, 0x80, 0x00, 0x00, 0x0076 0x00, 0x00, 0x00, 0x00, 0x0077 0x00, 0x00, 0x00, 0x00 0x0078...
  • Page 14: Dual-Band Compression Page

    UG-030 Evaluation Board User Guide DUAL-BAND COMPRESSION PAGE Figure 30. Dual-Band Compression Page Description The dual-band compression page contains dynamic processors designed to alter the dynamic range of the audio signal during record or playback. To provide high audio quality, the input signal is sent into a crossover network that divides it into high and low bands.
  • Page 15 Evaluation Board User Guide UG-030 Detection Range Shift The detection range control shifts the range over which the compressor operates. The algorithm typically handles inputs ranging from −90 dB to +6 dB. Any inputs outside of this range have a linear input-to-output relationship, effectively ignoring the compression curve.
  • Page 16 UG-030 Evaluation Board User Guide Controls The ShiftLR control shifts the compression curve horizontally. The slider can be dragged to change the value (see Figure 36). The default value of 0 dB indicates that the transfer function displayed in the compression curve editor matches the processing in the sound engine.
  • Page 17 Evaluation Board User Guide UG-030 The Decay (dB/s) control sets the speed by which the gain Click on a point within the graph to display the Compression reduction ratio decays after the hold duration expires Curve Point Option menu. This is where large points can be (see Figure 4 added, removed, or fine-tuned (see Figure 47).
  • Page 18 Function selection Parameters The dual-band compression page parameters are stored in RAM, as outlined in Table 11. These addresses can be directly accessed and modified via the control port of the ADAU1381. Table 11. Dual-Band Compression Page Parameters Sample Rate...
  • Page 19 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0094 CrossLo EQwSubDualDP42B1 0x00, 0x00, 0x10, 0xA7 Crossover LPF filter coefficient 0x0095 CrossLo EQwSubDualDP41B1 0x00, 0x00, 0x21, 0x4E Crossover LPF filter coefficient 0x0096 CrossLo EQwSubDualDP40B1 0x00, 0x00, 0x10, 0xA7...
  • Page 20 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x00B2 LoDet_Filter EQwSubDualDP60B1 0x00, 0x00, 0x24, 0xE2 Crossover LPF detection path filter coefficient 0x00B3 LoDet_Filter EQwSubDualDP62A1 0x0F, 0x8B, 0xDA, 0xCC Crossover LPF detection path filter coefficient 0x00B4 LoDet_Filter...
  • Page 21 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x00CE HighPass_Comp PeakDBCompLUTAlgPG30tab 0x00, 0x05, 0x1A, 0x96, REC_Auto: 0x00CF 0x00, 0x04, 0xB6, 0x9B, compressor 0x00D0 0x00, 0x04, 0xAD, 0x54, curve points 0x00D1 0x00, 0x05, 0x55, 0x55, 0x00D2 0x00, 0x08, 0x55, 0xC1, 0x00D3...
  • Page 22 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x00F1 HighPass_Comp PeakDBCompLUTAlgPG31tab 0x00, 0x1D, 0xC7, 0xFA, REC_Manual: 0x00F2 0x00, 0x1F, 0xA6, 0x78, compressor 0x00F3 0x00, 0x24, 0xCD, 0xBF, curve points 0x00F4 0x00, 0x2D, 0xB0, 0xDE, 0x00F5 0x00, 0x3A, 0x4E, 0x7F, 0x00F6...
  • Page 23 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0114 HighPass_Comp PeakDBCompLUTAlgPG32tab 0x00, 0x80, 0x00, 0x00, Speaker: 0x0115 0x00, 0x80, 0x00, 0x00, compressor 0x0116 0x00, 0x80, 0x00, 0x00, curve points 0x0117 0x00, 0x80, 0x00, 0x00, 0x0118 0x00, 0x80, 0x00, 0x00, 0x0119...
  • Page 24 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0142 LowPass_Comp PeakDBCompLUTAlgPG40tab 0x00, 0x05, 0x1A, 0x96, REC_Auto: 0x0143 0x00, 0x04, 0xB6, 0x9B, compressor 0x0144 0x00, 0x04, 0xAD, 0x54, curve points 0x0145 0x00, 0x05, 0x55, 0x55, 0x0146 0x00, 0x08, 0x55, 0xC1, 0x0147...
  • Page 25 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0165 LowPass_Comp PeakDBCompLUTAlgPG41tab 0x00, 0x1D, 0xC7, 0xFA, REC_Manual: 0x0166 0x00, 0x1F, 0xA6, 0x78, compressor 0x0167 0x00, 0x24, 0xCD, 0xBF, curve points 0x0168 0x00, 0x2D, 0xB0, 0xDE, 0x0169 0x00, 0x3A, 0x4E, 0x7F, 0x016A...
  • Page 26 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0188 LowPass_Comp PeakDBCompLUTAlgPG42tab 0x00, 0x80, 0x00, 0x00, Speaker: 0x0189 0x00, 0x80, 0x00, 0x00, compressor 0x018A 0x00, 0x80, 0x00, 0x00, curve points 0x018B 0x00, 0x80, 0x00, 0x00, 0x018C 0x00, 0x80, 0x00, 0x00, 0x018D...
  • Page 27: Sigmastudio Tools

    CHANGING SAMPLE RATE The Capture window displays all communications between the PC and the control port of the ADAU1381 (see Figure 54). It is To change the sampling rate of the system, complete the a useful tool for debugging and monitoring communications.
  • Page 28: Export Parameter And Register Settings

    UG-030 Evaluation Board User Guide Figure 58 shows an example sequence that changes the playback SIGMASTUDIO HELP FILE volume control (slewvol cell) gain value to −52 dB. SigmaStudio includes a Help file that further describes many of the algorithms and design functions described in this user guide. Access the Help file through the toolbar or by highlighting a Figure 58.
  • Page 29: Full Parameter Map

    Evaluation Board User Guide UG-030 FULL PARAMETER MAP Table 12. Full Parameter Map with Default Values for f = 48 kHz Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0009 audioMode DCInpAlg1 0x00, 0x00, 0x00, 0x00 Set record/playback mode 0x000A...
  • Page 30 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0028 Locked Cell param6 0x00, 0x7B, 0x1A, 0x7E Locked parameter (generated by SigmaStudio) 0x0029 MicDistance Gain1940AlgNS1 0x00, 0x80, 0x00, 0x00 Gain setting related to the distance between microphones that enhances the...
  • Page 31 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0050 EQFilter IndexSelMultBandAlg111b2 0x00, 0x7D, 0xEB, 0x86, Biquad F1, 1 0x0051 0xFF, 0x02, 0x83, 0x95, 0x0052 0x00, 0x7F, 0xC2, 0xF7, 0x0053 0xFF, 0x82, 0x51, 0x83, 0x0054 0x00, 0xFD, 0x7C, 0x6B 0x0055...
  • Page 32 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x008E filtS stereomux1940ns10 0x00, 0x00, 0x00, 0x00 On/off (burst write Address 0x008E and Address 0x008F together) 0x008F filtS stereomux1940ns11 0x00, 0x80, 0x00, 0x00 On/off (burst write Address 0x008E and Address 0x008F...
  • Page 33 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x00A8 CrossHi EQwSubDualDP31B2 0x0F, 0x08, 0x29, 0x18 Crossover HPF filter coefficient 0x00A9 CrossHi EQwSubDualDP30B2 0x00, 0x7B, 0xEB, 0x74 Crossover HPF filter coefficient 0x00AA CrossHi EQwSubDualDP32A2 0x0F, 0x88, 0x07, 0xC9...
  • Page 34 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x00C4 HiDet_Filter EQwSubDualDP51B2 0x0F, 0x05, 0x76, 0x40 Crossover HPF detection path filter coefficient 0x00C5 HiDet_Filter EQwSubDualDP50B2 0x00, 0x7D, 0x44, 0xE0 Crossover HPF detection path filter coefficient 0x00C6 HiDet_Filter...
  • Page 35 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x00F1 HighPass_Comp PeakDBCompLUTAlgPG31tab 0x00, 0x1D, 0xC7, 0xFA, REC_Manual: 0x00F2 0x00, 0x1F, 0xA6, 0x78, compressor 0x00F3 0x00, 0x24, 0xCD, 0xBF, curve points 0x00F4 0x00, 0x2D, 0xB0, 0xDE, 0x00F5 0x00, 0x3A, 0x4E, 0x7F, 0x00F6...
  • Page 36 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0114 HighPass_Comp PeakDBCompLUTAlgPG32tab 0x00, 0x80, 0x00, 0x00, Speaker: 0x0115 0x00, 0x80, 0x00, 0x00, compressor 0x0116 0x00, 0x80, 0x00, 0x00, curve points 0x0117 0x00, 0x80, 0x00, 0x00, 0x0118 0x00, 0x80, 0x00, 0x00, 0x0119...
  • Page 37 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0142 LowPass_Comp PeakDBCompLUTAlgPG40tab 0x00, 0x05, 0x1A, 0x96, REC_Auto: 0x0143 0x00, 0x04, 0xB6, 0x9B, compressor 0x0144 0x00, 0x04, 0xAD, 0x54, curve points 0x0145 0x00, 0x05, 0x55, 0x55, 0x0146 0x00, 0x08, 0x55, 0xC1, 0x0147...
  • Page 38 UG-030 Evaluation Board User Guide Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0165 LowPass_Comp PeakDBCompLUTAlgPG41tab 0x00, 0x1D, 0xC7, 0xFA, REC_Manual: 0x0166 0x00, 0x1F, 0xA6, 0x78, compressor 0x0167 0x00, 0x24, 0xCD, 0xBF, curve points 0x0168 0x00, 0x2D, 0xB0, 0xDE, 0x0169 0x00, 0x3A, 0x4E, 0x7F, 0x016A...
  • Page 39 Evaluation Board User Guide UG-030 Sample Rate Address Cell Name Parameter Name Default Value Function Bytes Dependent? 0x0188 LowPass_Comp PeakDBCompLUTAlgPG42tab 0x00, 0x80, 0x00, 0x00, Speaker: 0x0189 0x00, 0x80, 0x00, 0x00, compressor 0x018A 0x00, 0x80, 0x00, 0x00, curve points 0x018B 0x00, 0x80, 0x00, 0x00, 0x018C 0x00, 0x80, 0x00, 0x00, 0x018D...
  • Page 40 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Analog Devices reserves the right to change devices or specifications at any time without notice.

Table of Contents