digital audio processor ac-dap...tstg, tj storage temperature + 80 c stresses beyond those listed...

34
Digital Audio Processor AC-DAP Digital Audio Processor for two-, three, or four-way Speaker Systems © AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 1 Description / Novel Features The purpose of the compact, high-end, audio processor AC-DAP is to generate the appropriate driving signals for a Doppler compensated two-way, three-way, or four- way speaker system. The AC-DAP shows an excellent linearity and extremely low distortion and noise (better -100 dB THDN), combined with a perfect flat audio frequency response. The block diagram in Figure 2 visualizes the main building blocks. The AC-DAP receives the audio input as single ended or symmetric signal. In order to maximize the dynamic range of the ADC the input sensitivity of each input can be selected for studio or consumer audio levels. A band pass filter in the input circuitry determines the noise bandwidth between 2Hz and 120kHz and rejects out of band spurious signals. Differential amplifiers with high common mode rejection ratio deliver the two symmetrical audio signals to differential input 24 bit Analog Digital Converters. The anti- aliasing filtering is mainly done with digital filters at a high oversampling rate and an upper corner frequency close to half of the sampling rate. For the description of the Core Digital Audio Processor see below. Eight 24 bit Digital to Analog Converters feed their signals to eight output filters and driver stages with a bandwidth of 2 Hz to 120 kHz in order to avoid linear distortions. Eight single ended, or four symmetrical outputs can be configured via software. These driver stages are perfectly suited to feed the AudioChiemgau Power Modules (AC-PAZ75 adapted impedance power module and/or AC- Digital Audio Processor AC-DAP 2 x 6 VAC or 2 x 9VDC Supply Voltage Extremely Low Distortion and Noise: - 100dB THDN Two symmetrical Audio Inputs with Selectable Sensitivity (Studio & Consumer) S/PDIF optical input Eight independent single-ended outputs or Four symmetrical outputs Optical S/PDIF-Input On-board Muting/Standby-Sequencer with Control Inputs and Outputs and Audio Signal Presence Detection (ASD) Programmable via Analog Devices SigmaStudio® Graphical User Interface No DSP Programming Knowledge Required On-board self-boot function or A/B Testing with SigmaStudio® On-board 8-Bit AVM Microprocessor for general control purpose and display support via I 2 C Various user configurable elements (LEDs, Potentiometers and DIP-Switches) RoHS compliant, IPC-A-600 Class 2 and IPC-A-610 Class 2 Figure 1: Digital Audio Processor AC-DAP for two-, three-, or four-way speaker systems with or without Sub-Woofer

Upload: others

Post on 04-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 1

Description / Novel Features

The purpose of the compact, high-end, audioprocessor AC-DAP is to generate theappropriate driving signals for a Dopplercompensated two-way, three-way, or four-way speaker system. The AC-DAP shows anexcellent linearity and extremely lowdistortion and noise (better -100 dB THDN),combined with a perfect flat audio frequencyresponse.

The block diagram in Figure 2 visualizes themain building blocks.

The AC-DAP receives the audio input as singleended or symmetric signal. In order tomaximize the dynamic range of the ADC theinput sensitivity of each input can be selectedfor studio or consumer audio levels. A bandpass filter in the input circuitry determines thenoise bandwidth between 2Hz and 120kHzand rejects out of band spurious signals.

Differential amplifiers with high commonmode rejection ratio deliver the twosymmetrical audio signals to differential input24 bit Analog Digital Converters. The anti-aliasing filtering is mainly done with digitalfilters at a high oversampling rate and anupper corner frequency close to half of thesampling rate.

For the description of the Core Digital AudioProcessor see below.

Eight 24 bit Digital to Analog Converters feedtheir signals to eight output filters and driverstages with a bandwidth of 2 Hz to 120 kHz inorder to avoid linear distortions.

Eight single ended, or four symmetricaloutputs can be configured via software. Thesedriver stages are perfectly suited to feed theAudioChiemgau Power Modules (AC-PAZ75adapted impedance power module and/or AC-

Digital Audio Processor AC-DAP

2 x 6 VAC or 2 x 9VDC Supply Voltage Extremely Low Distortion and Noise:

- 100dB THDN Two symmetrical Audio Inputs with

Selectable Sensitivity (Studio & Consumer) S/PDIF optical input Eight independent single-ended outputs or Four symmetrical outputs Optical S/PDIF-Input On-board Muting/Standby-Sequencer with

Control Inputs and Outputs and Audio SignalPresence Detection (ASD)

Programmable via Analog Devices SigmaStudio®Graphical User Interface

No DSP Programming Knowledge Required On-board self-boot function or A/B Testing

with SigmaStudio® On-board 8-Bit AVM Microprocessor for general

control purpose and display support via I2C Various user configurable elements (LEDs,

Potentiometers and DIP-Switches) RoHS compliant, IPC-A-600 Class 2 and

IPC-A-610 Class 2

Figure 1: Digital Audio Processor AC-DAP for two-,three-, or four-way speaker systems with or

without Sub-Woofer

Page 2: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 2

PAR75 power module with on-board motionfeedback control loop).

The internal outputs carry also MUTE andSTBY signals for the AC-PAZ75 or AC-PAR75amplifiers.

An optical input is provided (TosLink) whichinterfaces trough a synchronization circuitrydirectly with the digital processor core.

An integrated digital controller is responsiblefor ensuring an un-audible ON/OFF switchingsequence controlled by the on-board audiosignal presence detector, or by externalsignals. Temperature monitoring of themodule is implemented as well as a powersaving stand by function.

Figure 2: Block Diagram of the Digital Audio Processor AC-DAP

Figure 3 shows examples of functions, which can be easily implemented with the AC-DAP. The shownconfiguration would be used for a 4-way audio system or for 3-way audio system with sub-woofer.

Page 3: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 3

Figure 3: Examples of implementable functions

Figure 4 shows the easy programming of the AC-DAP through the Analog Devices SigmaStudio®graphical user interface. The example shows the implementation of a 3-way speaker system withsymmetrical outputs for the power modules.

The user is free to route signals arbitrarily between all three inputs and the eight outputs.

SigmaStudio® offers a wealth of useful function blocks.

It is easy to implement even sophisticated processing steps as the compensation of the Dopplereffect, which any moving speaker membrane generates - a world first innovation fromAudioChiemgau.

Page 4: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 4

Figure 4: Example of programming the AC-DAP through the SigmaStudio® Graphical User Interface

Figure 5 shows the corresponding frequency response. The sum of the filter outputs is for allfrequencies constant (constant voltage filter).

Figure 5: Frequency response of the example filter implementation

Page 5: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 5

Detailed description and Application Information

The AC-DAP is operated typically with twoequal 6 VAC voltages. Two separate windingsof an AC transformer, or a middle tappedsecondary winding can be used.

The analog audio input signal is feed to adifferential input amplifier stage with highcommon mode signal rejection in order toavoid ground loops. A connection betweenthe driving source ground and the AC-DAPground (e.g. through pin 1 of the XLRconnector) is therefore necessary in order toestablish a common GND reference.

In order to simplify building a completeloudspeaker box with e.g. one tweeter andone or two mid-range speakers and one orseveral woofers, a dedicated star-groundingscheme is implemented for an optimumresult. The AC-DAP board offers a star ground,which is realized by the input and outputconnectors in combination with the dedicated4-port connector X5. All GND reference linesfrom the differential input AudioChiemgaupower amplifiers AC-PAR75 and AC-PAZ75 areconnected to the star ground via dedicated 5pin connectors. All pin 1 of the XLR connectors(e.g. input connectors X1/2 and X2/2) shouldbe connected to the star ground via X5 aswell, as any additional equipment groundstoo. This guarantees the absence of groundloops.

The AC-DAP is optimized for the combinationwith the amplifier modules AC-PAZ75 for thetweeter, one or several AC-PAR75 for the mid-range speakers and one, or several AC-PAR75the woofer(s). For these differential inputpower modules the 8 output channels of theAC-DAP should be configured as symmetricaloutput pairs, as shown in the example inFigure 4.

A digital optical S/PDIF interface is providedvia a TosLink connector. A dedicatedsynchronization unit feeds the digital signalsto the digital processor core for furtherprocessing.

On-Board controller

The additional on-board microprocessorserves inter alia as sequencer for the handlingof the STBY and MUTE function as well as forthe signaling of operation mode and status.The AC-DAP features an auto on functionthrough the detection of the input signal andan auto off function after 10 Minutes withoutinput signal. This function is dubbed AudioSignal Detection (ASD).

As default the ASD function is enabled andmay be disabled with an installed jumperX101.

In case the MUTE-Signal is pulled down byexternal equipment during power-on of theAC-DAP the system will start in OFF-Modeuntil release of the MUTE-Signal.

In case the MUTE-signal is open and notactivated during power-on, the system will beactivated and connected equipment will beswitched on in a defined sequence.

With active ASD the system will stay in ON aslong as an audio signal above the S/Wimplemented threshold will be detected. Incase the signal is long enough under thethreshold the controller changes the status toSTBY after 8 minutes and after additional twominutes the system switches to OFF.

Furthermore the system could be controlledby the MUTE-Signal independent from theaudio input signal. In case the MUTE signal ispulled down for more than 10 minutes, thecontroller will switch the system to OFF.

All implemented durations and thresholds forON and OFF could be changed easily (valuesstored in the EEPROM of the on-boardcontroller).

Mute (MUTE), standby (STBY) and OFF will beindicated by different signals of the connectedtwo color LED (see table on page 14).

Page 6: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 6

Support for optional Displays

An I2C on-board interface allows connecting avarious display types showing the operatingmode, the temperature, the audio level and acustomer defined logo. See the followingexample for a possible implementation anddisplay content of such a display.

This example shows the simplest solution witha four line alphanumeric display.

Supported are also graphical displays withmonochrome as well as color displaysincluding touch function to control thedifferent modes of the Audio Processor. Alldisplays are available with differentresolutions and different sizes.

Figure 6: 3.2” Color Display withfour touch buttons

Please contact AudioChiemgau for availabledisplay types, display colors or contentchanges.

Temperature Monitoring

An over temperature monitoring of themodule is implemented. In that case themodule as well as external connectedequipment will be switched OFF via theremote-control lines (see below). After coolingdown, the system will be reactivated. Over

temp condition will be indicated by the status(LED2) or the optional display.

Remote ON/OFF control outputs

Two remote control lines (ON/OFF) forexternal equipment are also available. Theoutputs are under control of the on-boardprocessor, are short circuit protected anddesigned to drive 12V relays directly with upto 40mA load current.

In OFF-mode the internal supply voltage forthe module itself is switched off in order toreduce power consumption to an absoluteminimum.

The background illumination of an optionallyconnected display will also be switched off 15seconds after the system switches to OFF.

Page 7: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 7

Figure 7: Example for Tiny Display

Customer / User Adjustments by hardware:

1. Jumpers for sensitivity selection of the input differential amplifiers

2. Up to three independent trimmers located on-board.

Up to two connectable to external potentiometers as input to the DSP.

These Signals may be used for any user defined DSP-Function

3. Four DIP-Switches available for selectable user defined DSP-Functions

(one reserved for the activation of the Self-boot option)

Page 8: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 8

Absolute Maximum Ratings (Tamb = 25°C; unless otherwise specified)

Symbol Parameter Value Unit

Vs AC supply voltage (two symmetrical transformer windings) 12 Vrms

Top Operating ambient temperature range 0 to +50 °C

VOD Open drain voltage in high state (MUTE/STBY) 35 V

Tstg, Tj Storage temperature + 80 °C

Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module.

Electrical Characteristic (Tamb = 25°C; f = 1kHz; unless otherwise specified)

Symbol Parameter Min Typ Max Unit

VsAC supply voltage range

Two identical transformer windings,or mid tapped secondary winding

6 8 10 Vrms

IsOFF Supply current in OFF (idle) 20 35 mA

Isoperating Supply current in nominal operation 1) 200 300 500 mA

