REV. A
AD1838A
–18–
30MHz
12.288MHz
SHARC IS ALWAYS
RUNNING IN SLAVE MODE
(INTERRUPT DRIVEN).
FSYNC-TDM (RFS)
RxCLK
RxDATA
TFS (NC)
TxCLK
TxDATA
ASDATA FSTDM BCLK DSDATA1
LRCLK
BCLK
DATA
MCLK
ADC NO. 2
SLAVE
SHARC
AD1838A
MASTER
MCLK
DSDATA3/AAUXDATA2
DSDATA2/AAUXDATA1
DLRCLK/AUXLRCLK
LRCLK
BCLK
DATA
MCLK
ADC NO. 3
SLAVE
LRCLK
BCLK
DATA
MCLK
ADC NO. 1
SLAVE
AAUXDATA3
DBCLK/AUXBCLK
LRCLK
BCLK
DATA
MCLK
DAC NO. 1
SLAVE
DAUXDATA
Figure 12. Auxiliary Mode Connection (Master Mode) to SHARC
30MHz
12.288MHz
SHARC IS ALWAYS
RUNNING IN SLAVE MODE
(INTERRUPT DRIVEN).
FSYNC-TDM (RFS)
RxCLK
RxDATA
TFS (NC)
TxCLK
TxDATA
ASDATA FSTDM BCLK DSDATA1
LRCLK
BCLK
DATA
MCLK
ADC NO. 2
SLAVE
SHARC
AD1838A
SLAVE
MCLK
DSDATA3/AAUXDATA2
DSDATA2/AAUXDATA1
DLRCLK/AUXLRCLK
LRCLK
BCLK
DATA
MCLK
ADC NO. 3
SLAVE
LRCLK
BCLK
DATA
MCLK
ADC NO. 1
MASTER
AAUXDATA3
DBCLK/AUXBCLK
LRCLK
BCLK
DATA
MCLK
DAC NO. 1
SLAVE
DAUXDATA
Figure 13. Auxiliary Mode Connection (Slave Mode) to SHARC
REV. A
AD1838A
–19–
CONTROL/STATUS REGISTERS
The AD1838A has 13 control registers, 11 of which are used to set
the operating mode of the part. The other two registers, ADC Peak
0 and ADC Peak 1, are read-only and should not be programmed.
Each of the registers is 10 bits wide with the exception of the ADC
peak reading registers, which are 6 bits wide. Writing to a con-
trol register requires a 16-bit data frame to be transmitted. Bits
15 to 12 are the address bits of the required register. Bit 11 is a
read/write bit. Bit 10 is reserved and should always be programmed
to 0. Bits 9 to 0 contain the 10-bit value that is to be written to
the register or, in the case of a read operation, the 10-bit register
contents. Figure 3 shows the format of the SPI read and write
operation.
DAC Control Registers
The AD1838A register map has eight registers that are used
to control the functionality of the DAC section of the part.
The function of the bits in these registers is discussed below.
Sample Rate
These bits control the sample rate of the DACs. Based on a
24.576 MHz IMCLK, sample rates of 48 kHz, 96 kHz, and
192 kHz are available. The MCLK scaling bits in ADC Con-
trol Register 3 should be programmed appropriately, based
on the master clock frequency.
Power-Down/Reset
This bit controls the power-down status of the DAC section.
By default, normal mode is selected. But by setting this bit, the
digital section of the DAC stage can be put into a low power
mode, thus reducing the digital current. The analog output
section of the DAC stage is not powered down.
DAC Data-Word Width
These two bits set the word width of the DAC data. Compact
disk (CD) compatibility may require 16 bits, but many modern
digital audio formats require 24-bit sample resolution.
DAC Data Format
The AD1838A serial data interface can be configured to be
compatible with a choice of popular interface formats, including
I
2
S, LJ, RJ, or DSP modes. Details of these interface modes
are given in the Serial Data Port section.
De-emphasis
The AD1838A provides built-in de-emphasis filtering for the
three standard sample rates of 32.0 kHz, 44.1 kHz, and 48 kHz.
Mute DAC
Each of the six DACs in the AD1838A has its own independent
mute control. Setting the appropriate bit mutes the DAC
output. The AD1838A uses a clickless mute function that attenu-
ates the output to approximately –100 dB over a number of cycles.
Stereo Replicate
Setting this bit copies the digital data sent to the stereo pair
DAC1 to the three other stereo DACs in the system. This
allows all three stereo DACs to be driven by one digital data
stream. Note that in this mode, DAC data sent to the other
DACs is ignored.
DAC Volume Control
Each DAC in the AD1838A has its own independent volume
control. The volume of each DAC can be adjusted in 1024
linear steps by programming the appropriate register. The
default value for this register is 1023, which provides no attenu-
ation, i.e., full volume.
ADC Control Registers
The AD1838A register map has five registers that are used to
control the functionality and to read the status of the ADCs. The
function of the bits in each of these registers is discussed below.
ADC Peak Level
These two registers store the peak ADC result from each channel
when the ADC peak readback function is enabled. The peak
result is stored as a 6-bit number from 0 dB to –63 dB in 1 dB
steps. The value contained in the register is reset once it has been
read, allowing for continuous level adjustment as required. Note
that the ADC peak level registers use the 6 MSB in the register
to store the results.
Sample Rate
This bit controls the sample rate of the ADCs. Based on a
24.576 MHz IMCLK, sample rates of 48 kHz and 96 kHz are
available. The MCLK scaling bits in ADC Control Register 3
should be programmed appropriately based on the master clock
frequency.
ADC Power-Down
This bit controls the power-down status of the ADC section and
operates in a similar manner to the DAC power-down.
High-Pass Filter
The ADC signal path has a digital high-pass filter. Enabling this
filter removes the effect of any dc offset in the analog input
signal from the digital output codes.
ADC Data-Word Width
These two bits set the word width of the ADC data.
ADC Data Format
The AD1838A serial data interface can be configured to be
compatible with a choice of popular interface formats, including
I
2
S, LJ, RJ, or DSP modes.
Master/Slave Auxiliary Mode
When the AD1838A is operating in the auxiliary mode, the auxil-
iary ADC control pins, AUXBCLK and AUXLRCLK, which
connect to the external ADCs, can be set to operate as a master
or slave. If the pins are set in slave mode, one of the external
ADCs should provide the LRCLK and BCLK signals.
ADC Peak Readback
Setting this bit enables ADC peak reading. See the ADCs section
for more information.
REV. A
AD1838A
–20–
Table VII. DAC Control 2
Function
MUTE DAC
Stereo
Address R/
WW
WW
W RES Reserved Replicate Reserved Reserved OUTR3 OUTL3 OUTR2 OUTL2 OUTR1 OUTL1
15, 14,
13, 12 11 10 9 8 7 6 543210
0001 0 0 0 0 = Off 0 0 0 = On 0 = On 0 = On 0 = On 0 = On 0 = On
1 = Replicate 1 = Mute 1 = Mute 1 = Mute 1 = Mute 1 = Mute 1 = Mute
Table V. Control Register Map
Register Address Register Name Description Type Width Reset Setting (Hex)
0000 DACCTRL1 DAC Control 1 R/W 10 000
0001 DACCTRL2 DAC Control 2 R/W 10 000
0010 DACVOL1 DAC Volume—Left 1 R/W 10 3FF
0011 DACVOL2 DAC Volume—Right 1 R/W 10 3FF
0100 DACVOL3 DAC Volume—Left 2 R/W 10 3FF
0101 DACVOL4 DAC Volume—Right 2 R/W 10 3FF
0110 DACVOL5 DAC Volume—Left 3 R/W 10 3FF
0111 DACVOL6 DAC Volume—Right 3 R/W 10 3FF
1000 Reserved Reserved R/W 10 Reserved
1001 Reserved Reserved R/W 10 Reserved
1010 ADCPeak0 ADC Left Peak R 6 000
1011 ADCPeak1 ADC Right Peak R 6 000
1100 ADCCTRL1 ADC Control 1 R/W 10 000
1101 ADCCTRL2 ADC Control 2 R/W 10 000
1110 ADCCTRL3 ADC Control 3 R/W 10 000
1111 Reserved Reserved R/W 10 Reserved
Table VI. DAC Control 1
Function
DAC Data DAC Data- Power-Down
Address R/W RES De-emphasis Format Word Width Reset Sample Rate
15, 14, 13, 12 11 10 9, 8 7, 6, 5 4, 3 2 1, 0
0000 0 0 00 = None 000 = I
2
S 00 = 24 Bits 0 = Normal 00 = 48 kHz
01 = 44.1 kHz 001 = RJ 01 = 20 Bits 1 = Power-Down 01 = 96 kHz
10 = 32.0 kHz 010 = DSP 10 = 16 Bits 10 = 192 kHz
11 = 48.0 kHz 011 = LJ 11 = Reserved 11 = 48 kHz
100 = Packed 256
101 = Packed 128
110 = Reserved
111 = Reserved

AD1838AASZ-REEL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Interface - CODECs IC High perf Codec
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet