Datasheet

Table Of Contents
ADAU1701 Data Sheet
Rev. C | Page 22 of 52
CONTROL PORTS
The ADAU1701 can operate in one of three control modes:
I
2
C control
SPI control
Self-boot (no external controller)
The ADAU1701has both a 4-wire SPI control port and a 2-wire
I
2
C bus control port. Each can be used to set the RAMs and
registers. When the SELFBOOT pin is low at power-up, the part
defaults to I
2
C mode but can be put into SPI control mode by
pulling the CLATCH/WP pin low three times. When the SELF-
BOOT pin is set high at power-up, the ADAU1701 loads its
program, parameters, and register settings from an external
EEPROM on startup.
The control port is capable of full read/write operation for all
addressable memory and registers. Most signal processing
parameters are controlled by writing new values to the param-
eter RAM using the control port. Other functions, such as mute
and input/output mode control, are programmed by writing to
the registers.
All addresses can be accessed in a single-address mode or a
burst mode. The first byte (Byte 0) of a control port write
contains the 7-bit chip address plus the R/
W
bit. The next two
bytes (Byte 1 and Byte 2) together form the subaddress of the
memory or register location within the ADAU1701. This
subaddress must be two bytes because the memory locations
within the ADAU1701 are directly addressable and their sizes
exceed the range of single-byte addressing. All subsequent bytes
(starting with Byte 3) contain the data, such as control port data,
program data, or parameter data. The number of bytes per word
depends on the type of data that is being written. The exact formats
for specific types of writes are shown in Table 21 to Table 30.
TheADAU1701 has several mechanisms for updating signal
processing parameters in real time without causing pops or
clicks. If large blocks of data need to be downloaded, the output
of the DSP core can be halted (using the CR bit in the DSP core
control register (Address 2076)), new data can be loaded, and
then the device can be restarted. This is typically done during
the booting sequence at startup or when loading a new program
into RAM. In cases where only a few parameters need to be
changed, they can be loaded without halting the program. To
avoid unwanted side effects while loading parameters on the fly, the
SigmaDSP provides the safeload registers. The safeload registers
can be used to buffer a full set of parameters (for example, the
five coefficients of a biquad) and then transfer these parameters
into the active program within one audio frame. The safeload
mode uses internal logic to prevent contention between the
DSP core and the control port.
The control port pins are multifunctional, depending on the
mode in which the part is operating. Table 14 details these
multiple functions.
Table 14. Control Port Pins and SELFBOOT Pin Functions
Pin I
2
C Mode SPI Mode Self-Boot
SCL/CCLK SCL—input CCLKinput SCL—output
SDA/COUT SDA—open-collector output COUToutput SDA—open-collector output
ADDR1/CDATA/WB ADDR1input CDATAinput WBwriteback trigger
CLATCH/WP Unused inputtie to ground or IOVDD CLATCHinput WPEEPROM write protect, open-collector output
ADDR0 ADDR0input ADDR0input Unused inputtie to ground or IOVDD