PS Required AC power per winding 10 VA

Audio Input Left or Right Channel

Rid Differential input resistance (AC) 100 kΩ

Ri0 Input resistance to GND (AC) 50 kΩ

VCM Input common mode range ±4 V

VISInput sensitivity for 2V differential outputVoltage, selectable by jumpers 0,2 2 V

VASD ASD Sensitivity/Threshold of VIS

(adjustable by firmware)

0,1(TBC)

mV

Standby & MUTE Function (open Drain driver with pull-up)

IOL Low-level sink current capability 20 mA

VOH Output voltage in high-state 2) 4,3 4,7 13 V

1 ) Without external loads on the remote control driver(s) and without display2 ) See interface description for more details

Page 9: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 9

Symbol Parameter Min Typ Max Unit

External Error and Status Indicator

ILED1 LED operating current 3) 1,5 mA

Remote Control Output Driver

INOM Nominal driver capability 40 4) mA

Vout Output Voltage Driver active

With typical supply voltage Vs14 16 18 V

Imax Max output current before switch off 65 mA

I0 Short circuit output current (fold back) 15 mA

VOFF Output Voltage Driver OFF -0,5 -0,2 +0,5 V

Over Temperature Detection and Turn ON/OFF

TOFF Switch OFF temperature +65 +70 +75 °C

TONHY Switch ON Hysteresis 4 K

3 ) Adjustable by R101 and R1064 ) Also deliverable with higher drive capability

Page 10: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 10

PCB Layout and Mechanical Support

The complete circuit is realized on a multi-layer PCB with the dimensions of 150mm x 80mm. ThePCB provides five mounting holes as shown in the figure below.

Figure 8: Layout of the PCB, top view and populated as AC-DAP

Figure 9 shows an optional flange for vertical mounting of the module.

Figure 9: Optional Flange for vertical mountingof the module

The mounting flange provides on the smallside (upper sketch) three metrical threadsM3.

Both sides have flat surfaces; there are noprotruding elements.

The flange is not necessary for any coolingpurpose.

Page 11: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 11

Mechanical Characteristic (AC-DAP PCB without mounting flange)

Symbol Parameter Min Typ Max Unit

X Module Dimension X 149 150 151 mm

Y Module Dimension Y 79 80 81 mm

H Module Height H 45 mm

W Module Weight(including mounting flange)

327 g

Page 12: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 12

Electrical Interfaces

Connector Types, Jumpers and Interface Description

Connector Parameter/Signal Typ Wire Size

X1 Audio input interface for leftrespectively right channel Molex Pin - KK - 1x3-pol

- 22-27-2031 (straight)

-

X2 Audio input interface for leftrespectively right channel -

X3 AC Power Supply WAGO 250-2040,2 – 1,5mm²

AWG 24-16

X4 Remote control output WAGO 233-504 0,08 – 0,5mm²AWG 28-20

X5 GND connection (Star Point) WAGO 250-2040,2 – 1,5mm²

AWG 24-16

X201X202X203X204

Selection of audio input sensitivity Pin Header 1x3RM 2,54mm -

X6 Connector for external control(MUTE/STBY)

Pin Header 1x3RM 2,54mm -

X101Enable/Disable ASD-Function

Installed: ASD disabledPin Header 1x3

RM 2,54mm -

X102 I2C-Interface (reserved) Pin Header 2x3RM 2,54mm -

X104 Connector for external two colorLED (option)

Pin Header 1x3RM 2,54mm -

X105 SPI-Interface (reserved) Pin Header 2x3RM 2,54mm -

X301 Interface for externalpotentiometer

Molex Pin - KK - 1x3-pol- 22-27-2031 (straight) -

X302 Interface for externalpotentiometer

Molex Pin - KK - 1x3-pol- 22-27-2031 (straight) -

SV1SV2SV4

Audio out, with MUTE and Standbyto Power Amplifier

Molex Pin - KK - 1x5-polig - 22-05-7058

(bent)-

SV1, SV2,

SV3, SV4,

SV5, SV6

Audio out, with MUTE and Standbyto Power Amplifier

Molex Pin - KK - 1x5-polig - 22-27-2051

(straight)-

Page 13: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 13

Connector Parameter/Signal Typ Wire Size

J501 Audio signal Monitor-Out Jack plug 3,5mm CUISJ1-3525NG -

LW301 S/PDIF digital audio inputS/PDIF / TOSLINK

optical cable-

SV301 DSP Control Port Header 2x5 pin four-wall header Connection toEVAL-ADUSB2EBZ

Interface: AC Power Supply and Connector Pinout (X3)

X3Pin

Parameter/Signal Remark

L1 AC Input A (or positive DC supply) L2 and L3 could be connected to use transformerwith center tap

For proper power drop detection take care ofpolarity in case of DC supply.

L2 Return A internally connected to L3

L3 Return B internally connected to L2

L4 AC Input B (or negative DC supply)

Figure 10: AC Input Circuit Diagram

Page 14: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 14

Interface: Optional External Status Indicator LED Connector Pinout (X104)

The module offers a status indication output for an external LED (e.g. white LED) and a second LEDinterface for fault condition indication (e.g. red LED). If not used, short the connector of the white inorder to activate the on-board LED, or let the connector open if no indication is required. Both LEDscould be realized with a two-color LED with common anode (e.g. OptoSupply, Part NumberOSRMMA7K91B).

X104Pin

Parameter/Signal Remark

X104-1 Cathode of indicator LED2 (red) If no second (red) LED is implemented the LED1will flash in case of failure condition

X104-2 Common contact (anode) for bothLEDs

Open: on-board indicator disabled

Closed: on-board indicator active

LED: Connect to additional LED for externalindication

X104-3 Cathode of indicator LED1 (white)

The AC-DAP (V1) provides a status indication by the internal LED1 and an optional external LEDsupported by a second LED2 which could be connected to the module. Both will be used for signalingof the different states of the audio processor and the connected equipment. In nominal operationthe white LED is permanently on and they will flash for signaling of certain nominal operating statesor during failure condition:

Flashing Status Remark

1 (white) System in MUTE System in nominal operation (no failurecondition)2 (white) System in Standby

3 (white) System waiting for DSP Boot System switched ON but not ready – waiting for(self-)boot of DSP

4 (red) 5) Over Temperature (>60°C) Over temperature detected - module switched toOFF for its own protection

OFF: The LED1 (white) will “breathe” every 10 seconds to indicate a powered system in idle mode.

Interface: Audio Out and Control Connector Pinout (SV1, SV2, SV3, AV4, SV5, SV6 and J501)

The AC-DAP (V1) provides up to seven interface connectors for connecting of independent amplifierslike the AC-PAZ75 or AC-PAR75.

The Module is available in two configurations:

Up to six connectors (SV1 till SV6) with single-ended output drivers Up to three connectors (SV1, SV2 and SV4) with symmetrical output drivers

5 ) In case no red LED is connected the white LED will flash four times

Page 15: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 15

An additional 3.5mm jack-plug (J501) carries two further output signals (e.g. for headphones)

The interfaces are connected in parallel for MUTE and STBY signals.

SV1-6Pin

Parameter/Signal Remark

1 MUTE Output Could be used to control external poweramplifiers like AC-PAZ75 and AC-PAR75

(see chapter below for more details)2 STBY Output

3 GND Directly connected to the Star Point of theModule

4 NF (Audio) Output negative

5 NF (Audio) Output positive

Figure 11: General Audio Output Interface

Standby (STBY) and Muting (MUTE)

The module offers two independent output lines for Standby and Muting. Both outputs are realizedas Open Drain outputs with implemented pull-up resistors and are active low. They can serve asoutputs in order to synchronize external power amplifiers like AC-PAZ75 and/or AC-PAR75.

The circuit dedicated to the switching on and off of the amplifier has been carefully optimized toavoid any kind of uncontrolled audible transient at the output during settling of the internal controlloops, especially for the amplifiers AC-PAZ75 and AC-PAR75.

If not used, both control outputs may be left open

Page 16: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 16

Figure 12: MUTE Output Interface (Standby identical if populated)

Normally the AC-DAP delivers 5V in high-state but external pull-up resistors can be used to handleexternal receivers with higher input voltages.

System with MUTE-Switch or Audio Signal Detection (ASD):

Optionally the system may be controlled by an external (manual) MUTE switch, which may beconnected to X6.

In case the MUTE switch is closed and the system will be powered the equipment will stay in OFF andthe Audio Signal Detection (ASD) will be ignored. After turn-on sequence the system will stay inMUTE until the MUTE switch will be opened. With closed MUTE switch the system will turnautomatically in STBY after 8 Minutes and change to OFF after 10 Minutes. Then the system can beactivated by the MUTE switch again.

In case the MUTE switch is open during power on the equipment will turn to ON immediately and theAudio Signal Detection (ASD) will be enabled. This will initiate a sequence to turn on the wholeequipment including external equipment under control of the remote control output(s) on X4. Is noaudio signal detected above the threshold for 8 Minutes the system will change to STBY and afterfurther two minutes the on-board controller of the AC-DAP will turn OFF the system. X6 provides theinterface to connect external switches to handle MUTE and/or STBY.

Interface: External MUTE/STBY (X6)

X6Pin

Parameter/Signal Remark

1 MUTE Connect MUTE (Pin1) and/or STBY (Pin3) to GNDto activate the function

Could be used to connect external switch(es)2 GND

3 STBY

Page 17: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 17

Interface: Remote Control Output (X4)

X4Pin

Parameter/Signal Remark

1 Remote Control Out Channel 1 (N)

E.G. to be used for power switching of the poweramplifier(s) transformer

2 Remote Control Out Channel 1 (P)

3 Remote Control Out Channel 2 (P)

4 Remote Control Out Channel 2 (N)

The module offers one low-side driver for control (switch ON/OFF) of unit internal or externalequipment. The output is under control of the on-board processor and its firmware. The output iscapable to drive relays directly and is short circuit proof with fold-back characteristic.

Figure 13: Relay driver stage for 2-channel ON/OFF remote control

The connection of any output lines to system ground should be avoided. The load (normally any relayor solid-state switch) should be ground free.

Page 18: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 18

Figure 14: Recommended power distribution and control configuration

Interface: Audio Input Connector Pinout (X1/X2)

X1/X2Pin

Parameter/Signal Remark

1 Audio Input positive

2 GND On PCB internally connected to the Module StarPoint

3 Audio Input negative

Figure 15: One Channel Audio Input Interface

The positive audio input is taped for the Audio Signal Detection (ASD) circuit

Page 19: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 19

Interface: External Potentiometers (X302 and X312)

X302X312Pin

Parameter/Signal Remark

1 +3V3A (positive Supply)Recommended value for external potentiometer10kΩ2 Potentiometer center tap

3 Signal Ground (GND)

Remark: If used by external units the internal potentiometers R311 and R322 should be not populated

Interface: DIP-Switch SW301

The DIP-Switch SW301 is located on the module board and may be used if necessary.

SW301 Parameter/Signal Remark

1 Activation Self-Boot Self-Boot is activated if switch is open (OFF)

2 General Purpose Switch Connected to DSP GPIO6

3 General Purpose Switch Connected to DSP GPIO7 and LED303

4 General Purpose Switch Connected to DSP GPIO8

Remark: The switch operates with internal pull-up resistors (closed/ON = low signal)Remark: Switch 3 is connected in parallel with the LED303 (if LED should be used active bythe DSP the switch shall remain in open (OFF) position)

Interface: Available DSP GPIOs and their assigned function

GPIO Parameter/Signal Remark

MP5 CTRL0 (DSP Ready) Connected to ATmega PD0

MP6 DIP-Switch SW301/2 Low Signal if switch is “ON”

MP7 LED2/DIP-Switch SW301/3 Low Signal if swich is “ON” and connected toLED2 on AC-DAP (H = LED ON)

MP8 DIP-Switch SW301/4 Low Signal if switch is “ON”

MP9 CTRL1 Connected to ATmega PD2 (not used)

MP11 LED1 Connected to LED1 on AC-DAP (H = LEDON)

MP12 STBY Status-Information “STBY” (Low when system isin STBY)

MP13 MUTE Status-Information “MUTE” (Low when system isin MUTE)

Page 20: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 20

Interface: Linear/Potentiometer Assignments to DSP ADC inputs

AUXADC Potentiometer/Connector Remark

0 R311 / X302See table above for connector pin assignment

1 R344 / X312

2 R325

MP5 shall be driven by the following configuration:

SigmaStudio® Configuration Remark

DSP ready after boot process

Register Control / Multipurpose

LED-Support: LED301, LED302 and LED303:

Three LEDs are provided on the module board.

LED Parameter/Signal Remark

LED301 Control Port Header (USB-Interface)connected

LED302 General Purpose LED Connected to DSP GPIO11 (ON if DSP output ishigh)

LED303 General Purpose LED Connected to DSP GPIO7 (ON if DSP output ishigh)

Remark: LED303 is connected in parallel with the DIP-Switch SW301/3 (if LED should be usedactive by the DSP the switch shall remain open (OFF) position)

Page 21: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 21

General Issues for DSP-Programming in Analog Device SigmaStudio® Environment

The following input port configuration should be used:

Input Parameter/Signal Remark

0 Input X1 Input ADC1L on AD1938

1 Not used -

16 Input X2 Input ADC2L on AD1938

17 Not used -

The following output port configuration should be used in differential output configuration:

Output Parameter/Signal Remark

0 Output Connector SV1/5 Positive Audio Signal Ch1

1 Output Connector SV1/4 Negative Audio Signal Ch1

16 Output Connector SV2/5 Positive Audio Signal Ch2

17 Output Connector SV2/4 Negative Audio Signal Ch2

32 Output Connector SV4/5 Positive Audio Signal Ch3

33 Output Connector SV4/4 Negative Audio Signal Ch3

40 Output Connector J501 tip Positive Audio Signal Ch4

41 Output Connector J501 ring Negative Audio Signal Ch5

The following output port configuration should be used in single-ended outputconfiguration:

Output Parameter/Signal Remark

0 Output Connector SV1/5 Positive Audio Signal Ch1 (SV1/4 GND)

1 Output Connector SV6/5 Positive Audio Signal Ch2 (SV6/4 GND)

16 Output Connector SV2/5 Positive Audio Signal Ch3 (SV2/4 GND)

17 Output Connector SV3/5 Positive Audio Signal Ch4 (SV3/4 GND)

32 Output Connector SV4/5 Positive Audio Signal Ch5 (SV4/4 GND)

33 Output Connector SV5/5 Positive Audio Signal Ch6 (SV5/4 GND)

40 Output Connector J501 tip Positive Audio Signal Ch7

41 Output Connector J501 ring Negative Audio Signal Ch8

Page 22: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 22

For further details of the programming with SigmaStudio® support see separate manual.

Configuration and self-boot memory content as factory setting

The following schematic shows a basic function, which is implemented in DSP as factorysetting. This content will be loaded in self-boot mode (DIP-Switch SW301/1 OFF) at startupor after reset cycle.

Figure 16: Preliminary self-boot content at time of delivery (Version 1.2)

Page 23: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 23

Basic Function after self-boot in factory configuration

In the basic configuration only the monitor output (3,5mm jack plug) will deliver a signal from bothinputs X1 and X2 (stereo).

In differential configuration SV1, SV2 and SV4 will deliver the signal present on X1.

Depending on the settings on DIP-Switch SW301 the DSP will deliver the following output signals:

DIP-Switch Settings:

1: Self-Boot (OFF: Enabled)

2: Test LED (ON: LED303 ON)

3: Not used (don´t change)

LED302 is used as clipping indicator

4: Output:

OFF: Input Signal

ON: 1kHz Sinus

The Output-Volume could be adjusted by R325.

With activated MUTE the DSP will not deliver any output signal.

LED Function:

LED302: Signal Clipping

LED303: Test purpose. To be activated by DIP-Switch SW301/2

Page 24: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 24

Change History

Version 1.1 initial Issue

Page 25: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 25

Evaluating the AudioChiemgau Digital Audio Processor AC-DAPGENERAL DESCRIPTION

This user guide describes the setup and operation of the AC-DAP board. This board operates with thesoftware for the ADAU1452 SigmaDSP® processors.

The AC-DAP board provides access to the digital serial audio ports of the ADAU1452 and some of thegeneral-purpose input/outputs (GPIOs). An analog inputs and outputs are provided by the AD1938codec.

The ADAU1452 core is programmed using the Analog Devices, Inc., SigmaStudio® software, whichinterfaces to the board via the universal serial bus interface (USBi). The on-board electronicallyerasable programmable read-only memory (EEPROM) can be programmed for self-boot mode.

The integrated oscillator circuit and the on-board, 12.288 MHz passive crystal (Q305) provides themaster clock.

For full details, see the ADAU1452 and AD1938 data sheets, which should be used in conjunctionwith this user guide when using the AC-DAP board.

EQUIPMENT REQUIRED

EVAL-ADUSB2EBZ communications adapter (USBi) USB cable with mini-B plug SigmaStudio Application (Analog Devices)

SETTING UP THE AC-DAP BOARD

Using the AC-DAP board requires a PC runninga Windows® XP operating system with a USBinterface, the USBi, and an internetconnection.

The PC communicates with the board usingthe USBi.

The software tool chain used with theADAU1452 is SigmaStudio, a fully graphicaluser interface (GUI)-based programmingenvironment. No digital signal processing(DSP) programming is required. A full versionof SigmaStudio, which includes a library of DSPbuilding blocks and the required USBi drivers,can be downloaded from the SigmaStudiosoftware page on the Analog Devices websiteat www.analog.com/SigmaStudio.

INSTALLING THE SigmaStudio SOFTWARE

To download the latest version of Sigma-Studio, take the following steps:

1. Go to the SigmaStudio software page onthe Analog Devices website and select thelatest version of the SigmaStudio software

from the Downloads and Related Softwaresection.

2. Determine whether the software must beinstalled on a 32-bit or 64-bit version ofWindows and locate the latest,corresponding release version ofSigmaStudio.

3. Download the installer and run theexecutable file. Follow the prompts in theprogram and accept the licenseagreement to install the software.

INSTALLING THE AC-DAP (USBi) DRIVERS

To use the USBi, install SigmaStudio first (seethe Installing the SigmaStudio Softwaresection). After installing the SigmaStudio, takethe following steps:

1. Connect the USBi to an available USB 2.0port using a USB cable. The USBi does notfunction properly with a USB 3.0 port.

2. Install the driver software (see the UsingWindows XP section or the UsingWindows 7 or Windows Vista section formore information).

Page 26: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 26

Using Windows 7 or Windows Vista

After connecting the USBi to the USB 2.0 port,Windows 7 or Windows Vista recognizes thedevice and installs the drivers automatically.After the installation is complete, leave theUSBi connected to the PC.

To confirm that the USBi drivers are properlyinstalled, take the following steps:

1. With the USBi still connected to thecomputer, check that both the yellow I2CLED and the red power indicator (D4) LEDon the USBi interface board areilluminated.

2. In the Windows Device Manager underthe Universal Serial Bus controllerssection, check that Analog Devices USBi(programmed) is displayed.

DISABLING THE SELF BOOT SWITCH

When setting up the AC-DAP board, ensurethat the first switch of the four-position, dual,inline package (DIP) switches, SW301, is in theON position.

In this case the ADAU1452 is prevented fromexecuting a self-boot operation at power-up.When the switch is in the OFF position Self-boot causes the ADAU1452 to attempt to loadcode from an EEPROM when the devicepowers up or comes out of reset.

SETTING UP COMMUNICATIONS INSigmaStudio

To set up communications with the AC-DAPboard in SigmaStudio, take the followingsteps:

1. Start the SigmaStudio software either bydouble-clicking the desktop shortcut or byfinding and running the executable file inFile Explorer.

2. To create a new SigmaStudio project,select New Project from the File menu orby pressing the Ctrl + N keys. TheHardware Configuration tab is the defaultview of the new project.

3. In the Hardware Configuration tab, addthe appropriate components to theproject space by clicking and draggingthem from the left Tree ToolBox panel to

the empty white project space on theright of the window. The user can changethe names of the component blocks asdesired.4. Add a USB Interface block (the USBi)

to the project by clicking USBi fromthe Communication Channelssubsection of the Tree ToolBox (seeFigure), and then dragging it to theproject space.

5. Add an IC 1 block to the project by clickingthe ADAU1452 component from theProcessors (ICs/DSPs) subsection and thendragging it into the project space.

6. Ensure that SigmaStudio can detect theUSBi on the USB port of the PC bychecking if the background of the USB

Page 27: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 27

label is green in the USB Interface block:

7. When SigmaStudio cannot detect the USBiconnected to the PC USB port, thebackground of the USB label is red. Thiserror can occur either when the USBi isnot connected to the port or when thedrivers are installed incorrectly.

8. To connect the USB Interface block to theIC 1 block, the ADAU1452, click and drag aline representing a wire between the bluepin of the USB Interface block and thegreen pin of the IC1 block. This connectionallows the USBi to communicate with theADAU1452. The corresponding drop-downfield of the USB Interface blockautomatically fills with the default modeand channel for the connected IC1 block.With the ADAU1452, the defaultcommunications mode is SPI, the defaultslave select line is 1, and the defaultaddress is 0.

CREATING A BASIC SIGNAL FLOW

To create a signal processing flow, takethe following steps:

1. Click the Schematic tab near the topof the window.

2. To add the appropriate elements tothe project space, click and drag theelements from the Tree ToolBox tothe empty white project space on theright of the window. The Tree ToolBoxcontains all the algorithms that canrun in SigmaDSP.

3. Add an Input1 block by clicking theInput component from the (IC 1)ADAU1452 > IO > Input > sdata 0-15folder (see Figure),

and then dragging it into the emptyproject space. The Input1 block, whichrepresents an input channel, thenappears as shown in the Figure. Bydefault, Channel 0 and Channel 1 areselected and this configurationmatches the analog audio sourcehardware connections. Therefore, no

Page 28: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 28

modifications are needed.

4. Add two output blocks, Output1 andOutput2, by clicking the Outputcomponent from the (IC 1) ADAU1452> IO > Output folder (see Figure), andthen dragging it into the projectspace. Ensure that these blocks, whichrepresent output channels, areassigned to Channel 0 and Channel 1.

5. Repeat Step 4 to add another output(see Figure).

6. To connect each Input1 channel to thecorresponding output block, click anddrag a line representing a wirebetween the blue pin of the Input1block and the green pin of thecorresponding output block (seeFigure). Input1 Channel 0 connects toOutput1 Channel 0 and Input1Channel 1 connects to Output2Channel 1.

The default register settings inSigmaStudio are configured to match theAC-DAP board hardware, including thesignal routing between the ADAU1452 andthe AD1938 codec. When these steps arecomplete, the basic signal flow iscomplete and the stereo analog inputsource passes directly through theSigmaDSP and connects to the stereoanalog output.

Add Volume Control

To add volume control functionality to theproject, take the following steps:

1. Add a Single1 block (volume control) byclicking the Single Volume componentfrom the Volume Controls > AdjustableGain > Clickless HW Slew folder (seeFigure), and then dragging it to the projectspace.

Page 29: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 29

2. By default, the Single1 block has oneinput and one output, meaning it is asingle channel. To add anotherchannel, right-click the empty whitespace of the Single1 block and fromthe drop-down menu that appears,select the Grow Algorithm > 1. Gain(HW slew) > 1 option (see Figure).

3. To delete the existing yellowconnection wires, the connectionsadded in Step 6 of the Creating a BasicSignal Flow section, click theconnection wires and then press theDelete key.

4. Connect the blocks as shown in thefollowing Figure

After performing these steps, theschematic of the completed signal flow(see Figure) is ready to be compiled anddownloaded to the board.

DOWNLOADING THE PROGRAM TO THEDSP

After the signal is completed, compile anddownload the DSP code to the DSP eitherby clicking the Link/Compile/Downloadbutton in the main toolbar of SigmaStudio(see Figure) or by pressing the F7 key.

After the code is downloaded to the DSP,the following events occur almostsimultaneously:

If the compiler finishes compiling theproject, the compiled data downloadsfrom SigmaStudio via the USBi to theADAU1452, and the SigmaDSP startsrunning.

The status bar in the lower right corner ofthe SigmaStudio window turns from blueto green and the text changes from DesignMode to Active: Downloaded. Until thispoint, SigmaStudio is in design mode, asnoted by the blue status bar and theDesign Mode text in the lower right cornerof the SigmaStudio window. DownloadedText and Green Status Bar

Page 30: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 30

The signal flow runs on the AC-DAP boardand the audio passes from the analoginput to the analog output. To change thevolume in real time, click and drag thevolume control slider in the Single1 blockin the Schematic tab.

ADDING S/PDIF INPUT TO THE PROJECT

The AC-DAP board has one optical S/PDIFinterface. This interface is an optical input thatconverts the optical signal to an electricalsignal that is sent to the ADAU1452 S/PDIFreceiver (the SPDIFIN pin).

The connector is located on the top side of thePCB.

The S/PDIF receiver accepts signals withsample rates between 18 kHz and 192 kHz.Because the incoming signal is asynchronousto the system sample rate, use an ASRC toconvert the sample rate of the incomingsignal. Optionally, configure the SigmaDSPcore to start processing audio samples basedon the sample rate of the incoming S/PDIFreceiver signal, negating the need for an ASRC.However, users are strongly recommended touse an ASRC for performance and reliabilityreasons.

The S/PDIF receiver carries two channels ofuncompressed audio.

To add a stereo S/PDIF input to the project inSigmaStudio, take the following steps:

1. Connect an S/PDIF source to the AC-DAPboard by connecting a standard TOSLINK®optical cable to the S/PDIF receiverconnector LW301.

2. Configure the S/PDIF input and output bymodifying the ADAU1452 registers withthe following steps in order:

3. Click the Hardware Configuration tab,then click the IC 1 – ADAU145x RegisterControls tab at the bottom of the window(see Figure).

4. Next, click the SPDIF_RX tab (see Figure).

5. Enable the SPDIF_RESTART register byclicking the Do not automatically restartthe audio on relock button (see Figure).After clicking this button, the textdisplayed on the button changes torestarts the audio automatically on relockand the color changes from red to green(see Figure).

Page 31: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 31

6. Click the ROUTING_MATRIX tab in theregister controls tab shown in Figure toallow users to configure the routing matrix(see Figure).

7. To configure the S/PDIF receiver signalrouting, click the first asynchronoussample rate converter (ASRC) button,ASRC 0 (see Figure), in theROUTING_MATRIX tab to open thewindow in the Figure. Configure the ASRC0 routing matrix registers using the drop-down menus until the menus match theFigure. This configuration routes theS/PDIF receiver signal through an ASRCbefore the signal is accessed in the DSPcore. It is necessary to route the signalthrough the ASRC because the clockrecovered from the S/PDIF source is notsynchronous to the ADAU1452.

8. Close the SPDIFTX INPUT dialog box.9. Add an Asrcin1 block (the S/PDIF input) to

the project by clicking the Asrc Inputcomponent from the IO > ASRC > FromASRC folder (see Figure), and dragging itto the project space where it appears asshown in Figure.

Because the left and right signals of the S/PDIFreceiver pass through the ASRC 0, the input tothe DSP program is the Asrcin1 block inSigmaStudio. The naming convention for theinput and output blocks is such that all blocks

Page 32: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 32

in SigmaStudio are named from theperspective of the DSP core. Therefore, theAsrcin1 block in SigmaStudio represents theinput to the DSP from the ASRC outputs.

The inputs to the ASRCs themselves aredefined in the register window (see Figure). Bydefault, Channel 0 and Channel 1 are activewhen the corresponding checkboxes areselected. Because the ASRC 0 outputscorrespond to Channel 0 and Channel 1, usethe default configuration shown in the Figure.For reference, the Table provides a mappingof the ASRC outputs to the correspondingchannels on the Asrcin1 block in the DSPschematic.

ASRC 0 Channel 0 and Channel 1

ASRC 1 Channel 2 and Channel 3

ASRC 2 Channel 4 and Channel 5

ASRC 3 Channel 6 and Channel 7

MULTIPURPOSE (MPx) PINS

The MPx pins on the ADAU1452 can use GPIOswhen configured to do so by using theADAU1452 control registers. Of the 14 MPxpins, three are connected to switches (SW301)that pull the signals low or tie them high, twoare connected to high impedance inputs toLED drivers, and two GPIO pins are availablefor communication with the ATmega. Twoadditional GPIOs may be used to detect theMUTE- and STBY-Status. The remaining pinsare used for other functionalities and cannotbe used as multipurpose pins.

A table in the data sheet section describes theMPx pins available for use as GPIOs, alongwith the corresponding functionalities on theboard.

AUXADCx PINS

The ADAU1452 AUXADC is a 10-bit, successiveapproximation register (SAR) multiplexedacross six input channels. These channels areused for analog control signals to the DSP.Channel AUXADC0, AUXADC1 and AUXADC2

are connected to Linear Potentiometer R311,R344 and R325.

COMMUNICATIONS HEADER

The communications header (SC301) is a 10-pin header designed to work with the EVAL-ADUSB2EBZ (USBi). The SPI signals are wiredfrom the communications header to thecorresponding SPI slave port pins on theADAU1452. The I2C pins are not used in thisdesign. A reset line is also included, whichallows the user to reset the devices on theEVAL-ADAU1452REVBZ board via a commandin SigmaStudio, search the EngineerZone™forums or contact [email protected] formore information. When the EVAL-ADUSB2EBZ board is connected to the AC-DAPboard and PC, powered, and recognized bythe PC, LED301 illuminates. SigmaStudio alsocontrols the 5 V output to LED301.

SELF BOOT

A 1 Mb, 20 MHz, SPI, serial EEPROM memoryis included on the AC-DAP board. TheADAU1452 can boot and execute a programwithout help from an externalmicrocontroller. This self-boot feature allowsany project developed within SigmaStudio toexecute on a rising edge of the RESET pinsignal or when the ADAU1452 powers up.

Switch 1 of the SW301 DIP switch sets thestate of the ADAU1452 SELFBOOT pin. SettingSection 1 of the SW301 switch to ON disablesthe self-boot feature.

To use the self-boot functionality, take thefollowing steps:

1. Add an IC2 (E2Prom) block to the projectspace of the Hardware Configuration tabfrom the Tree ToolBox. From theProcessors (ICs / DSPs) folder, clickE2Prom (see Figure) and drag it to theproject space.

Page 33: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 33

2. Connect the green input pin of the IC2block to one of the available blue outputpins of the USB Interface block inSigmaStudio.

3. Set the communication mode to SPI 0x1ADR0 by clicking the text fields of the USBInterface block (see Figure). There is nophysical connection between the USBiconnector (a connector to the evaluationboard) and the evaluation EEPROM on theAC-DAP board. Therefore, SigmaStudiocannot directly communicate with theEEPROM. To circumvent this lack ofcommunication, SigmaStudio writes aprogram to the ADAU1452, which thenuses the master SPI port to write the self-boot data to the EEPROM. Adding the IC2block allows users to configure theEEPROM and informs SigmaStudio that ahex file must be produced.

4. The pull-down text field in the USBInterface block sets the type ofcommunication the EEPROM uses. BothSPI and I2C are supported communicationtypes and can differ from thecommunication standard used byADAU1452 the slave port. As shown in theFigure, users are recommended toconnect the IC2 block to an unused pin onthe USB Interface block.

5. Before downloading the self-boot data tothe EEPROM, click theLink/Compile/Download button or pressthe F7 key to compile the SigmaStudioproject file.

6. When writing to the EEPROM, set the self-boot switch (Section 1 of Switch SW301)to the disabled position (ON).

7. To write to the EEPROM through theADAU1452 master SPI port, right-click thewhite space in the IC1 block in theHardware Configuration tab. From thepull-down menu that appears, select theSelf-boot Memory >Write LatestCompilation through DSP option.

8. An EEPROM Properties dialog boxappears. Enter the values shown infollowing Figure to the text fields and thenclick OK.

9. A warning dialog window appears toremind the user that executing anexternal memory write erases andoverwrites any data currently stored onthe EEPROM. Click OK to proceed.

10. SigmaStudio begins the EEPROM writeoperation. This operation can take severalminutes to complete. Users can view theprogress of the write operation with the

Page 34: Digital Audio Processor AC-DAP...Tstg, Tj Storage temperature + 80 C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the module. Electrical

Digital Audio Processor AC-DAP

Digital Audio Processor for two-, three, or four-way Speaker Systems

© AudioChiemgau (www.audiochiemgau.de) Ver: 1.2 Page 34

status window shown. When the windowdisappears, the operation is complete. 6)

To execute a self-boot operation, take thefollowing steps:

1. Set the SELFBOOT switch (Section 1 ofSW301) to the enabled position (OFF) onAC-DAP board.

2. Turn the system off and on again toinitialize a self-boot operation and theADAU1452 runs the user created program.

The Content of this chapter is based on theAnalog Devices Document “EVAL-ADAU1452REVBZ User Guide” UG-1662”.

6 ) Check parameter settings after firstprogramming cycle and repeat the procedure incase parameters are changed