background image

AD1849K

REV. 0

–20–

RESET

 should be asserted when power is first applied to the

AD1849K. 

RESET

 should be asserted for a minimum of 50 ms

at power-up or when leaving the power-down mode to allow the
power supplies and the voltage reference to settle. Any time

RESET

 is asserted during normal operation, it should remain

asserted for a minimum of 100 ns to insure a complete reset.
Note that an autocalibration sequence will always occur when

RESET

 is deasserted, in addition to on the Control Mode to

Data Mode transition.

Coming out of either reset or power down, the state of the Data/
Control pin (D/

C

) will determine whether the Codec is in Data

Mode or Control Mode. In the unlikely event that the control
register defaults are desired for Codec operation, it is possible to
go directly from reset or power down to Data Mode and begin
audio operation.

Control Mode

More typically, users coming out of reset or power down will
want to change the control register defaults by transmitting a
Control Word in Control Mode. The user of the AD1849K
SoundPort Codec can also enter Control Mode at any time
during normal Data Mode operation. The D/

C

 pin is provided

to make this possible. The Codec enters Control Mode when
the D/

C

 pin is driven LO or held LO when coming out of reset

and/or power down.

In Control Mode, the location of a word within a frame is
determined solely by the behavior of the TSIN and TSOUT
signals. Each Codec by itself does not care where the frame
boundaries fall as defined by the system. The contents of the
frame size select (FSEL1:0, Control Word Bits 43 and 42) bits
are irrelevant to the operation of each AD1849K in Control
Mode. In Control Mode, a Codec requires 64 SCLK cycles to
be fully programmed. Additional SCLK cycles (more than 64)
that occur before the end of the frame will be ignored.

If four Codecs, for example, were daisy-chained, then each
Codec would receive TSIN every 256 bits. In this case, Codec
#2’s input Control Word will be positioned between Bit 64 and
Bit 127 in the input frame.

Control Word Echo

While in Control Mode, the AD1849K Codec will echo the
Control Word received as a serial input on the SDRX pin as a
serial output in the next frame on the SDTX pin. (SDTX will
be enabled regardless of the setting of the TXDIS bit, Control
Word Bit 40.) This echoing of the control information allows
the external controller to confirm that the Codec has received
the intended Control Word. For the four Codec daisy chain
example above, the Control Word will be echoed bit for bit as
an output between Bit 64 and Bit 127 in the next output frame.
In general, in Control Mode, the location of the echo Control
Word within a frame will be at the same word location as the
input Control Word.

In the first frame of Control Mode, the AD1849K will output a
Control Word that reflects the control register values operative
during the most recent Data Mode operation. If Control Mode
was entered prior to any Data Mode operation, this first output
word will simply reflect the standard default settings. DCB will
always be “1” in the first output echoed Control Word.

DCB Handshaking Protocol

The D/

C

 pin can make transitions completely asynchronously to

internal Codec operation. This fact necessitates a handshaking

protocol to ensure a smooth transition between serial bus
masters (i.e., the external controller and the Codec) and
guarantee unambiguous serial bus ownership. This software
handshake protocol for Control Mode to Data Mode transitions
makes use of the Data/Control Bit (DCB) in the Control Mode
Control Word (Bit 58). Prior to initiating the change to Control
Mode, the external controller should gradually attenuate the
audio outputs. The DCB handshake protocol requires the
following steps:

Enter Control Mode

The external controller drives the D/

C

 pin LO, forcing the

Codec into Control Mode as a slave. The DCB transmitted
from the external controller to the Codec may be “0” or “1” at
this point in the handshake.

When ITS = 0 (Control Word Bit 47) and the Codec was oper-
ating as the master in the preceding Data Mode, immediately
after D/

C

 goes LO, the Codec will drive FSYNC and TSOUT

LO for one SCLK period, then three-state FSYNC. SDTX is
three-stated immediately after D/

C

 goes LO. TSOUT is not

three-stated. The Codec will drive SCLK for three (3) SCLK
periods after D/

C

 goes LO and then three-state SCLK. The

external controller must wait at least three (3) SCLK periods
after it drives D/

C

 LO, and then start driving SCLK.

When ITS = 1 (Control Word Bit 47) and the Codec was
operating as the master in the preceding Data Mode, the Codec
will three-state FSYNC, SDTX, and SCLK immediately after
D/

C

 goes LO. TSOUT is driven LO immediately after D/

C

goes LO and is not three-stated. The external controller may
start driving SCLK immediately.

When ITS = 0 and the external controller was operating as the
master in the preceding Data Mode, the external controller
must continue to supply SCLK to the slave Codec for at least
three (3) SCLK periods after D/

C

 goes LO before a Control

Mode TSIN is issued to the Codec. TSIN must be held LO
externally until the first Control Word in Control Mode is
supplied by the external controller. This prevents false starts
and can be easily accomplished by using a pull-down resistor on
TSIN as recommended. The slave Codec drives TSOUT and
SDTX LO, then three-states SDTX, all within 1 1/2 (one and
one half) SCLK periods after D/

C

 goes LO. TSOUT is not

three-stated.

When ITS = 1 and the external controller was operating as the
master in the preceding Data Mode, the external controller
must continue to supply SCLK to the slave Codec. A Control
Mode TSIN should be issued to the Codec three or more
SCLK periods after D/

C

 goes LO. The slave Codec drives

TSOUT LO and three-states SDTX immediately after D/

C

goes LO. TSOUT is not three-stated.

The Codec initializes its Data Mode Control Registers to the
defaults identified above, which among other actions, mutes all
audio outputs.

First DCB Interlock
When the external controller is ready to continue with the DCB
handshake, the Control Word sent by the external controller
should have the DCB reset to “0” along with arbitrary control
information (i.e., the control information does not have to be
valid, although if it is valid, it allows the external controller to
verify that the echoed Control Word is correct). The external
controller should continue to transmit this bit pattern with

Summary of Contents for AD1849K

Page 1: ...are available over a single bidirectional serial interface that also sup ports 16 bit digital input to the DACs and control information The AD1849K can accept and generate 8 bit law or A law compande...

Page 2: ...Line 1 External Load Capacitance 100 pF Line 0 1 ANALOG INPUT Min Typ Max Units Input Voltage RMS Values Assume Sine Wave Input Line and Mic with 0 dB Gain 0 94 0 99 1 04 V rms 2 66 2 80 2 94 V p p Mi...

Page 3: ...Interchannel Gain Mismatch Line and Mic 0 3 dB Difference of Gain Errors DIGITAL TO ANALOG CONVERTERS Min Typ Max Units Resolution 16 Bits DAC Dynamic Range 60 dB Input THD N Referenced 80 86 dB to Fu...

Page 4: ...Scale Output Voltage Line 0 1 0 707 V rms OLB 1 1 85 2 0 2 1 V p p Full Scale Output Voltage Line 0 1 0 V rms OLB 0 2 8 V p p Full Scale Output Voltage Line 1 4 0 V p p OLB 0 Full Scale Output Voltage...

Page 5: ...o Valid tZV 15 ns Output Valid to Hi Z tVZ 20 ns Power Up RESET LO Time 50 ms Operating RESET LO Time 100 ns POWER SUPPLY Min Typ Max Units Power Supply Voltage Range 4 75 5 25 V Digital and Analog Po...

Page 6: ...atic discharge sensitive device Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection Although the AD1849K features propri...

Page 7: ...l Line Input MINL 17 11 I Left Channel Microphone Input 20 dB from Line Level if MB 0 or Line Level if MB 1 MINR 15 9 I Right Channel Microphone Input 20 dB from Line Level if MB 0 or Line Level if MB...

Page 8: ...riod is 10 7 milliseconds at a 48 kHz sampling rate and 64 milliseconds at an 8 kHz sampling rate Time out ms 512 Sampling Rate kHz Monitor Mix A monitor mix is supported that digitally mixes a portio...

Page 9: ...d to prevent undesired outputs Monitor mix will be automatically disabled by the Codec During the autocalibration sequence the serial data output from the ADCs is meaningless and the ADI bit is assert...

Page 10: ...provided to generate a wide range of sample rates The oscillators for these crystals are on the AD1849K as is a multiplexer for selecting between them They can be overdriven with external clocks by th...

Page 11: ...ntrol Byte 1 Status Register Data 7 Data 6 Data 5 Data 4 Data 3 Data 2 Data 1 Data 0 0 0 1 MB OLB DCB 0 AC 63 62 61 60 59 58 57 56 MB Mic bypass 0 Mic inputs applied to 20 dB fixed gain block 1 Mic in...

Page 12: ...4 43 42 41 40 ITS Immediate three state 0 FSYNC SDTX and SCLK three state within 3 SCLK cycles after D C goes LO 1 FSYNC SDTX and SCLK three state immediately after D C goes LO MCK2 0 Clock source sel...

Page 13: ...PIO1 0 Parallel I O bits for system signaling PIO bits do not affect Codec operation Control Byte 6 Reserved Register Data 7 Data 6 Data 5 Data 4 Data 3 Data 2 Data 1 Data 0 0 0 0 0 0 0 0 0 23 22 21...

Page 14: ...4 R13 R12 R11 R10 R9 R8 47 46 45 44 43 42 41 40 In 16 bit linear PCM mode this byte contains the upper eight bits of the right audio data sample In the 8 bit companded and linear modes this byte conta...

Page 15: ...ther ADC channel is driven beyond the specified input range It is sticky i e it remains set until explicitly cleared by writing a 0 to OVR A 1 written to OVR is ignored allowing OVR to remain 0 until...

Page 16: ...transition from Control Mode to Data Mode those control register values that are not changeable in Control Mode get reset to the defaults above except PIO The control registers that can be changed in...

Page 17: ...e and in many systems the lowest jitter clocks available will be those generated by the Codec s internal oscillators Conversely SCLK in many systems will be the noisiest source The master SCLK clock s...

Page 18: ...e host for operation Subsequent transitions to Control Mode after initialization are expected to be relatively infrequent Control information that is likely to change frequently e g gain levels is tra...

Page 19: ...provides a convenient mechanism for transferring signaling information between the serial data and control streams and the external pair of bidirectional pins also named PIO1 and PIO0 The states of th...

Page 20: ...Handshaking Protocol The D C pin can make transitions completely asynchronously to internal Codec operation This fact necessitates a handshaking protocol to ensure a smooth transition between serial...

Page 21: ...andshake the AD1849K and the CS4215 DCB protocols are equivalent Control Mode to Data Mode Transition and Autocalibration The AD1849K will enter Data Mode when the asynchronous D C signal goes HI The...

Page 22: ...OR AD820 0 33 F 0 33 F Figure 12 AD1849K Phantom Powered Microphone Input Circuit Figure 13 shows ac coupled line outputs The resistors are used to center the output signals around analog ground If d...

Page 23: ...201 746 0333 Note that using the exact data sheet frequencies is not required and that external clock sources can be used to overdrive the AD1849K s internal oscillators See the description of the MCK...

Page 24: ...ort Codec to four of Analog Devices Fixed Point DS Ps The ADSP 2111 ADSP 2101 and ADSP 2115 use their multichannel serial port for the data interface and flag outputs for D C The ADSP 2105 has a singl...

Page 25: ...single pole active filter requiring a dual op amp Though overkill for the AD1849K this input circuit will work with the AD1849K as well The AD1849K was designed to require no external low pass filter...

Page 26: ...MPLE FREQUENCY FS Figure 25 AD1849K Analog to Digital Frequency Response Transition Band Full Scale Line Level Inputs 0 dB Gain 10 120 1 0 90 110 0 1 100 0 0 60 80 70 50 30 20 0 10 40 0 8 0 9 0 7 0 6...

Page 27: ...TROL REGISTERS 11 Control Mode Control Registers 11 Data Mode Data and Control Registers 14 Control Register Defaults 16 SERIAL INTERFACE 17 Frames and Words 17 Clocks and the Serial Interface 17 Timi...

Page 28: ...0 013 0 33 0 056 1 42 0 042 1 07 0 025 0 63 0 015 0 38 0 180 4 57 0 165 4 19 0 63 16 00 0 59 14 99 0 110 2 79 0 085 2 16 0 040 1 01 0 025 0 64 0 050 1 27 BSC 0 020 0 50 R PIN 1 IDENTIFIER BOTTOM VIEW...

Reviews: