AD1953
–24–
Table VI. Parameter RAM Contents (continued)
Default Value
in Fractional
Address Function 2.20 Format
72 IIR0 Xover Left b2 0
73 IIR0 Xover Left a1 0
74 IIR0 Xover Left a2 0
75 IIR1 Xover Left b0 1.0
76 IIR1 Xover Left b1 0
77 IIR1 Xover Left b2 0
78 IIR1 Xover Left a1 0
79 IIR1 Xover Left a2 0
80 IIR0 Xover Right b0 1.0
81 IIR0 Xover Right b1 0
82 IIR0 Xover Right b2 0
83 IIR0 Xover Right a1 0
84 IIR0 Xover Right a2 0
85 IIR1 Xover Right b0 1.0
86 IIR1 Xover Right b1 0
87 IIR1 Xover Right b2 0
88 IIR1 Xover Right a1 0
89 IIR1 Xover Right a2 0
90 IIR0 Xover Sub b0 1.0
91 IIR0 Xover Sub b1 0
92 IIR0 Xover Sub b2 0
93 IIR0 Xover Sub a1 0
94 IIR0 Xover Sub a2 0
95 IIR1 Xover Sub b0 1.0
96 IIR1 Xover Sub b1 0
97 IIR1 Xover Sub b2 0
98 IIR1 Xover Sub a1 0
99 IIR1 Xover Sub a2 0
100 IIR2 Xover Sub b0 1.0
101 IIR2 Xover Sub b1 0
102 IIR2 Xover Sub b2 0
103 IIR2 Xover Sub a1 0
104 IIR2 Xover Sub a2 0
105 IIR Sub rms b0 1.0
106 IIR Sub rms b1 0
107 IIR Sub rms b2 0
108 IIR Sub rms a1 0
109 IIR Sub rms a2 0
Table VI. Parameter RAM Contents (continued)
Default Value
in Fractional
Address Function 2.20 Format
110–142 Main Compressor 1.0 (all)
Look-Up Table Base
143 Main Compressor 5.75 10
–4
Attack/rms Time (120 dB/sec)
Constant
144 Main Post-Compressor 1.0
Gain
145–177 Subwoofer Compressor 1.0 (all)
Look-Up Table Base
178 Sub Compressor 5.75 10
–4
Attack/RMS Time (120 dB/sec)
Constant
179 Post-Compressor 1.0
Gain (SUB)
180 High-Pass Filter 3.92 10
–4
Cutoff Frequency
181 Main Compressor 0
Look-Ahead Delay
182 Delay Left 0
183 Delay Right 0
184 Delay Sub 0
185 Stereo Spreading 0
Coefficient
186 Stereo Spreading 0.112694
Frequency Control
187 Subwoofer Reinjection 0.0
to Main Left
188 Subwoofer Reinjection 0.0
to Main Right
189 Subwoofer Channel 0.5
Input Gain from Left IN
190 Subwoofer Channel 0.5
Input Gain from Right IN
191 Main Detector Hold Time, 0
1
Samples (4095 MAX)
192 Sub Detector Hold Time, 0
1
Samples (4095 MAX)
193 Main Detector Decay Time 0x3FFFFF
(4.597 10
6
dB/sec)
1, 2
194 Sub Detector Decay Time 0x3FFFFF
(4.597 10
6
dB/sec)
1, 2
NOTES
1
The detector hold and decay times are integer values, while the rest of the parameters are fractional twos complement values.
2
The default decay time of the hold/release circuit is set fast enough that the decay is dominated by the time constant of the rms detector.
Options for Parameter Updates
The parameter and program RAMs can be written and read
using one of several methods.
1. Direct Read/Write. This method allows direct access to the
RAMs. Since the RAMs are also being used during real-time
DSP operation, a glitch will likely occur at the output. This
method is not recommended.
2. Direct Read/Write after Core Shutdown. This method avoids
the glitch while accessing the internal RAMs by first shutting
down the core. This is recommended for transferring large
amounts of data, such as initializing the parameter RAM at
power-up or downloading a completely new program. These
transfers can be sped up by using burst mode, where an
initial address followed by blocks of data are sent to the RAM.
3.
Safeload Writes Up to five SPI registers are loaded
with
address/data intended for the parameter RAM. The data
is then
transferred to the requested address when the RAM is not busy.
This method can be used for dynamic updates while live
program material is playing through the AD1953. For example,
a complete update of one biquad section can occur in one
audio frame while the RAM is not busy. This method is not
available for writing to the program RAM or control registers.
The next section discusses these options in more detail.
REV. A
AD1953
–25–
Soft Shutdown Mechanism
When writing large amounts of data to the program or parameter
RAM, the processor core should be halted to prevent unpleasant
noises from appearing at the audio output. Figure 18 shows a
graphical representation of this mechanism’s volume envelope.
Points A to D are referenced in the following description. Bit
<10> in serial Control Register 0 (processor shutdown bit) will
shut down the processor core. When the processor shutdown bit
is asserted (A), an automatic volume ramp-down sequence (B)
lasting from 10 ms to 20 ms will occur, followed by a shutdown
of the core. This method of shutting down the core prevents pops
or clicks from occurring. After the shutdown is complete, Bit
<1> in Control Register 1 will be set. The user can either poll
for this bit to be set, or just wait for a period longer than 20 ms.
Once the core is shut down (C), the parameter or program RAMs
may be written or read freely. To ease the transfer of large blocks
of sequential data, a block transfer mode is supported where a
starting address followed by a stream of data is sent to the memory.
The address into the memory will be automatically incremented
for each new write. This mode is documented in the SPI Data
Format section of this data sheet.
Once the data has been written, the shutdown bit can be cleared
(D). The processor then will initiate a volume ramp-up sequence
lasting 10 ms to 20 ms. Again, this reduces the chance that any
pop or click noise will occur.
Note that this shutdown sequence assumes the part is set to the
fast volume ramp speed (Control Register 2, Bit <9>). If the
slow ramp speed is set, the volume may not reach zero before
the part enters shutdown, and a click or pop may be heard.
Safeload Mechanism
Many applications require real-time control of filter characteristics,
such as bass/treble controls and parametric or graphic equaliza-
tion. To prevent instability from occurring, all of the parameters
of a particular biquad filter must be updated at the same time;
otherwise, the filter could execute for one or two audio frames
with a mixture of old and new coefficients. This mix of old and
new could cause temporary instability, leading to transients that
could take a long time to decay.
The method used in the AD1953 to eliminate this problem is to
load a set of five registers in the SPI port with the desired param-
eter RAM address and data. Five registers are used because each
biquad filter has five coefficients. Once these registers are loaded,
the initiate safe transfer bit in SPI Control Register 1 is set.
Once this bit is set, the processor waits for a period of time in
the program sequence when the parameter RAM is not being
accessed for at least five consecutive instruction cycles. When
the program counter reaches this point, the parameter RAM is
written with five new data values at addresses corresponding to
those entered in the safeload registers. When the operation is
complete, Bit 0 of Control Register 1 is set. This bit may be
polled by the external microprocessor until a 1 is read. This bit
will be reset on a read operation. The polling operation is not
required; the safeload mechanism guarantees that the transfer
will be complete within one audio frame.
The safeload logic automatically sends only those safeload regis-
ters that have been written to since the last safeload operation.
For example, if only two parameters are to be sent, it is only
necessary to write to two of the five safeload registers. When the
request safe transfer bit is asserted, only those two registers will
be sent; the other three registers are not sent, and can still hold
old or invalid data.
The safeload mechanism is not limited to uploading biquad
coefficients; any set of five values in the parameter RAM may be
updated in the same way. This allows real-time adjustment of
the compressor/limiter, delay, or stereo spreading blocks.
Summary of RAM Modes
Table VII shows the sizes and available modes of the parameter
RAM and the program RAM.
ADC
B
Figure 18. Recommended Sequences for Complete Parameter or Program RAM Upload Using Shutdown Mechanism
Table VII. Read/Write Modes
Memory Size SPI Address Range Read Write Burst Mode Available Write Modes
Parameter RAM 256
×
22 0–255 Yes Yes Yes Direct Write, Write after core
shutdown, safeload write
Program RAM 512
×
35 512–1023 Yes Yes Yes Direct Write, Write after core
shutdown
REV. A
AD1953
–26–
Table VIII. Parameter RAM Read/Write Format (Single Address)
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4
00000, R/Wb, Adr[9:8] Adr[7:0] 00, Param[21:16] Param[15:8] Param[7:0]
ADR
Byte 5 Byte 8
Byte 6 Byte 9
Byte 7 Byte 10
ADR + 1 ADR + 2
Table IX. Parameter RAM Block Read/Write Format (Burst Mode)
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4
00000, R/Wb, Adr[9:8] Adr[7:0] 00, Param[21:16] Param[15:8] Param[7:0]
Table X. Program RAM Read/Write Format (Single Address)
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6
00000, R/Wb, Adr[9:8] Adr[7:0] 00000, Prog[34:32] Prog[31:24] Prog[23:16] Prog[15:8] Prog[7:0]
Table XI. Program RAM Block Read/Write Format (Burst Mode)
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6
00000, R/Wb, Adr[9:8]Adr[7:0] 00000, Prog[34:32] Prog[31:24] Prog[23:16] Prog[15:8] Prog[7:0]
ADR
Byte 7 Byte 12
Byte 8 Byte 13
Byte 9 Byte 14
Byte 10 Byte 15
Byte 11 Byte 16
ADR + 1 ADR + 2
Table XII. SPI Control Register 1 Write Format
Byte 0 Byte 1 Byte 2 Byte 3
00000, R/Wb, Adr[9:8] Adr[7:0] 00, Bit[13:8] Bit[7:0]
Table XIII. SPI Control Register 1 Read Format
Byte 0 Byte 1 Byte 2
00000, R/Wb, Adr[9:8] Adr[7:0] 000000, Bit[1:0]
Table XIV. SPI Control Register 2 Write Format
Byte 0 Byte 1 Byte 2 Byte 3
00000, R/Wb, Adr[9:8] Adr[7:0] 000000, Bit[9:8] Bit[7:0]
Table XV. SPI Volume Register Write Format
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4
000000, Adr[9:8] Adr[7:0] 00, Volume[21:16] Volume[15:8] Volume[7:0]
SPI READ/WRITE DATA FORMATS
The read/write formats of the SPI port are designed to be byte-
oriented. This allows for easy programming of common
microcontroller chips to fit into a byte-oriented format; 0s are
appended to the data fields to extend the data-word to the next
multiple of eight bits. For example, 22-bit words written to the
SPI parameter RAM are appended with two leading zeros to
reach 24 bits (three bytes), and 35-bit words written to the
program RAM are appended with five zeros to reach 40 bits
(five bytes). These zero-extended data fields are appended to
a 2-byte field consisting of a read/write bit and a 10-bit address.
The SPI port knows how many data bytes to expect based on
the address that is received in the first two bytes.
The total number of bytes for a single-location SPI write command
can vary from four bytes (for a control register write), to seven
bytes (for a program RAM write). Block writes may be used to
fill contiguous locations in program RAM or parameter RAM.
REV. A

AD1953YSTZRL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Audio DSPs IC Digital Audio Processor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet