EVAL-AD1954EB Analog Devices Inc, EVAL-AD1954EB Datasheet - Page 24

no-image

EVAL-AD1954EB

Manufacturer Part Number
EVAL-AD1954EB
Description
BOARD EVAL FOR AD1954
Manufacturer
Analog Devices Inc
Datasheet

Specifications of EVAL-AD1954EB

Rohs Status
RoHS non-compliant
that lasts for 10 ms to 20 ms. Again, this reduces the chance of
any pop or click noise from occurring.
Note that this shutdown sequence assumes that 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 equalization.
To prevent instability from occurring, all of the parameters of a
particular biquad filter must be updated at the same time; other-
wise, 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 AD1954 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 Control Register 1 should be set.
Once this bit is set, the processor waits for a period of time in
the program sequence where 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 writ-
ten with five new data values at addresses corresponding to those
that were entered in the safeload registers. When the operation is
complete, Bit 0 of Control Register 1 (read) is set. This bit may
be polled by the external microprocessor until a 1 is read and
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 registers
that have been written to since the last safeload operation. For
Memory
Parameter RAM 256  22
Program RAM
Byte 0
00000, R/W
00000, R/W
00000, R/ , Addr[9:8]
Byte 0
00000, R/W
00000, R/W
00000, R/ , Addr[9:8]
Byte 0
00000, R/W
00000, R/W
00000, R/ , Addr[9:8]
AD1954
Size
512  35
Byte 1
Addr[7:0]
Byte 1
Addr[7:0]
SPI Address
Range
0–255
512–1023
Table IX. Parameter RAM Block Read/Write Format (Burst Moded)
Table VIII. Parameter RAM Read/Write Format (Single Address)
Byte 1
Addr[7:0]
Table X. Program RAM Read/Write Format (Single Address)
Byte 2
00000, Prog[34:32]
Byte 2
00, Param[21:16]
Read
Yes
Yes
Table VII. Read/Write Modes
Byte 2
00, Param[21:16]
Write
Yes
Yes
–24–
Burst Mode
Available
Yes
Yes
Byte 3
Prog[31:24]
example, if only two parameters are to be sent, then it is neces-
sary to write to only 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.
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 microcon-
troller 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
8 bits. For example, 22-bit words written to the SPI parameter
RAM are appended with two leading zeroes to reach 24 bits
(3 bytes), and 35-bit words written to the program RAM are
appended with five zeros to reach 40 bits (5 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 4 bytes (for a control register write) to 7 bytes (for
a program RAM write). Block writes may be used to fill contiguous
locations in program RAM or parameter RAM.
The read and write formats of the parameter RAM, program RAM
and registers are detailed in Tables VIII to XIX.
Byte 3
Param[15:8]
ADDR
Write Modes
Direct write, write after core shutdown, safeload write
Direct write, write after core shutdown
Byte 3
Param[15:8]
Byte 4
Prog[23:16]
Byte 4
Param[7:0]
Byte 5
Prog[15:8]
Byte 5
Byte 6
Byte 7
ADDR + 1 ADDR + 2
Byte 4
Param[7:0]
Byte 6
Prog[7:0]
Byte 8
Byte 8
Byte 9
Byte 9
Byte 10
Byte 10
REV. A

Related parts for EVAL-AD1954EB